Advertisement
tamerSabek

Untitled

Jan 7th, 2019
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.79 KB | None | 0 0
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. android:layout_width="match_parent"
  3. android:layout_height="match_parent"
  4. android:orientation="vertical"
  5. android:layout_margin="16dp"
  6. android:layoutDirection="locale"
  7. android:textDirection="locale">
  8.  
  9. <LinearLayout
  10. android:layout_width="match_parent"
  11. android:layout_height="match_parent"
  12. android:orientation="vertical"
  13. android:layout_weight="1">
  14. <ImageView
  15. android:layout_width="match_parent"
  16. android:layout_height="match_parent"
  17. android:src="@drawable/aa"
  18. />
  19. </LinearLayout>
  20.  
  21. <LinearLayout
  22. android:layout_width="match_parent"
  23. android:layout_height="match_parent"
  24. android:orientation="vertical"
  25. android:layout_weight="1">
  26. <EditText
  27. android:layout_width="match_parent"
  28. android:layout_height="wrap_content"
  29. android:hint="@string/user_name"
  30. android:id="@+id/txtUser"/>
  31. <EditText
  32. android:layout_width="match_parent"
  33. android:layout_height="wrap_content"
  34. android:inputType="numberPassword"
  35. android:hint="@string/user_password"
  36. android:id="@+id/txtPassword"/>
  37. <TextView
  38. android:layout_width="match_parent"
  39. android:layout_height="wrap_content"
  40. android:text="@string/info"
  41. android:gravity="center"
  42. android:textColor="#ff0000"
  43. android:id="@+id/txtInfo"/>
  44. </LinearLayout>
  45.  
  46. <LinearLayout
  47. android:layout_width="match_parent"
  48. android:layout_height="match_parent"
  49. android:orientation="vertical"
  50. android:layout_weight="1">
  51. <LinearLayout
  52. android:layout_width="match_parent"
  53. android:layout_height="wrap_content"
  54. android:orientation="horizontal">
  55. <Button
  56. android:layout_width="match_parent"
  57. android:layout_height="wrap_content"
  58. android:background="#009fff"
  59. android:text="@string/login"
  60. android:textColor="#ffffff"
  61. android:textSize="22sp"
  62. android:layout_margin="5dp"
  63. android:layout_weight="1"/>
  64. <Button
  65. android:layout_width="match_parent"
  66. android:layout_height="wrap_content"
  67. android:background="#009fff"
  68. android:text="@string/register"
  69. android:textColor="#ffffff"
  70. android:textSize="22sp"
  71. android:layout_margin="5dp"
  72. android:layout_weight="1"/>
  73. </LinearLayout>
  74. </LinearLayout>
  75. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement