|
74 | 74 | <TextView
|
75 | 75 | android:layout_width="wrap_content"
|
76 | 76 | android:layout_height="30dp"
|
77 |
| - android:layout_gravity="start" |
| 77 | + android:gravity="center_vertical" |
78 | 78 | android:text="@string/ax"
|
79 |
| - android:textAlignment="textStart" |
80 | 79 | android:textColor="@color/black"
|
81 | 80 | android:textSize="@dimen/sensor_body_font"
|
82 | 81 | android:textStyle="bold" />
|
83 | 82 |
|
84 | 83 | <TextView
|
85 | 84 | android:layout_width="wrap_content"
|
86 | 85 | android:layout_height="30dp"
|
87 |
| - android:layout_gravity="start" |
| 86 | + android:gravity="center_vertical" |
88 | 87 | android:text="@string/ay"
|
89 |
| - android:textAlignment="textStart" |
90 | 88 | android:textColor="@color/black"
|
91 | 89 | android:textSize="@dimen/sensor_body_font"
|
92 | 90 | android:textStyle="bold" />
|
93 | 91 |
|
94 | 92 | <TextView
|
95 | 93 | android:layout_width="wrap_content"
|
96 | 94 | android:layout_height="30dp"
|
97 |
| - android:layout_gravity="start" |
| 95 | + android:gravity="center_vertical" |
98 | 96 | android:text="@string/az"
|
99 |
| - android:textAlignment="textStart" |
100 | 97 | android:textColor="@color/black"
|
101 | 98 | android:textSize="@dimen/sensor_body_font"
|
102 | 99 | android:textStyle="bold" />
|
103 | 100 |
|
104 | 101 | <TextView
|
105 | 102 | android:layout_width="wrap_content"
|
106 | 103 | android:layout_height="30dp"
|
107 |
| - android:layout_gravity="start" |
| 104 | + android:gravity="center_vertical" |
108 | 105 | android:text="@string/temp"
|
109 |
| - android:textAlignment="textStart" |
110 | 106 | android:textColor="@color/black"
|
111 | 107 | android:textSize="@dimen/sensor_body_font"
|
112 | 108 | android:textStyle="bold" />
|
|
121 | 117 |
|
122 | 118 | <TextView
|
123 | 119 | android:id="@+id/tv_sensor_mpu925x_ax"
|
124 |
| - android:layout_width="wrap_content" |
125 |
| - android:layout_height="30dp" |
126 |
| - android:layout_gravity="start" |
| 120 | + android:layout_width="@dimen/tv_sensor_width" |
| 121 | + android:layout_height="@dimen/tv_sensor_height" |
127 | 122 | android:background="@drawable/tv_border"
|
128 |
| - android:textAlignment="textStart" |
| 123 | + android:gravity="center" |
129 | 124 | android:textColor="@color/black"
|
130 | 125 | android:textSize="@dimen/sensor_body_font"
|
131 | 126 | android:textStyle="bold" />
|
132 | 127 |
|
133 | 128 | <TextView
|
134 | 129 | android:id="@+id/tv_sensor_mpu925x_ay"
|
135 |
| - android:layout_width="wrap_content" |
136 |
| - android:layout_height="30dp" |
137 |
| - android:layout_gravity="start" |
| 130 | + android:layout_width="@dimen/tv_sensor_width" |
| 131 | + android:layout_height="@dimen/tv_sensor_height" |
138 | 132 | android:background="@drawable/tv_border"
|
139 |
| - android:textAlignment="textStart" |
| 133 | + android:gravity="center" |
140 | 134 | android:textColor="@color/black"
|
141 | 135 | android:textSize="@dimen/sensor_body_font"
|
142 | 136 | android:textStyle="bold" />
|
143 | 137 |
|
144 | 138 | <TextView
|
145 | 139 | android:id="@+id/tv_sensor_mpu925x_az"
|
146 |
| - android:layout_width="wrap_content" |
147 |
| - android:layout_height="30dp" |
148 |
| - android:layout_gravity="start" |
| 140 | + android:layout_width="@dimen/tv_sensor_width" |
| 141 | + android:layout_height="@dimen/tv_sensor_height" |
149 | 142 | android:background="@drawable/tv_border"
|
150 |
| - android:textAlignment="textStart" |
| 143 | + android:gravity="center" |
151 | 144 | android:textColor="@color/black"
|
152 | 145 | android:textSize="@dimen/sensor_body_font"
|
153 | 146 | android:textStyle="bold" />
|
154 | 147 |
|
155 | 148 | <TextView
|
156 | 149 | android:id="@+id/tv_sensor_mpu925x_temp"
|
157 |
| - android:layout_width="wrap_content" |
158 |
| - android:layout_height="30dp" |
159 |
| - android:layout_gravity="start" |
| 150 | + android:layout_width="@dimen/tv_sensor_width" |
| 151 | + android:layout_height="@dimen/tv_sensor_height" |
160 | 152 | android:background="@drawable/tv_border"
|
161 |
| - android:textAlignment="textStart" |
| 153 | + android:gravity="center" |
162 | 154 | android:textColor="@color/black"
|
163 | 155 | android:textSize="@dimen/sensor_body_font"
|
164 | 156 | android:textStyle="bold" />
|
|
174 | 166 | <TextView
|
175 | 167 | android:layout_width="wrap_content"
|
176 | 168 | android:layout_height="30dp"
|
177 |
| - android:layout_gravity="start" |
| 169 | + android:gravity="center_vertical" |
178 | 170 | android:text="@string/gx"
|
179 |
| - android:textAlignment="textStart" |
180 | 171 | android:textColor="@color/black"
|
181 | 172 | android:textSize="@dimen/sensor_body_font"
|
182 | 173 | android:textStyle="bold" />
|
183 | 174 |
|
184 | 175 | <TextView
|
185 | 176 | android:layout_width="wrap_content"
|
186 | 177 | android:layout_height="30dp"
|
187 |
| - android:layout_gravity="start" |
| 178 | + android:gravity="center_vertical" |
188 | 179 | android:text="@string/gy"
|
189 |
| - android:textAlignment="textStart" |
190 | 180 | android:textColor="@color/black"
|
191 | 181 | android:textSize="@dimen/sensor_body_font"
|
192 | 182 | android:textStyle="bold" />
|
193 | 183 |
|
194 | 184 | <TextView
|
195 | 185 | android:layout_width="wrap_content"
|
196 | 186 | android:layout_height="30dp"
|
197 |
| - android:layout_gravity="start" |
| 187 | + android:gravity="center_vertical" |
198 | 188 | android:text="@string/gz"
|
199 |
| - android:textAlignment="textStart" |
200 | 189 | android:textColor="@color/black"
|
201 | 190 | android:textSize="@dimen/sensor_body_font"
|
202 | 191 | android:textStyle="bold" />
|
|
211 | 200 |
|
212 | 201 | <TextView
|
213 | 202 | android:id="@+id/tv_sensor_mpu925x_gx"
|
214 |
| - android:layout_width="wrap_content" |
215 |
| - android:layout_height="30dp" |
216 |
| - android:layout_gravity="start" |
| 203 | + android:layout_width="@dimen/tv_sensor_width" |
| 204 | + android:layout_height="@dimen/tv_sensor_height" |
217 | 205 | android:background="@drawable/tv_border"
|
218 |
| - android:textAlignment="textStart" |
| 206 | + android:gravity="center" |
219 | 207 | android:textColor="@color/black"
|
220 | 208 | android:textSize="@dimen/sensor_body_font"
|
221 | 209 | android:textStyle="bold" />
|
222 | 210 |
|
223 | 211 | <TextView
|
224 | 212 | android:id="@+id/tv_sensor_mpu925x_gy"
|
225 |
| - android:layout_width="wrap_content" |
226 |
| - android:layout_height="30dp" |
227 |
| - android:layout_gravity="start" |
| 213 | + android:layout_width="@dimen/tv_sensor_width" |
| 214 | + android:layout_height="@dimen/tv_sensor_height" |
228 | 215 | android:background="@drawable/tv_border"
|
229 |
| - android:textAlignment="textStart" |
| 216 | + android:gravity="center" |
230 | 217 | android:textColor="@color/black"
|
231 | 218 | android:textSize="@dimen/sensor_body_font"
|
232 | 219 | android:textStyle="bold" />
|
233 | 220 |
|
234 | 221 | <TextView
|
235 | 222 | android:id="@+id/tv_sensor_mpu925x_gz"
|
236 |
| - android:layout_width="wrap_content" |
237 |
| - android:layout_height="30dp" |
238 |
| - android:layout_gravity="start" |
| 223 | + android:layout_width="@dimen/tv_sensor_width" |
| 224 | + android:layout_height="@dimen/tv_sensor_height" |
239 | 225 | android:background="@drawable/tv_border"
|
240 |
| - android:textAlignment="textStart" |
| 226 | + android:gravity="center" |
241 | 227 | android:textColor="@color/black"
|
242 | 228 | android:textSize="@dimen/sensor_body_font"
|
243 | 229 | android:textStyle="bold" />
|
|
0 commit comments