fragment_mine.xml 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:background="@color/homeback"
  8. >
  9. <ScrollView
  10. android:layout_width="match_parent"
  11. android:layout_height="match_parent">
  12. <FrameLayout
  13. android:layout_width="match_parent"
  14. android:layout_height="wrap_content">
  15. <ImageView
  16. android:id="@+id/home_bottom"
  17. android:layout_width="match_parent"
  18. android:layout_height="match_parent"
  19. android:adjustViewBounds="true"
  20. android:contentDescription="image"
  21. app:srcCompat="@drawable/mine"
  22. tools:ignore="MissingConstraints" />
  23. <GridLayout
  24. android:layout_width="match_parent"
  25. android:layout_height="match_parent">
  26. <TextView
  27. android:id="@+id/phone_number"
  28. android:layout_width="wrap_content"
  29. android:layout_height="wrap_content"
  30. android:layout_row="0"
  31. android:layout_column="1"
  32. android:layout_marginStart="15dp"
  33. android:layout_marginTop="35dp"
  34. android:text="您好, 152******79"
  35. android:textColor="@color/white"
  36. android:textSize="18sp"
  37. tools:ignore="MissingConstraints"
  38. android:layout_marginLeft="15dp" />
  39. <TextView
  40. android:id="@+id/more_info"
  41. android:layout_width="wrap_content"
  42. android:layout_height="wrap_content"
  43. android:layout_row="0"
  44. android:layout_column="1"
  45. android:layout_marginStart="15dp"
  46. android:layout_marginTop="75dp"
  47. android:text="点击查看个人信息 >"
  48. android:textColor="@color/white"
  49. android:textSize="12sp"
  50. android:layout_marginLeft="15dp" />
  51. <ImageView
  52. android:id="@+id/mine_setting"
  53. android:layout_width="71dp"
  54. android:layout_height="71dp"
  55. android:layout_row="0"
  56. android:layout_column="0"
  57. android:layout_marginStart="27dp"
  58. android:layout_marginTop="30dp"
  59. android:src="@drawable/ic_head_img"
  60. android:layout_marginLeft="27dp" />
  61. </GridLayout>
  62. </FrameLayout>
  63. </ScrollView>
  64. </androidx.constraintlayout.widget.ConstraintLayout>