x7_activity_main.xml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:id="@+id/rl"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:background="@color/x7_white"
  8. android:fitsSystemWindows="true"
  9. android:gravity="center"
  10. tools:ignore="MissingDefaultResource">
  11. <include
  12. android:id="@+id/layout_title"
  13. layout="@layout/x7_activity_title" />
  14. <RelativeLayout
  15. android:id="@+id/rl_content"
  16. android:layout_width="match_parent"
  17. android:layout_height="wrap_content"
  18. android:layout_below="@+id/layout_title"
  19. android:layout_alignParentRight="true"
  20. android:layout_marginRight="25dp"
  21. android:gravity="center_horizontal">
  22. <com.smwl.smsdk.myview.MyScrollView
  23. android:id="@+id/scroll_view"
  24. android:layout_width="match_parent"
  25. android:layout_height="wrap_content"
  26. android:fillViewport="false"
  27. android:scrollbars="none">
  28. <FrameLayout
  29. android:id="@+id/fra_layout"
  30. android:layout_width="match_parent"
  31. android:layout_height="wrap_content"
  32. android:layout_gravity="center"
  33. android:gravity="center_horizontal"
  34. android:orientation="vertical" />
  35. </com.smwl.smsdk.myview.MyScrollView>
  36. </RelativeLayout>
  37. </RelativeLayout>