Guest User

Untitled

a guest
May 25th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.39 KB | None | 0 0
  1. <LinearLayout
  2. android:id="@+id/first_linear"
  3. android:layout_width="match_parent"
  4. android:layout_height="wrap_content"
  5. app:layout_constraintHorizontal_bias="0.502"
  6. app:layout_constraintLeft_toLeftOf="parent"
  7. app:layout_constraintRight_toRightOf="parent"
  8. app:layout_constraintTop_toTopOf="parent"
  9. android:layout_marginTop="50dp">
  10.  
  11.  
  12.  
  13. <EditText
  14. android:id="@+id/editTaskName"
  15. android:layout_width="0dp"
  16. android:layout_weight="6"
  17. android:layout_height="wrap_content"
  18. android:hint="@string/entName"
  19. android:inputType="textPersonName"
  20.  
  21. />
  22.  
  23. <ImageButton
  24.  
  25. android:background="@drawable/button_background"
  26. android:id="@+id/micro_phone"
  27. android:layout_width="0dp"
  28. android:layout_weight="1"
  29. android:src="@drawable/ic_mic_black_24dp"
  30. android:layout_height="match_parent" />
  31. </LinearLayout>
  32.  
  33.  
  34. <LinearLayout
  35. android:id="@+id/second_linear"
  36. android:layout_width="match_parent"
  37. android:layout_height="wrap_content"
  38. app:layout_constraintHorizontal_bias="0.502"
  39. app:layout_constraintLeft_toLeftOf="parent"
  40. app:layout_constraintRight_toRightOf="parent"
  41. app:layout_constraintTop_toTopOf="@id/first_linear"
  42. android:layout_marginTop="50dp">
  43.  
  44. <TextView
  45. android:textSize="20dp"
  46. android:textColor="#000000"
  47. android:id="@+id/typeEntry"
  48. android:text="Type"
  49. android:layout_width="0dp"
  50. android:layout_height="wrap_content"
  51. android:layout_marginLeft="20dp"
  52. android:layout_marginTop="40dp"
  53. android:layout_weight="1"/>
  54.  
  55. <Spinner
  56. android:id="@+id/spnTaskType"
  57. android:layout_width="0dp"
  58. android:layout_weight="2"
  59. android:layout_height="wrap_content"
  60. android:layout_marginTop="40dp"
  61.  
  62. />
  63. </LinearLayout>
  64.  
  65. <LinearLayout
  66. android:id="@+id/third_linear"
  67. android:layout_width="match_parent"
  68. android:layout_height="wrap_content"
  69. app:layout_constraintHorizontal_bias="0.502"
  70. app:layout_constraintLeft_toLeftOf="parent"
  71. app:layout_constraintRight_toRightOf="parent"
  72. app:layout_constraintTop_toTopOf="@id/second_linear"
  73. android:layout_marginTop="60dp">
  74.  
  75. <TextView
  76. android:textSize="20dp"
  77. android:textColor="#000000"
  78. android:id="@+id/DateEntry"
  79. android:text="Date"
  80. android:layout_width="0dp"
  81. android:layout_height="wrap_content"
  82. android:layout_marginLeft="20dp"
  83. android:layout_marginTop="40dp"
  84. android:layout_weight="1"/>
  85.  
  86. <TextView
  87. android:id="@+id/txttvDate"
  88. android:layout_width="0dp"
  89. android:layout_weight="2"
  90. android:layout_height="wrap_content"
  91. android:layout_marginTop="56dp"
  92. android:onClick="edittxtDate"
  93. android:textAlignment="center"
  94. android:textAppearance="@android:style/TextAppearance.Large"
  95. />
  96.  
  97. </LinearLayout>
  98.  
  99. <LinearLayout
  100. android:id="@+id/fourth_linear"
  101. android:layout_width="match_parent"
  102. android:layout_height="wrap_content"
  103. app:layout_constraintHorizontal_bias="0.502"
  104. app:layout_constraintLeft_toLeftOf="parent"
  105. app:layout_constraintRight_toRightOf="parent"
  106. app:layout_constraintTop_toTopOf="@id/third_linear"
  107. android:layout_marginTop="60dp">
  108.  
  109. <TextView
  110. android:textColor="#000000"
  111. android:textSize="20dp"
  112. android:id="@+id/TimeEntry"
  113. android:text="Time"
  114. android:layout_width="0dp"
  115. android:layout_height="wrap_content"
  116. android:layout_marginLeft="20dp"
  117. android:layout_marginTop="40dp"
  118. android:layout_weight="1"/>
  119. <TextView
  120. android:id="@+id/txtvTime"
  121. android:layout_width="0dp"
  122. android:layout_weight="2"
  123. android:layout_height="wrap_content"
  124. android:layout_marginTop="40dp"
  125. android:onClick="edittxtTime"
  126. android:textAlignment="center"
  127. android:textAppearance="@android:style/TextAppearance.Large" />
  128. </LinearLayout>
Add Comment
Please, Sign In to add comment