-
Book Overview & Buying
-
Table Of Contents
Creating Dynamic UIs with Android Fragments - Second Edition
By :
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "To create a fragment for the book list, we will define a new layout resource file called fragment_book_list.xml."
A block of code is set as follows:
public class BookListFragment extends Fragment
implements RadioGroup.OnCheckedChangeListener {
@Override
public void onCheckedChanged(RadioGroup radioGroup, int id) {
}
// Other members elided for clarity
}When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
public class BookListFragment extends Fragment
implements RadioGroup.OnCheckedChangeListener {
@Override
public void onCheckedChanged(RadioGroup radioGroup, int id) {
}
// Other members elided for clarity
}New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "In Android Studio, we associate a resource file with this qualifier by selecting Screen Height in the New Resource File dialog."
Warnings or important notes appear in a box like this.
Tips and tricks appear like this.
Change the font size
Change margin width
Change background colour