x7_activity_main.xml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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="wrap_content"
  7. android:orientation="vertical"
  8. android:background="@color/x7_white"
  9. tools:ignore="MissingDefaultResource">
  10. <RelativeLayout
  11. android:id="@+id/rl_content"
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content"
  14. android:gravity="center_horizontal">
  15. <com.smwl.smsdk.myview.MyScrollView
  16. android:id="@+id/scroll_view"
  17. android:layout_width="match_parent"
  18. android:layout_height="100dp"
  19. android:layout_centerHorizontal="true"
  20. android:fillViewport="false"
  21. android:scrollbars="none">
  22. <FrameLayout
  23. android:id="@+id/fra_layout"
  24. android:layout_width="match_parent"
  25. android:layout_height="wrap_content"
  26. android:layout_gravity="center_horizontal|top"
  27. android:paddingTop="30dp" />
  28. </com.smwl.smsdk.myview.MyScrollView>
  29. </RelativeLayout>
  30. <include
  31. android:id="@+id/layout_title"
  32. layout="@layout/x7_activity_title"
  33. android:layout_width="match_parent"
  34. android:layout_height="wrap_content"
  35. android:layout_alignParentTop="true"
  36. android:layout_centerHorizontal="true"
  37. android:layout_marginTop="16dp"
  38. android:layout_marginLeft="10dp"
  39. android:layout_marginRight="10dp" />
  40. </RelativeLayout>