Guest User

Untitled

a guest
Dec 14th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. <LinearLayout
  2. android:id="@+id/happened_time"
  3. android:layout_width="match_parent"
  4. android:layout_height="wrap_content"
  5. android:gravity="center_horizontal"
  6. android:orientation="horizontal">
  7.  
  8. <TextView
  9. android:id="@+id/date_picker"
  10. android:layout_width="wrap_content"
  11. android:layout_height="match_parent"
  12. android:clickable="true"
  13. android:background="?attr/selectableItemBackground"
  14. android:textSize="16sp"
  15. android:paddingLeft="4dp"
  16. android:paddingRight="20dp"
  17. android:paddingVertical="15dp"
  18. android:drawableStart="@drawable/access_time"
  19. android:drawablePadding="25dp"
  20. android:hint="@string/date_picker"/>
  21.  
  22. <TextView
  23. android:layout_width="wrap_content"
  24. android:layout_height="match_parent"
  25. android:layout_weight="1"/>
  26.  
  27. <TextView
  28. android:id="@+id/time_picker"
  29. android:layout_width="wrap_content"
  30. android:layout_height="match_parent"
  31. android:clickable="true"
  32. android:background="?attr/selectableItemBackground"
  33. android:textSize="16sp"
  34. android:paddingHorizontal="20dp"
  35. android:paddingVertical="15dp"
  36. android:hint="@string/time_picker"/>
  37. </LinearLayout>
  38.  
  39. <string name="desc_date_picker">Happened date: <xliff:g id="date" example="Dec 14, 2018">%s</xliff:g></string>
  40. <string name="desc_time_picker">Happened time: <xliff:g id="date" example="10:39 AM">%s</xliff:g></string>
Add Comment
Please, Sign In to add comment