365c2f1732cc9a90ece2987ecf9377110871aa78.svn-base 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:layout_width="match_parent"
  5. android:layout_height="@dimen/nav_header_height"
  6. android:background="@drawable/side_nav_bar"
  7. android:gravity="bottom"
  8. android:orientation="vertical"
  9. android:paddingLeft="@dimen/activity_horizontal_margin"
  10. android:paddingTop="@dimen/activity_vertical_margin"
  11. android:paddingRight="@dimen/activity_horizontal_margin"
  12. android:paddingBottom="@dimen/activity_vertical_margin"
  13. android:theme="@style/ThemeOverlay.AppCompat.Dark">
  14. <ImageView
  15. android:id="@+id/imageView"
  16. android:layout_width="wrap_content"
  17. android:layout_height="wrap_content"
  18. android:contentDescription="@string/nav_header_desc"
  19. android:paddingTop="@dimen/nav_header_vertical_spacing"
  20. app:srcCompat="@mipmap/ic_launcher_round" />
  21. <TextView
  22. android:layout_width="match_parent"
  23. android:layout_height="wrap_content"
  24. android:paddingTop="@dimen/nav_header_vertical_spacing"
  25. android:text="@string/nav_header_title"
  26. android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
  27. <TextView
  28. android:id="@+id/textView"
  29. android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. android:text="@string/nav_header_subtitle" />
  32. </LinearLayout>