jmexitdialog_3.xml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:id="@+id/linear"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:gravity="center"
  7. android:orientation="vertical" >
  8. <LinearLayout
  9. android:layout_width="320dp"
  10. android:layout_height="150dp"
  11. android:layout_gravity="center"
  12. android:background="@drawable/jmdialog"
  13. android:gravity="center"
  14. android:orientation="vertical" >
  15. <TextView
  16. android:layout_width="match_parent"
  17. android:layout_height="40dp"
  18. android:gravity="center"
  19. android:text="@string/exit_title"
  20. android:textColor="@color/jmfont_black"
  21. android:textSize="16sp" />
  22. <LinearLayout
  23. android:layout_width="match_parent"
  24. android:layout_height="40dp"
  25. android:layout_marginTop="30dp"
  26. android:gravity="center"
  27. android:orientation="horizontal" >
  28. <Button
  29. android:id="@+id/dialog_cancel"
  30. android:layout_width="140dp"
  31. android:layout_height="35dp"
  32. android:textAllCaps="false"
  33. android:background="@drawable/jm_green_codebtn_style"
  34. android:gravity="center"
  35. android:text="@string/exit_no"
  36. android:textColor="@color/jmfont_white"
  37. android:textSize="15sp" />
  38. <Button
  39. android:id="@+id/dialog_exit"
  40. android:layout_width="140dp"
  41. android:layout_height="35dp"
  42. android:layout_marginLeft="15dp"
  43. android:textAllCaps="false"
  44. android:background="@drawable/jm_green_light_codebtn_style"
  45. android:gravity="center"
  46. android:text="@string/exit_yes"
  47. android:textColor="@color/jmfont_white"
  48. android:textSize="15sp" />
  49. </LinearLayout>
  50. </LinearLayout>
  51. </LinearLayout>