|
298 | 298 | android:layout_height="wrap_content"
|
299 | 299 | android:layout_gravity="center"
|
300 | 300 | android:layout_marginBottom="8dp"
|
301 |
| - android:visibility="gone" |
302 | 301 | app:cardBackgroundColor="@color/list_download_item_color_dark"
|
303 | 302 | app:cardUseCompatPadding="true">
|
304 | 303 |
|
305 | 304 | <LinearLayout
|
306 |
| - android:id="@+id/about_reset_app_view" |
307 | 305 | android:layout_width="fill_parent"
|
308 | 306 | android:layout_height="wrap_content"
|
309 |
| - android:background="?android:attr/selectableItemBackground" |
310 |
| - android:clickable="true" |
311 |
| - android:focusable="true" |
312 |
| - android:gravity="center_vertical" |
313 |
| - android:minHeight="48dp" |
314 |
| - android:orientation="horizontal" |
315 |
| - android:paddingLeft="16dp" |
316 |
| - android:paddingRight="16dp"> |
317 |
| - |
318 |
| - <ImageView |
319 |
| - android:layout_width="24dp" |
320 |
| - android:layout_height="24dp" |
321 |
| - android:src="@drawable/ic_info" /> |
| 307 | + android:layout_marginBottom="8dp" |
| 308 | + android:orientation="vertical"> |
322 | 309 |
|
323 | 310 | <LinearLayout
|
324 | 311 | android:layout_width="fill_parent"
|
325 |
| - android:layout_height="wrap_content" |
326 |
| - android:layout_marginLeft="32dp" |
327 |
| - android:layout_marginStart="32dp" |
328 |
| - android:orientation="vertical" |
329 |
| - android:paddingBottom="8dp" |
330 |
| - android:paddingTop="8dp"> |
| 312 | + android:layout_height="72dp" |
| 313 | + android:orientation="horizontal" |
| 314 | + android:padding="16dp"> |
| 315 | + |
| 316 | + <ImageView |
| 317 | + android:layout_width="48dp" |
| 318 | + android:layout_height="48dp" |
| 319 | + android:layout_gravity="center_vertical" |
| 320 | + android:scaleType="centerCrop" |
| 321 | + android:src="@mipmap/ic_danger" /> |
331 | 322 |
|
332 | 323 | <TextView
|
333 | 324 | android:layout_width="wrap_content"
|
334 | 325 | android:layout_height="wrap_content"
|
335 |
| - android:text="@string/about_reset_label" |
336 |
| - android:textAppearance="@style/TextAppearance.AppCompat.Subhead" /> |
| 326 | + android:layout_gravity="center_vertical" |
| 327 | + android:paddingLeft="16dp" |
| 328 | + android:paddingRight="16dp" |
| 329 | + android:text="@string/app_name" |
| 330 | + android:textAppearance="@style/TextAppearance.AppCompat.Headline" /> |
| 331 | + </LinearLayout> |
337 | 332 |
|
338 |
| - <TextView |
339 |
| - android:layout_width="wrap_content" |
| 333 | + <LinearLayout |
| 334 | + android:id="@+id/about_reset_app_view" |
| 335 | + android:layout_width="fill_parent" |
| 336 | + android:layout_height="wrap_content" |
| 337 | + android:background="?android:attr/selectableItemBackground" |
| 338 | + android:clickable="true" |
| 339 | + android:focusable="true" |
| 340 | + android:gravity="center_vertical" |
| 341 | + android:minHeight="48dp" |
| 342 | + android:orientation="horizontal" |
| 343 | + android:paddingLeft="16dp" |
| 344 | + android:paddingRight="16dp"> |
| 345 | + |
| 346 | + <ImageView |
| 347 | + android:layout_width="24dp" |
| 348 | + android:layout_height="24dp" |
| 349 | + android:src="@drawable/ic_info" /> |
| 350 | + |
| 351 | + <LinearLayout |
| 352 | + android:layout_width="fill_parent" |
340 | 353 | android:layout_height="wrap_content"
|
341 |
| - android:text="@string/about_reset_label_desc" |
342 |
| - android:textAppearance="@style/TextAppearance.AppCompat.Caption" /> |
| 354 | + android:layout_marginLeft="32dp" |
| 355 | + android:layout_marginStart="32dp" |
| 356 | + android:orientation="vertical" |
| 357 | + android:paddingBottom="8dp" |
| 358 | + android:paddingTop="8dp"> |
343 | 359 |
|
344 |
| - </LinearLayout> |
| 360 | + <TextView |
| 361 | + android:layout_width="wrap_content" |
| 362 | + android:layout_height="wrap_content" |
| 363 | + android:text="@string/about_reset_label" |
| 364 | + android:textAppearance="@style/TextAppearance.AppCompat.Subhead" /> |
| 365 | + |
| 366 | + <TextView |
| 367 | + android:layout_width="wrap_content" |
| 368 | + android:layout_height="wrap_content" |
| 369 | + android:text="@string/about_reset_label_desc" |
| 370 | + android:textAppearance="@style/TextAppearance.AppCompat.Caption" /> |
345 | 371 |
|
| 372 | + </LinearLayout> |
| 373 | + |
| 374 | + </LinearLayout> |
346 | 375 | </LinearLayout>
|
347 | 376 |
|
348 | 377 | </android.support.v7.widget.CardView>
|
|
0 commit comments