3b7321cc6471995d5a14a6b931424a5f23db8c4c.svn-base 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="wrap_content"
  4. android:layout_height="wrap_content">
  5. <LinearLayout
  6. android:id="@+id/agree_ll"
  7. android:layout_width="match_parent"
  8. android:layout_height="wrap_content"
  9. android:layout_marginTop="25dp"
  10. android:layout_marginBottom="25dp"
  11. android:background="@color/white"
  12. android:orientation="vertical">
  13. <TextView
  14. android:layout_width="wrap_content"
  15. android:layout_height="wrap_content"
  16. android:layout_gravity="center_horizontal"
  17. android:layout_marginTop="10dp"
  18. android:text="用户使用协议"
  19. android:textColor="@color/black"
  20. android:textSize="18sp" />
  21. <ScrollView
  22. android:layout_width="fill_parent"
  23. android:layout_height="wrap_content"
  24. android:layout_margin="15dp"
  25. android:background="@color/white"
  26. android:fadingEdge="vertical"
  27. android:scrollbars="vertical">
  28. <TextView
  29. android:layout_width="match_parent"
  30. android:layout_height="wrap_content"
  31. android:lineSpacingExtra="2dp"
  32. android:padding="10dp"
  33. android:singleLine="false"
  34. android:text="@string/agre"
  35. android:textColor="@color/black"
  36. android:textSize="14sp"
  37. />
  38. </ScrollView>
  39. </LinearLayout>
  40. <ImageButton
  41. android:id="@+id/agree_canale"
  42. android:layout_width="wrap_content"
  43. android:layout_height="wrap_content"
  44. android:layout_alignTop="@id/agree_ll"
  45. android:layout_alignRight="@id/agree_ll"
  46. android:background="@color/transparent"
  47. android:src="@mipmap/closex" />
  48. </RelativeLayout>