Profile

Cover photo
Nick Butcher
Works at Google
56,201 followers|6,548,915 views
AboutPostsPhotosYouTubeReviews

Stream

Nick Butcher

Shared publicly  - 
 
 
We’ve just launched a brand new +Udacity course: Android Design for Developers.

Join your instructors +Roman Nurik, +Nick Butcher and +James Williams to learn the principles of #materialdesign: tangible surfaces, bold graphic design, meaningful motion and adaptive design and how to implement them. goo.gl/design/adfd

Read more about it in our latest blog post: http://goo.gl/ehhHCc

#AndroidDev #AndroidDesign
8 comments on original post
30
7
Huyen Tue Dao's profile photoFaisal Bin Khalid's profile photo
Add a comment...

Nick Butcher

Shared publicly  - 
 
Sweet, a tool for helping create 'morphable' shape animations by +Stefano Bonetta!

https://github.com/bonnyfone/vectalign

When animating the pathData between two shapes, AnimatedVectorDrawable requires that the start and end images use the same type and number of drawing commands, this tool helps you to create/massage shapes to be compatible.

#AndroidDev  
146
68
Cássio Oliveira's profile photoHuyen Tue Dao's profile photoYashwanth Sandeep's profile photoZhilu Shi's profile photo
5 comments
 
Hi +John Ruble​, since this is an experimental tool there is room for lots of fix and improvements. At the moment you need to play around a bit to get a good result, but is better than nothing ;-) Thanks for the feedback! 
Add a comment...

Nick Butcher

Shared publicly  - 
 
An awesome use of the data-binding¹ library and a neat alternative to extending TextView.  Also check out +Roman Nurik's example² of plugging in remote image support to ImageView that he shared in our Droidcon talk last week³.

¹: https://developer.android.com/tools/data-binding/

²: https://photos.google.com/share/AF1QipNfCpwn9k-8vwAroqXaBu4fkYknSKp9G_ls7ovBuJAoTTO-ghso_w9eVdmZkj0Gcg/photo/AF1QipMGUjn76pt6-2OYTvmQ-tWoLuNb-dEtMOIeZibl?key=NUc2YURPaktqSzFSNER3VER5NEFzbm9TcnFlX053 ³: https://www.youtube.com/watch?v=ssayKH0tudk
 
Android pro tip: One-line custom fonts in XML with data binding!

I started playing with data binding last night for real, and I'm amazed by the power it gives you.  Check out this one-liner to set a custom font on a TextView:

@BindingAdapter({"bind:font"})
public static void setFont(TextView textView, String fontName){
 textView.setTypeface(Typeface.createFromAsset(textView.getContext().getAssets(), "fonts/" + fontName));
}

In XML:
<TextView
app:font="@{`Source-Sans-Pro-Regular.ttf`}"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>

Previously, this used to take endless lines of repetitive Java code (one for each TextView!). The missing custom typeface support in TextView has been a grievance held against the Android platform for years.  There's even an inventive library to address it[2]. Data binding makes all of that obselete.  If you can't tell, I'm in love!!  It's terse, powerful, and one of the biggest leaps forward I've seen for Android productivity.

As usual, you need to put your font file in assets/fonts/, and make sure to include the data binding framework.

[1] https://developer.android.com/tools/data-binding/guide.html
[2] Calligraphy: https://github.com/chrisjenx/Calligraphy
16 comments on original post
79
38
Saif Chaouachi's profile photoFrancisco Evangilo's profile photoJorge Castillo Pérez's profile photoBen Murphy's profile photo
6 comments
 
+Stephan Schmitz Yep :)
Add a comment...

Nick Butcher

Shared publicly  - 
 
 
An in-depth look at the new Google brand identity. g.co/design/google-id 
56 comments on original post
67
15
Akshay Kulkarni's profile photoArnav Mishra's profile photo
Add a comment...

Nick Butcher

Shared publicly  - 
 
 
This morning at #DroidconNYC , +Nick Butcher, +Chris Banes and I delivered a talk titled What's New in Android UI Engineering, covering Android 6.0 Marshmallow, new support libraries, upcoming tooling updates, and more! Check out the slides + videos in this slideshow.

#AndroidDesign #AndroidDev
21 comments on original post
49
13
Ferran Pons Sanchez's profile photoVikarti Anatra's profile photoInmaculada Alcón (InmaculadaAlcon)'s profile photokishansinh parmar's profile photo
2 comments
Jolas L
 
+Nick Butcher Thanks for sharing. Can u please share your talk video too. It will be very useful for us.
Add a comment...

Nick Butcher

Shared publicly  - 
 
 
In my new tradition of documenting things through StackOverflow. Here's one I made earlier:

How to change a Spinner's dropdown theme on devices running API v7+

#AndroidDev
8 comments on original post
47
9
Jimmy Leonardo's profile photoKrzysztof Turek's profile photoroger alien's profile photoDario Mungoi's profile photo
 
that is genius. now, google searches can prioritize the answer! :D
Add a comment...
In his circles
518 people
Have him in circles
56,201 people
Franklin Castellanos's profile photo
Dearea Holmes's profile photo
Serdar Çiçek's profile photo
Michael Gaouette's profile photo
Manny Vendetta's profile photo
Huabing Wang's profile photo
christopher coleman's profile photo
Wesley Wiser's profile photo
Nguyện Nguyễn Bá's profile photo

