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