Profile cover photo
Profile photo
John Hoford
Have Fun
Have Fun

John Hoford's interests
View all
John Hoford's posts

Post has shared content

Post has shared content
One year ago, Google introduced ConstraintLayout. This Feburary the final version of 1.0 was released.

Yesterday at their IO talk +Nicolas Roard and +John Hoford introduced interesting new features of the coming 1.1 version.

If you haven't done so already, it's definitely time to give the ConstraintLayout a closer look. It's time to use it for new screens from here on.

And there's this new site dedicated to help you getting up to speed with it:

Initiated by +Mark Allison it's a community led site dedicated to explain and introduce ConstraintLayout and to help you find solutions for common tasks or problems.

cc: +Sebastiano Poggi +Wiebe Elsinga +Taylor Ling +Huyen Tue Dao +Hugo Visser

Post has attachment

Post has attachment

Post has attachment
A beautifully subtle spoof on the corporate commercial.

Post has shared content
cool pictures.
Thanks to +U.S. Department of State Secretary Kerry for stopping by and taking a look at our prototype vehicle!
2016 Global Entrepreneurship Summit
2 Photos - View album

Post has shared content

Post has shared content
We always strive for staying up to date.

ConstraintLayout was announced at Google IO less than two weeks ago. We put together some of its nicest features & we ran a few performance tests as well. What did we find? Check out our post!

#ConstraintLayout   #Android   #WanariLeaks  

Post has shared content
First Impressions of Android's New Constraint Layout

After Google IO, the Android GDE team got together to gather our thoughts about the most significant announcements from the conference…

#gde #android #blogpost  

Post has shared content
One of the interesting thing we can build on top of #ConstraintLayout  are virtual helper objects -- elements that will be present in the UI builder to help you create the UI layout you want, but do not have to appear later on in the view hierarchy: their role is limited to creating the right constraints.

We have many, many ideas of helpers we will expose in future versions, but we did include at least one in the current alpha2: Guidelines.

(on that note, do remember to update your Android Studio 2.2 preview from the canary, and to constraintlayout alpha 2 -- new versions appear regularly!

You can create horizontal or vertical guidelines on the root ConstraintLayout element, and those can be positioned either relatively to one side (left/top/right/bottom) on a fixed distance, or as a percentage of the side they belong to. Once created, simply attach elements to them, and that's all you have to do.

As often with ConstraintLayout, there are more than one way to position elements. Guidelines are not a necessity, but simply provides another way of expressing your layout intent, and can makes things a lot more understandable -- remember, what we really are setting up in a ConstraintLayout is the flow of relations between all the elements.

#Android   #androiddev   #ConstraintLayout   #AndroidStudio  
Animated Photo
Wait while more posts are being loaded