mine_personal_settings.xml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  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:layout_width="match_parent"
  12. android:layout_height="@dimen/action_bar_height"
  13. android:title="设置"
  14. app:left_text="返回"
  15. style="@style/fullToolbarStyle"/>
  16. </android.support.design.widget.AppBarLayout>
  17. <LinearLayout
  18. android:layout_width="match_parent"
  19. android:layout_height="wrap_content"
  20. android:padding="16dp"
  21. android:orientation="horizontal">
  22. <TextView
  23. android:layout_weight="9"
  24. android:layout_width="0dp"
  25. android:layout_height="wrap_content"
  26. android:text="头像"
  27. android:layout_gravity="center_vertical"/>
  28. <!--官方给定长宽-->
  29. <com.netease.nim.uikit.common.ui.widget.SwitchButton
  30. android:layout_width="58dip"
  31. android:layout_height="36.67dp"
  32. android:layout_gravity="end"/>
  33. </LinearLayout>
  34. </LinearLayout>