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

Conventions

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 will see this, perhaps most distinctly, when we look at RelativeLayout later in the chapter."

A block of code is set as follows:

android:layout_below="@+id/textView"

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

<RelativeLayout xmlns:
  android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools" 
      android:layout_width="match_parent"
    android:layout_height="match_parent" 
      android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    android:paddingBottom="@dimen/activity_vertical_margin" 
      tools:context=".LayoutExperiments">

</RelativeLayout>

Any command-line input or output is written as follows:

Rambo's health =﹕ 150
Vassily's health =﹕ 50
Wellington's health =﹕ 100
Green Beret﹕ is shooting
Sniper﹕ is shooting
Sailor﹕ is shooting

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: "As we have already seen, widgets have properties that we can either set in XML or through the Properties window."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 临夏县| 望江县| 岳普湖县| 梅州市| 五常市| 称多县| 天门市| 福清市| 锡林浩特市| 汽车| 广州市| 山东| 凭祥市| 高安市| 甘德县| 临邑县| 淳安县| 衢州市| 张家界市| 诸城市| 澄迈县| 铜川市| 古交市| 磐安县| 乌拉特后旗| 通河县| 扶绥县| 长垣县| 永修县| 宜阳县| 宁德市| 安化县| 孝感市| 弋阳县| 莆田市| 东阳市| 临潭县| 德江县| 灌阳县| 全南县| 大化|