|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
3 | | - android:layout_width="match_parent" |
4 | | - android:layout_height="match_parent" |
| 3 | + android:layout_width="fill_parent" |
| 4 | + android:layout_height="fill_parent" |
5 | 5 | > |
6 | 6 | <ScrollView |
7 | | - android:layout_width="match_parent" |
8 | | - android:layout_height="match_parent" |
| 7 | + android:layout_width="fill_parent" |
| 8 | + android:layout_height="fill_parent" |
9 | 9 | > |
10 | 10 | <LinearLayout |
11 | 11 | android:orientation="vertical" |
12 | | - android:layout_width="match_parent" |
13 | | - android:layout_height="match_parent" |
| 12 | + android:layout_width="fill_parent" |
| 13 | + android:layout_height="fill_parent" |
14 | 14 | > |
15 | 15 | <Button |
16 | 16 | android:id="@+id/sensorsaccel" |
17 | | - android:layout_width="match_parent" |
| 17 | + android:layout_width="fill_parent" |
18 | 18 | android:layout_height="wrap_content" |
19 | 19 | android:paddingTop="5dp" |
20 | 20 | android:paddingBottom="5dp" |
21 | 21 | android:text="Sensor - Accelerometer" |
22 | 22 | /> |
23 | 23 | <Button |
24 | 24 | android:id="@+id/sensorgyroscope" |
25 | | - android:layout_width="match_parent" |
| 25 | + android:layout_width="fill_parent" |
26 | 26 | android:layout_height="wrap_content" |
27 | 27 | android:paddingTop="5dp" |
28 | 28 | android:paddingBottom="5dp" |
29 | 29 | android:text="Sensor - Gyroscope" |
30 | 30 | /> |
31 | 31 | <Button |
32 | 32 | android:id="@+id/sensorrotate" |
33 | | - android:layout_width="match_parent" |
| 33 | + android:layout_width="fill_parent" |
34 | 34 | android:layout_height="wrap_content" |
35 | 35 | android:paddingTop="5dp" |
36 | 36 | android:paddingBottom="5dp" |
37 | 37 | android:text="Sensor - Rotational Vector" |
38 | 38 | /> |
39 | 39 | <Button |
40 | 40 | android:id="@+id/sensorlinear" |
41 | | - android:layout_width="match_parent" |
| 41 | + android:layout_width="fill_parent" |
42 | 42 | android:layout_height="wrap_content" |
43 | 43 | android:paddingTop="5dp" |
44 | 44 | android:paddingBottom="5dp" |
45 | 45 | android:text="Sensor - Linear Acceleration" |
46 | 46 | /> |
47 | 47 | <Button |
48 | 48 | android:id="@+id/sensorgravity" |
49 | | - android:layout_width="match_parent" |
| 49 | + android:layout_width="fill_parent" |
50 | 50 | android:layout_height="wrap_content" |
51 | 51 | android:paddingTop="5dp" |
52 | 52 | android:paddingBottom="5dp" |
53 | 53 | android:text="Sensor - Gravity" |
54 | 54 | /> |
55 | 55 | <Button |
56 | 56 | android:id="@+id/sensorlight" |
57 | | - android:layout_width="match_parent" |
| 57 | + android:layout_width="fill_parent" |
58 | 58 | android:layout_height="wrap_content" |
59 | 59 | android:paddingTop="5dp" |
60 | 60 | android:paddingBottom="5dp" |
61 | 61 | android:text="Sensor - Light" |
62 | 62 | /> |
63 | 63 | <Button |
64 | 64 | android:id="@+id/sensormagnetic" |
65 | | - android:layout_width="match_parent" |
| 65 | + android:layout_width="fill_parent" |
66 | 66 | android:layout_height="wrap_content" |
67 | 67 | android:paddingTop="5dp" |
68 | 68 | android:paddingBottom="5dp" |
69 | 69 | android:text="Sensor - Magnetic" |
70 | 70 | /> |
71 | 71 | <Button |
72 | 72 | android:id="@+id/sensorpressure" |
73 | | - android:layout_width="match_parent" |
| 73 | + android:layout_width="fill_parent" |
74 | 74 | android:layout_height="wrap_content" |
75 | 75 | android:paddingTop="5dp" |
76 | 76 | android:paddingBottom="5dp" |
77 | 77 | android:text="Sensor - Pressure" |
78 | 78 | /> |
79 | 79 | <Button |
80 | 80 | android:id="@+id/sensorproximity" |
81 | | - android:layout_width="match_parent" |
| 81 | + android:layout_width="fill_parent" |
82 | 82 | android:layout_height="wrap_content" |
83 | 83 | android:paddingTop="5dp" |
84 | 84 | android:paddingBottom="5dp" |
85 | 85 | android:text="Sensor - Proximity" |
86 | 86 | /> |
87 | 87 | <Button |
88 | 88 | android:id="@+id/sensortemp" |
89 | | - android:layout_width="match_parent" |
| 89 | + android:layout_width="fill_parent" |
90 | 90 | android:layout_height="wrap_content" |
91 | 91 | android:paddingTop="5dp" |
92 | 92 | android:paddingBottom="5dp" |
93 | 93 | android:text="Sensor - Temperature" |
94 | 94 | /> |
95 | 95 | <Button |
96 | 96 | android:id="@+id/gesture" |
97 | | - android:layout_width="match_parent" |
| 97 | + android:layout_width="fill_parent" |
98 | 98 | android:layout_height="wrap_content" |
99 | 99 | android:paddingTop="5dp" |
100 | 100 | android:paddingBottom="5dp" |
101 | 101 | android:text="Gesture Input" |
102 | 102 | /> |
103 | 103 | <Button |
104 | 104 | android:id="@+id/nfc233" |
105 | | - android:layout_width="match_parent" |
| 105 | + android:layout_width="fill_parent" |
106 | 106 | android:layout_height="wrap_content" |
107 | 107 | android:paddingTop="5dp" |
108 | 108 | android:paddingBottom="5dp" |
109 | 109 | android:text="NFC - 2.3.3" |
110 | 110 | /> |
| 111 | + <Button |
| 112 | + android:id="@+id/nfc40" |
| 113 | + android:layout_width="fill_parent" |
| 114 | + android:layout_height="wrap_content" |
| 115 | + android:paddingTop="5dp" |
| 116 | + android:paddingBottom="5dp" |
| 117 | + android:text="NFC - 4.0 (Beam Example)" |
| 118 | + /> |
111 | 119 | </LinearLayout> |
112 | 120 | </ScrollView> |
113 | 121 | </FrameLayout> |
0 commit comments