Conventions

All screenshots, shortcuts and other elements that are specific for Android Studio are based on Android Studio for OSX.

The main reason that OSX is being used is because it allows us to develop apps for both Android and iOS on the same machine. Other than that there is no reason to choose a particular OS other than your personal (or companies) preferences.

While the screenshots are based on Android Studio for OSX it is not too difficult for you to figure things out in case your OS is Windows or Linux.

Where needed the short cuts for Windows are mentioned as well.

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: "We can include other contexts through the use of the include directive."

A block of code is set as follows:

public void onSectionAttached(int number) {
    switch (number) {
        case 0:
            mTitle = getString(  
             R.string.title_section_daily_notes);
            break;

        case 1:
            mTitle = getString( 
             R.string.title_section_note_list);
             break;
    }
}

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: "Clicking the Next button moves you to the next screen."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset