dialog_us.xml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <LinearLayout
  2. xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:layout_width="fill_parent"
  5. android:layout_height="wrap_content"
  6. android:orientation="vertical"
  7. android:background="@drawable/section"
  8. android:paddingBottom="15dp">
  9. <TextView
  10. android:id="@+id/tv_dialog_us_title"
  11. android:layout_width="fill_parent"
  12. android:layout_height="wrap_content"
  13. android:textAppearance="?android:attr/textAppearanceLarge"
  14. android:textStyle="bold"
  15. android:background="@drawable/section_title"
  16. android:paddingBottom="4dp"
  17. android:paddingEnd="10dp"
  18. android:paddingLeft="20dp"
  19. android:paddingRight="10dp"
  20. android:paddingStart="20dp"
  21. android:paddingTop="4dp"
  22. android:textColor="@color/section_title"
  23. android:layout_alignParentTop="true"/>
  24. <LinearLayout
  25. android:layout_width="match_parent"
  26. android:layout_height="fill_parent"
  27. android:orientation="vertical"
  28. android:background="@drawable/entry"
  29. android:layout_margin="8dp"
  30. android:padding="7dp"
  31. >
  32. <ImageView
  33. android:id="@+id/iv_dialog_us_image"
  34. android:layout_width="match_parent"
  35. android:layout_height="wrap_content"
  36. android:adjustViewBounds="true"
  37. android:maxHeight="140dp"
  38. android:minHeight="100dp"
  39. app:srcCompat="@drawable/photo_placeholder_thumb"/>
  40. <TextView
  41. android:id="@+id/tv_dialog_us_text"
  42. android:layout_width="wrap_content"
  43. android:layout_height="wrap_content"
  44. android:layout_margin="7dp"
  45. android:textAppearance="@android:style/TextAppearance.Medium"/>
  46. </LinearLayout>
  47. <Button
  48. android:id="@+id/bt_dialog_us_close"
  49. android:layout_width="match_parent"
  50. android:layout_margin="5dp"
  51. android:background="@drawable/button_selector"
  52. android:text="@string/notification_close"
  53. android:textColor="@color/input_text_color"
  54. android:textStyle="bold"
  55. android:layout_alignParentBottom="true"
  56. android:layout_height="50dp"/>
  57. </LinearLayout>