fm_usercenter.xml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:orientation="vertical"
  6. android:background="@color/default_bg">
  7. <LinearLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent"
  10. android:orientation="vertical">
  11. <RelativeLayout
  12. android:layout_width="match_parent"
  13. android:layout_height="271dp"
  14. android:background="@color/main_color">
  15. <LinearLayout
  16. android:layout_width="match_parent"
  17. android:layout_height="wrap_content"
  18. android:layout_centerVertical="true"
  19. android:gravity="center_horizontal"
  20. android:orientation="vertical">
  21. <ImageView
  22. android:id="@+id/iv_head"
  23. android:layout_width="76dp"
  24. android:layout_height="76dp"
  25. android:background="@drawable/usercentenr_head"/>
  26. <TextView
  27. android:id="@+id/tv_username"
  28. android:layout_width="wrap_content"
  29. android:layout_height="wrap_content"
  30. android:layout_marginTop="@dimen/company_10dp"
  31. android:textSize="@dimen/company_15sp"
  32. android:textColor="@color/white"/>
  33. <TextView
  34. android:id="@+id/tv_userinfo"
  35. android:layout_width="wrap_content"
  36. android:layout_height="wrap_content"
  37. android:background="@drawable/shape_search_bg"
  38. android:layout_marginTop="@dimen/company_20dp"
  39. android:paddingLeft="@dimen/company_5dp"
  40. android:paddingRight="@dimen/company_5dp"
  41. android:textSize="@dimen/company_12sp"
  42. android:textColor="@color/main_color"
  43. android:text="个人信息 >"/>
  44. </LinearLayout>
  45. </RelativeLayout>
  46. <com.ynstkz.shitu.android.view.ScrollViewWithGridView
  47. android:id="@+id/gv_mine"
  48. android:layout_width="match_parent"
  49. android:layout_height="wrap_content"
  50. android:layout_marginTop="@dimen/company_10dp"
  51. android:verticalSpacing="@dimen/company_1dp"
  52. android:horizontalSpacing="@dimen/company_1dp"
  53. android:numColumns="2"/>
  54. </LinearLayout>
  55. </ScrollView>