tysdkn_dialog_go_app.xml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:gravity="center_horizontal"
  6. android:orientation="vertical">
  7. <RelativeLayout
  8. android:layout_width="246dp"
  9. android:layout_height="131dp"
  10. android:layout_gravity="center_horizontal"
  11. android:background="@drawable/tysdkn_dialog_bg_go_app"
  12. android:orientation="vertical">
  13. <TextView
  14. android:layout_width="wrap_content"
  15. android:layout_height="wrap_content"
  16. android:layout_centerHorizontal="true"
  17. android:layout_marginTop="12dp"
  18. android:text="系统提示"
  19. android:textColor="#111111"
  20. android:textSize="16sp" />
  21. <TextView
  22. android:layout_width="wrap_content"
  23. android:layout_height="wrap_content"
  24. android:layout_centerInParent="true"
  25. android:layout_marginTop="18dp"
  26. android:text="是否前往APP操作该功能"
  27. android:textColor="#111111"
  28. android:textSize="15sp" />
  29. <LinearLayout
  30. android:id="@+id/tysdkn_ll"
  31. android:layout_width="match_parent"
  32. android:layout_height="38dp"
  33. android:layout_alignParentBottom="true">
  34. <TextView
  35. android:id="@+id/tysdkn_tv_cancel"
  36. android:layout_width="0dp"
  37. android:layout_height="match_parent"
  38. android:layout_weight="1"
  39. android:background="@drawable/tysdkn_shape_cancel"
  40. android:gravity="center"
  41. android:text="取消"
  42. android:textColor="#333333"
  43. android:textSize="12sp" />
  44. <TextView
  45. android:id="@+id/tysdkn_tv_go_app"
  46. android:layout_width="0dp"
  47. android:layout_height="match_parent"
  48. android:layout_weight="1"
  49. android:background="@drawable/tysdkn_bg_go_app"
  50. android:gravity="center"
  51. android:text="立即前往"
  52. android:textColor="#FFFFFF"
  53. android:textSize="12sp" />
  54. </LinearLayout>
  55. <View
  56. android:layout_width="match_parent"
  57. android:layout_height="0.5dp"
  58. android:layout_alignTop="@id/tysdkn_ll"
  59. android:background="#eeeeee" />
  60. </RelativeLayout>
  61. </LinearLayout>