官术网_书友最值得收藏!

  • Android Studio Cookbook
  • Mike van Drongelen
  • 260字
  • 2021-07-09 21:27:36

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.

主站蜘蛛池模板: 德江县| 珠海市| 葫芦岛市| 公主岭市| 郧西县| 南京市| 余江县| 鹤壁市| 镶黄旗| 石嘴山市| 永寿县| 铜鼓县| 江源县| 新乡县| 和平区| 威宁| 广安市| 正宁县| 玉林市| 建德市| 水城县| 黄平县| 武义县| 台南市| 综艺| 金乡县| 东辽县| 东丽区| 临漳县| 保康县| 宜宾县| 宁武县| 尼玛县| 玉龙| 海淀区| 准格尔旗| 宜丰县| 鸡东县| 通山县| 襄樊市| 古田县|