huosdk_confirm_dialog.xml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent">
  5. <LinearLayout
  6. android:layout_width="300dp"
  7. android:layout_height="140dp"
  8. android:background="@drawable/huosdk_bg_login_rect_2"
  9. android:orientation="vertical"
  10. android:layout_centerInParent="true">
  11. <TextView
  12. android:id="@+id/huosdk_tv_content"
  13. android:layout_width="match_parent"
  14. android:layout_height="95dp"
  15. android:gravity="center"
  16. android:text="您确定要退出游戏吗?"
  17. android:textColor="#ff434343"
  18. android:textSize="18sp" />
  19. <LinearLayout
  20. android:layout_width="match_parent"
  21. android:layout_height="0dp"
  22. android:layout_weight="1"
  23. android:orientation="horizontal">
  24. <Button
  25. android:id="@+id/btn_huosdk_cancle"
  26. android:layout_width="0dp"
  27. android:layout_height="match_parent"
  28. android:layout_weight="1"
  29. android:background="#ffededed"
  30. android:text="取消"
  31. android:textColor="#ff9b9b9b"
  32. android:textSize="17sp" />
  33. <Button
  34. android:id="@+id/btn_huosdk_confirm"
  35. android:layout_width="0dp"
  36. android:layout_height="match_parent"
  37. android:layout_weight="1"
  38. android:background="#ffd5d5d5"
  39. android:text="确认"
  40. android:textColor="#ff4a4a4a"
  41. android:textSize="17sp" />
  42. </LinearLayout>
  43. </LinearLayout>
  44. </RelativeLayout>