Nick Butcher

Shared publicly  - 
 
Looks handy if you want interactive-springy animations.

https://github.com/tumblr/Backboard

Thanks +Tumblr  #AndroidDev  
40
17
Felipe Calderon Barragan's profile photoDave Keller's profile photoOmar Tosca's profile photoPeter Scully's profile photo
 
Haha that's funny, I've just made a post about that today morning ;) What a timing ;)
Add a comment...

Nick Butcher

Shared publicly  - 
 
VectorDrawable support is huge and the new tools in Android Studio + Gradle Plugin 1.4 (both currently in beta) mean that you can start using them right now.  If you haven't seen these new tools then check out this walk through of them.

Why is this so important? Because devices like the Sony Z5 Premium with a 5.5" 4K screen exist.  That's ~800dpi (or drawable-gtfo).  Time to get on the vector train.

Update: There are some restrictions in the vector→raster support in the beta; namely groups and clip-paths are not supported yet.  More details here: https://plus.google.com/u/0/+MichaelPanzer/posts/hfpHRH1gj9J h/t +Michael Panzer 
70
19
Cristian Garcia's profile photoPinky Desai's profile photoDaniel Ciao's profile photoRami Debab's profile photo
19 comments
 
Thanks for your answer, +Nick Butcher .
It makes sense, so now we can have vector version for modern phones, which are often lighter, and obviously resolution independant, and rasterized version for older phones, perhaps limiting them to a few version to spare application size...
Add a comment...

Nick Butcher

Shared publicly  - 
 
Sydney #AndroidDev s, go see what's new in Android UI engineering & specifically the Android Support Libraries with +Chris Banes (who knows a thing or two about them).
 
Using the support library? Have a question that no one can answer? Now's your chance to ask +Chris Banes! There are still a few spots left for his GDG talk next week.

It is important to RSVP since the meetup this month will be at the Fairfax building, and we need to provide security with the attendee list. #AndroidDev  

http://www.meetup.com/gdgsydney/events/224552517/
Googler Chris Banes will be making a trip to Sydney in September and has kindly offered to give a talk at our GDG, the topic will be around Material design + design support library.  https://plus.google.com/u/0/+ChrisBanes/posts This will be an informative session that any Android developer would be a fool to miss! This event will not be held at the usual GDG Sydney location (Accenture building), this event will be in the other Google building (...
View original post
21
2
Fung LAM (Seventh Moon)'s profile photoYashwanth Sandeep's profile photo
Add a comment...

Nick Butcher

Shared publicly  - 
 
That G look familiar?
As Sergey and I wrote in the original founders letter 11 years ago, “Google is not a conventional company. We do not intend to become one.” As part of that, we also said that you could expect us to make “smaller bets in areas that might seem very speculative or even strange when compared to our ...
96
4
Chris Pick's profile photoSebastian Rank's profile photoAlexander Lent's profile photoMunah Ahmed's profile photo
5 comments
 
Yep and that was predictable.
Add a comment...

Nick Butcher

Shared publicly  - 
30
7
Neal Sanche's profile photoAlexander Urriola's profile photoPierre-Antoine LaFayette's profile photoFerran Pons Sanchez's profile photo
3 comments
 
Like
Add a comment...

Nick Butcher

Shared publicly  - 
 
Neat!  Discover what podcasts nearby folk listen to in the latest Pocket Casts update.

Should be handy next week at +Droidcon NYC to find out that we all listen to Fragmented ;)
We live life in the fast lane. Not just us, you too Fred, and you, Sally. When was the last time you stopped to smell the roses, or made time to connect with someone? Introducing, Nearby for Pocket...
63
4
souleymane sidibe's profile photoPierre-Antoine LaFayette's profile photoMartin Rajniak's profile photoDiogo Bittencourt's profile photo
6 comments
 
Cool idea, but....

If I'm reading this right, this seems to only work when both (all) parties involved are actively looking at the "Nearby" tab.  You'd need to be a) with someone who b) uses the same podcast app as you,  c) you know this, d) you ask them to fire up their app, e) you both go to this same view of the app.  How often is that going to happen?  

It would seem niftier if I could just have the choice of setting my subscription list to public/anonymous, and then anyone passing nearby could see the podcasts I listen to (possibly w/o my actual name or login id shown).
Add a comment...
People
In his circles
518 people
Have him in circles
56,201 people
Franklin Castellanos's profile photo
Dearea Holmes's profile photo
Serdar Çiçek's profile photo
Michael Gaouette's profile photo
Manny Vendetta's profile photo
Huabing Wang's profile photo
christopher coleman's profile photo
Wesley Wiser's profile photo
Nguyện Nguyễn Bá's profile photo
Work
Employment
  • Google
    Android Developer Advocate, present
Story
Tagline
Android Developer Advocate / Triatha-geek
Introduction
I work at Google helping people to make awesome Android apps.

In my spare time I like to run and occasionally do triathlons.
Basic Information
Gender
Male
Excellent service!
Public - 2 years ago
reviewed 2 years ago
12 reviews
Map
Map
Map