user_profile_birth_layout.xml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout 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:orientation="vertical">
  8. <android.support.design.widget.AppBarLayout
  9. android:id="@+id/app_bar_layout"
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. android:theme="@style/AppTheme.AppBarOverlay"
  13. app:elevation="0dp">
  14. <android.support.v7.widget.Toolbar
  15. android:id="@+id/toolbar"
  16. android:layout_width="match_parent"
  17. android:layout_height="?attr/actionBarSize"
  18. android:background="?attr/colorPrimary"
  19. app:titleTextAppearance="@style/Toolbar.TitleText">
  20. <include layout="@layout/nim_action_bar_right_clickable_tv" />
  21. </android.support.v7.widget.Toolbar>
  22. </android.support.design.widget.AppBarLayout>
  23. <View
  24. android:layout_width="match_parent"
  25. android:layout_height="2px"
  26. android:layout_below="@+id/attribute"
  27. android:layout_marginTop="10dp"
  28. android:background="@color/color_split_line_d9d9d9" />
  29. <RelativeLayout
  30. android:id="@+id/birth_picker_layout"
  31. android:layout_width="match_parent"
  32. android:layout_height="wrap_content"
  33. android:background="@color/white"
  34. android:paddingBottom="17dp"
  35. android:paddingTop="17dp">
  36. <TextView
  37. android:layout_width="wrap_content"
  38. android:layout_height="wrap_content"
  39. android:layout_marginLeft="15dp"
  40. android:text="@string/birthday"
  41. android:textColor="@color/color_black_333333"
  42. android:textSize="@dimen/text_size_17" />
  43. <TextView
  44. android:id="@+id/birth_value"
  45. android:layout_width="wrap_content"
  46. android:layout_height="wrap_content"
  47. android:layout_alignParentRight="true"
  48. android:layout_marginRight="15dp"
  49. android:text="1990-07-03"
  50. android:textColor="@color/color_black_ff999999"
  51. android:textSize="@dimen/text_size_17" />
  52. </RelativeLayout>
  53. <View
  54. android:layout_width="match_parent"
  55. android:layout_height="2px"
  56. android:layout_below="@+id/attribute"
  57. android:background="@color/color_split_line_d9d9d9" />
  58. </LinearLayout>