1 |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2 |
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
|
3 |
android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
|
4 |
android:paddingRight="@dimen/activity_horizontal_margin"
|
5 |
android:paddingTop="@dimen/activity_vertical_margin"
|
6 |
android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity">
|
7 |
|
8 |
<TextView android:text="@string/hello_world" android:layout_width="wrap_content"
|
9 |
android:id="@+id/textView"
|
10 |
android:layout_height="wrap_content" />
|
11 |
|
12 |
<Button
|
13 |
android:layout_width="wrap_content"
|
14 |
android:layout_height="wrap_content"
|
15 |
android:text="New Button"
|
16 |
android:id="@+id/button"
|
17 |
android:layout_below="@+id/textView"
|
18 |
android:layout_alignParentLeft="true"
|
19 |
android:layout_alignParentStart="true" />
|
20 |
|
21 |
<TextView
|
22 |
android:layout_width="wrap_content"
|
23 |
android:layout_height="wrap_content"
|
24 |
android:textAppearance="?android:attr/textAppearanceLarge"
|
25 |
android:text="Large Text"
|
26 |
android:id="@+id/scan_format"
|
27 |
android:layout_below="@+id/button"
|
28 |
android:layout_alignParentLeft="true"
|
29 |
android:layout_alignParentStart="true" />
|
30 |
|
31 |
<TextView
|
32 |
android:layout_width="wrap_content"
|
33 |
android:layout_height="wrap_content"
|
34 |
android:textAppearance="?android:attr/textAppearanceLarge"
|
35 |
android:text="Large Text"
|
36 |
android:id="@+id/scan_content"
|
37 |
android:layout_below="@+id/scan_format"
|
38 |
android:layout_alignParentLeft="true"
|
39 |
android:layout_alignParentStart="true" />
|
40 |
|
41 |
</RelativeLayout>
|
42 |
<!-- From: file:/C:/Users/thn/AndroidStudioProjects/BarcodeSample/app/src/main/res/layout/activity_main.xml --> |