mine_about_webview_activity.xml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:orientation="vertical"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent">
  7. <android.support.design.widget.AppBarLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="wrap_content">
  10. <com.sheishuo.app.common.views.BaseToolbar
  11. android:id="@+id/toolbar"
  12. android:layout_width="match_parent"
  13. android:layout_height="@dimen/action_bar_height"
  14. app:left_text="返回"/>
  15. </android.support.design.widget.AppBarLayout>
  16. <WebView
  17. android:id="@+id/mine_about_webview"
  18. android:layout_width="match_parent"
  19. android:layout_height="wrap_content"
  20. android:layout_weight="9"/>
  21. <LinearLayout
  22. android:id="@+id/mine_about_webview_agreement_layout"
  23. android:layout_width="match_parent"
  24. android:layout_height="wrap_content"
  25. android:orientation="horizontal"
  26. android:visibility="gone">
  27. <Button
  28. android:id="@+id/mine_about_webview_agree"
  29. android:layout_weight="1"
  30. android:layout_width="0dp"
  31. android:layout_height="wrap_content"
  32. android:text="同意"
  33. android:textColor="@color/white"
  34. android:background="@drawable/btn1_selector"
  35. android:layout_margin="8dp"/>
  36. <Button
  37. android:id="@+id/mine_about_webview_reject"
  38. android:layout_weight="1"
  39. android:layout_width="0dp"
  40. android:layout_height="wrap_content"
  41. android:text="拒绝"
  42. android:textColor="@color/white"
  43. android:background="@drawable/btn1_selector"
  44. android:layout_margin="8dp"/>
  45. </LinearLayout>
  46. </LinearLayout>