Android Programming The Big Nerd Ranch Guide by Bill Phillips, Chris Stewart, Kristin Marsicano (z-lib.org)
Minimum SDK version Minimum SDK version The minSdkVersion value is a hard floor below which the OS should refuse to install the ...
Chapter 6 Android SDK Versions and Compatibility Adding code from later APIs safely The difference between GeoQuiz’s minimum SD ...
Adding code from later APIs safely After you enter the code in Listing 6.2, Android Lint should immediately present you with a w ...
Chapter 6 Android SDK Versions and Compatibility You can also run GeoQuiz on a KitKat device (virtual or otherwise). It will no ...
Using the Android Developer Documentation Figure 6.2 ViewAnimationUtils reference page Scroll down, find the createCircularReve ...
Chapter 6 Android SDK Versions and Compatibility Challenge: Reporting the Build Version Add a TextView widget to the GeoQuiz la ...
7. UI Fragments and the Fragment Manager In this chapter, you will start building an application named CriminalIntent. CriminalI ...
Chapter 7 UI Fragments and the Fragment Manager The Need for UI Flexibility You might imagine that a list-detail application co ...
Introducing Fragments Introducing Fragments You can get around the letter of the Android law by moving the app’s UI management f ...
Chapter 7 UI Fragments and the Fragment Manager Starting CriminalIntent In this chapter, you are going to start on the detail p ...
Starting CriminalIntent For now, think of hosting as the activity providing a spot in its view hierarchy where the fragment can ...
Chapter 7 UI Fragments and the Fragment Manager CriminalIntent will be a large project, and one way to keep your head wrapped a ...
Creating a new project Creating a new project Enough talk; time to build a new app. Create a new Android application (File → New ...
Chapter 7 UI Fragments and the Fragment Manager In the final step of the New Project wizard, name the activity CrimeActivity an ...
Adding dependencies in Android Studio Adding dependencies in Android Studio You will use the implementation of fragments that co ...
Chapter 7 UI Fragments and the Fragment Manager Select the app module on the left and the Dependencies tab in the app module. T ...
Adding dependencies in Android Studio Navigate back to the editor window showing app/build.gradle, and you should now see AppCom ...
Chapter 7 UI Fragments and the Fragment Manager Creating the Crime class In the project tool window, right-click the com.bigner ...
Creating the Crime class Next, you want to generate a getter for the read-only mId and both a getter and setter for mTitle, mDat ...
Chapter 7 UI Fragments and the Fragment Manager Hosting a UI Fragment To host a UI fragment, an activity must: define a spot i ...
«
3
4
5
6
7
8
9
10
11
12
»
Free download pdf