dialog_us.xml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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:paddingStart="20dp"
  19. android:paddingTop="4dp"
  20. android:textColor="@color/section_title"/>
  21. <LinearLayout
  22. android:layout_width="match_parent"
  23. android:layout_height="fill_parent"
  24. android:orientation="vertical"
  25. android:background="@drawable/entry"
  26. android:layout_margin="8dp"
  27. android:padding="7dp">
  28. <ImageView
  29. android:id="@+id/iv_dialog_us_image"
  30. android:layout_width="match_parent"
  31. android:layout_height="wrap_content"
  32. android:adjustViewBounds="true"
  33. android:maxHeight="140dp"
  34. android:minHeight="100dp"
  35. android:src="@drawable/photo_placeholder_thumb"
  36. android:contentDescription="@string/app_name"/>
  37. <TextView
  38. android:id="@+id/tv_dialog_us_text"
  39. android:layout_width="wrap_content"
  40. android:layout_height="wrap_content"
  41. android:layout_margin="7dp"
  42. android:textAppearance="@android:style/TextAppearance.Medium"/>
  43. </LinearLayout>
  44. <Button
  45. android:id="@+id/bt_dialog_us_close"
  46. android:layout_width="match_parent"
  47. android:layout_margin="5dp"
  48. android:background="@drawable/button_selector"
  49. android:text="@string/notification_close"
  50. android:textColor="@color/input_text_color"
  51. android:textStyle="bold"
  52. android:layout_height="50dp"/>
  53. </LinearLayout>