Android Programming The Big Nerd Ranch Guide by Bill Phillips, Chris Stewart, Kristin Marsicano (z-lib.org)
TalkBack Android presents a dialog asking for permission to access certain information, such as observing the user’s actions, an ...
Chapter 19 Accessibility You will notice something different right away. A green outline appears around the Up button (Figure 1 ...
Explore by Touch Explore by Touch By turning TalkBack on, you have also enabled TalkBack’s Explore by Touch mode. This means the ...
Chapter 19 Accessibility Try it out for yourself. Launch CriminalIntent and go to the crime list screen. Press on the toolbar t ...
Linear navigation by swiping Now swipe right. Accessibility focus moves to the new crime button in the toolbar. TalkBack announc ...
Chapter 19 Accessibility Making Non-Text Elements Readable by TalkBack Now, press the new crime button in the toolbar. This giv ...
Adding content descriptions You can set a widget’s content description in the XML layout file by setting a value for the attribu ...
Chapter 19 Accessibility Making a widget focusable The problem is that the ImageView is not registered to receive focus. Some w ...
Creating a Comparable Experience Creating a Comparable Experience You should specify a content description for any UI widget tha ...
Chapter 19 Accessibility Run CriminalIntent. View the crime detail screen for the crime you just added a photo to. Press on the ...
Using labels to provide context Using labels to provide context Before moving on, give your new crime a title. Press on the titl ...
Chapter 19 Accessibility However, there is a problem. To see it for yourself, enter the title “Sticker vandalism.” Then press o ...
Using labels to provide context The android:labelFor attribute tells TalkBack that the TextView serves as a label to the view sp ...
Chapter 19 Accessibility For the More Curious: Using Accessibility Scanner In this chapter you focused on making your app more ...
For the More Curious: Using Accessibility Scanner Press the check mark, and the Accessibility Scanner will go to work. You will ...
Chapter 19 Accessibility The ImageView, EditText, and CheckBox have outlines around them. This indicates that the scanner found ...
Challenge: Improving the List Challenge: Improving the List On the crime list screen, TalkBack reads the title and date of each ...
Chapter 19 Accessibility mSomeView.postDelayed(new Runnable() { @Override public void run() { // Code for making announcement g ...
20. Data Binding and MVVM In GeoQuiz and CriminalIntent, you used the standard Android tools to build out your app: a model you ...
Chapter 20 Data Binding and MVVM Different Architectures: Why Bother? Every app you have written so far has used a simple versi ...
«
15
16
17
18
19
20
21
22
23
24
»
Free download pdf