- Android Programming for Beginners
- John Horton
- 209字
- 2021-07-23 14:46:56
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.
- Learning Scala Programming
- Advanced Machine Learning with Python
- Software Testing using Visual Studio 2012
- SQL語言從入門到精通
- NativeScript for Angular Mobile Development
- Learning Apache Kafka(Second Edition)
- 機(jī)器學(xué)習(xí)與R語言實(shí)戰(zhàn)
- Python計(jì)算機(jī)視覺和自然語言處理
- Appcelerator Titanium:Patterns and Best Practices
- 大數(shù)據(jù)時(shí)代的企業(yè)升級(jí)之道(全3冊(cè))
- Mastering Leap Motion
- 基于MATLAB的控制系統(tǒng)仿真及應(yīng)用
- Java程序設(shè)計(jì)
- Flutter從0基礎(chǔ)到App上線
- SOA Patterns with BizTalk Server 2013 and Microsoft Azure(Second Edition)