dialog_tips.xml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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="wrap_content"
  5. android:gravity="center_horizontal"
  6. android:orientation="vertical">
  7. <LinearLayout
  8. android:layout_width="307dp"
  9. android:layout_height="403dp"
  10. android:background="@drawable/corners_white_14dp"
  11. android:orientation="vertical">
  12. <TextView
  13. android:layout_width="match_parent"
  14. android:layout_height="25dp"
  15. android:layout_marginTop="29dp"
  16. android:layout_marginLeft="19dp"
  17. android:gravity="center_vertical"
  18. android:textColor="@color/black"
  19. android:textSize="@dimen/px54_18sp"
  20. android:text="@string/welcome_use_app"/>
  21. <android.support.v4.widget.NestedScrollView
  22. android:layout_width="match_parent"
  23. android:layout_marginTop="10dp"
  24. android:layout_marginLeft="19dp"
  25. android:layout_marginRight="19dp"
  26. android:layout_height="233dp"
  27. android:orientation="vertical">
  28. <TextView
  29. android:id="@+id/tv_tips"
  30. android:layout_width="match_parent"
  31. android:layout_height="wrap_content"
  32. android:lineSpacingExtra="3dp"
  33. android:textColor="@color/text_black_44"
  34. android:textSize="@dimen/px39_13sp"
  35. android:text="@string/tips"/>
  36. </android.support.v4.widget.NestedScrollView>
  37. <Button
  38. android:layout_width="250dp"
  39. android:layout_height="42dp"
  40. android:layout_marginTop="8dp"
  41. android:layout_gravity="center_horizontal"
  42. android:id="@+id/btn_agree"
  43. android:textColor="@color/white"
  44. android:textSize="@dimen/px42_14sp"
  45. android:background="@drawable/corners_blue_5dp"
  46. android:text="@string/agree"/>
  47. <TextView
  48. android:layout_width="wrap_content"
  49. android:layout_height="20dp"
  50. android:gravity="center"
  51. android:layout_gravity="center_horizontal"
  52. android:textColor="@color/text_gray_99"
  53. android:text="@string/disagree"
  54. android:id="@+id/tv_disagree"
  55. android:layout_marginTop="12dp"
  56. />
  57. </LinearLayout>
  58. </LinearLayout>