Android Programming The Big Nerd Ranch Guide by Bill Phillips, Chris Stewart, Kristin Marsicano (z-lib.org)
Drawing on the map Run Locatr and press the search button. You should see your map zoom in on an area of interest that includes ...
Chapter 34 Maps Listing 34.13 Adding markers (LocatrFragment.java) private void updateUI() { ... LatLng itemPoint = new LatLng ...
For the More Curious: Teams and API Keys And with that, your little geographic image finder is complete. You learned how to use ...
Chapter 34 Maps Once you have that debug.keystore file, move it into your app module’s folder. Then open up your project struct ...
35. Material Design One of the biggest changes to Android in recent years was the introduction of a new design style: material d ...
Chapter 35 Material Design Material Surfaces As a developer, the single most important idea you should be familiar with in mate ...
Material Surfaces Instead, surfaces exist and maneuver around one another in 3-D space. They can move up toward your finger, or ...
Chapter 35 Material Design Elevation and Z values The most apparent way users will see the depth in your interface is by seeing ...
State list animators State list animators Material applications are often designed with many animated user interactions. Press a ...
Chapter 35 Material Design This is great if you need to use a property animation. If you want to perform a framed animation, yo ...
Animation Tools Animation Tools Material design introduced many nifty animations. Some of them can be achieved quickly. Others r ...
Chapter 35 Material Design The View passed in is the View you would like to reveal. In Figure 35.6, this view is a solid red vi ...
Shared element transitions Shared element transitions Another kind of animation that is new to material design is the shared ele ...
Chapter 35 Material Design Beginning in Lollipop, Android provides techniques for accomplishing a transition between activities ...
Shared element transitions In our example, we gave our activity a transparent background by using @android:style/ Theme.Transluc ...
Chapter 35 Material Design Then we defined a static method startWithTransition(...) to set the same transition name on a view t ...
View Components View Components The material design guidelines specify a few kinds of view components that were new in Lollipop. ...
Chapter 35 Material Design Once you do that, you can use CardView like any other ViewGroup in a layout. It is a FrameLayout sub ...
Floating action buttons Floating action buttons Another component you will often see is the floating action button, or FAB. You ...
Chapter 35 Material Design Listing 35.10 Laying out a floating action button <android.support.design.widget.CoordinatorLayo ...
«
27
28
29
30
31
32
33
34
35
36
»
Free download pdf