about_layout.xml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. xmlns:app="http://schemas.android.com/apk/res-auto"
  6. android:background="@color/color_background">
  7. <android.support.design.widget.AppBarLayout
  8. android:id="@+id/app_bar_layout"
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content"
  11. android:theme="@style/AppTheme.AppBarOverlay"
  12. app:elevation="0dp">
  13. <android.support.v7.widget.Toolbar
  14. android:id="@+id/toolbar"
  15. android:layout_width="match_parent"
  16. android:layout_height="?attr/actionBarSize"
  17. android:background="?attr/colorPrimary"
  18. app:titleTextAppearance="@style/Toolbar.TitleText">
  19. </android.support.v7.widget.Toolbar>
  20. </android.support.design.widget.AppBarLayout>
  21. <TextView
  22. android:id="@+id/version_detail_git"
  23. android:layout_width="wrap_content"
  24. android:layout_height="wrap_content"
  25. android:layout_centerInParent="true"
  26. android:textColor="@color/color_gray_bfc2c5"
  27. android:textSize="15sp" />
  28. <TextView
  29. android:id="@+id/version_detail_date"
  30. android:layout_width="wrap_content"
  31. android:layout_height="wrap_content"
  32. android:layout_centerInParent="true"
  33. android:layout_below="@id/version_detail_git"
  34. android:textColor="@color/color_gray_bfc2c5"
  35. android:textSize="15sp" />
  36. <ImageView
  37. android:id="@+id/image"
  38. android:layout_width="wrap_content"
  39. android:layout_height="wrap_content"
  40. android:layout_above="@id/version_detail_git"
  41. android:layout_centerHorizontal="true"
  42. android:layout_marginBottom="20dp"
  43. android:background="@drawable/logo" />
  44. <TextView
  45. android:layout_width="wrap_content"
  46. android:layout_height="wrap_content"
  47. android:layout_alignParentBottom="true"
  48. android:layout_centerHorizontal="true"
  49. android:layout_marginBottom="10dp"
  50. android:text="@string/copyright"
  51. android:textSize="15sp" />
  52. </RelativeLayout>