activity_menu.xml 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:background="@mipmap/ic_login_01"
  8. tools:context="com.zhong.inspection.ui.MenuActivity">
  9. <ImageView
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. android:layout_alignParentBottom="true"
  13. android:background="@mipmap/ic_login_02" />
  14. <LinearLayout
  15. android:layout_width="match_parent"
  16. android:layout_height="wrap_content"
  17. android:layout_centerVertical="true"
  18. android:gravity="center"
  19. android:orientation="vertical">
  20. <com.makeramen.roundedimageview.RoundedImageView
  21. android:id="@+id/imgLog"
  22. android:layout_width="100dp"
  23. android:layout_height="100dp"
  24. android:background="@drawable/ic_img_bgm"
  25. android:gravity="center"
  26. android:text="logo"
  27. android:scaleType="fitXY"
  28. android:textColor="@color/black"
  29. android:textSize="16sp" />
  30. <TextView
  31. android:layout_width="wrap_content"
  32. android:layout_height="wrap_content"
  33. android:layout_marginTop="30dp"
  34. android:text="@string/login_tv"
  35. android:textColor="@color/white"
  36. android:textSize="18sp" />
  37. <TextView
  38. android:id="@+id/face_login"
  39. android:layout_width="match_parent"
  40. android:layout_height="45dp"
  41. android:layout_marginLeft="18dp"
  42. android:layout_marginTop="22dp"
  43. android:layout_marginRight="18dp"
  44. android:background="@drawable/ic_bgm_meue_login"
  45. android:gravity="center"
  46. android:text="@string/login_face_tx"
  47. android:textColor="@color/white"
  48. android:textSize="16sp" />
  49. <TextView
  50. android:id="@+id/pwd_login"
  51. android:layout_width="match_parent"
  52. android:layout_height="45dp"
  53. android:layout_marginLeft="18dp"
  54. android:layout_marginTop="26dp"
  55. android:layout_marginRight="18dp"
  56. android:background="@drawable/ic_bgm_meue_login"
  57. android:gravity="center"
  58. android:text="@string/login_pwd"
  59. android:textColor="@color/white"
  60. android:textSize="16sp" />
  61. <TextView
  62. android:id="@+id/cred_login"
  63. android:layout_width="match_parent"
  64. android:layout_height="45dp"
  65. android:layout_marginLeft="18dp"
  66. android:layout_marginTop="26dp"
  67. android:layout_marginRight="18dp"
  68. android:background="@drawable/ic_bgm_meue_login"
  69. android:gravity="center"
  70. android:text="@string/login_cred_tv"
  71. android:textColor="@color/white"
  72. android:textSize="16sp" />
  73. </LinearLayout>
  74. </RelativeLayout>