jmexitdialog.xml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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="@dimen/jm_login_width"
  10. android:layout_height="@dimen/jm_exit_dialog_height"
  11. android:layout_gravity="center"
  12. android:background="@drawable/jm_exit_dialog_bg"
  13. android:gravity="center_horizontal"
  14. android:orientation="vertical">
  15. <ImageView
  16. android:layout_width="140dp"
  17. android:layout_height="50dp"
  18. android:layout_marginTop="16dp"
  19. android:layout_marginBottom="44dp"
  20. android:scaleType="centerInside"
  21. android:src="@drawable/jm_auto_logo" />
  22. <LinearLayout
  23. android:layout_width="match_parent"
  24. android:layout_height="wrap_content"
  25. android:gravity="center"
  26. android:orientation="vertical">
  27. <Button
  28. android:id="@+id/dialog_exit"
  29. android:layout_width="221dp"
  30. android:layout_height="46dp"
  31. android:textAllCaps="false"
  32. android:background="@drawable/jmblues_btn_style"
  33. android:gravity="center"
  34. android:text="@string/exit_yes"
  35. android:textColor="@color/jmfont_white"
  36. android:textSize="15sp" />
  37. <Button
  38. android:id="@+id/dialog_cancel"
  39. android:layout_width="221dp"
  40. android:layout_height="46dp"
  41. android:layout_marginTop="30dp"
  42. android:textAllCaps="false"
  43. android:background="@drawable/jmblues_btn_style"
  44. android:gravity="center"
  45. android:text="@string/exit_no"
  46. android:textColor="@color/jmfont_white"
  47. android:textSize="15sp" />
  48. </LinearLayout>
  49. </LinearLayout>
  50. </LinearLayout>