123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358 |
- <?xml version="1.0" encoding="utf-8"?>
- <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:layout_marginLeft="25dp"
- android:paddingTop="30dp">
- <HorizontalScrollView
- android:id="@+id/fragment_main_user_scrollview"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:scrollbars="none">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="horizontal">
- <FrameLayout
- android:id="@+id/fragment_main_user_head_layout"
- android:layout_width="wrap_content"
- android:layout_height="match_parent">
- <LinearLayout
- android:layout_width="519dp"
- android:layout_height="match_parent"
- android:divider="@drawable/fragment_user_info_divider"
- android:orientation="vertical"
- android:showDividers="middle">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center|left"
- android:text="个人信息"
- android:textColor="@color/white"
- android:textSize="26dp"></TextView>
- <com.edufound.reader.cusview.RoundFrameLayout
- android:id="@+id/fragment_main_user_layout"
- android:layout_width="match_parent"
- android:layout_height="188dp"
- android:background="@color/white">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="horizontal">
- <FrameLayout
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="2">
- <ImageView
- android:id="@+id/fragment_main_user_head"
- android:layout_width="102dp"
- android:layout_height="102dp"
- android:layout_gravity="center"></ImageView>
- </FrameLayout>
- <FrameLayout
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="6">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:paddingTop="10dp">
- <TextView
- android:id="@+id/fragment_main_user_phonenum"
- android:layout_width="wrap_content"
- android:layout_height="48dp"
- android:textColor="#272727"
- android:textSize="30dp"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"></TextView>
- <TextView
- android:id="@+id/fragment_main_user_grade"
- android:layout_width="wrap_content"
- android:layout_height="48dp"
- android:layout_marginBottom="80dp"
- android:textColor="#999999"
- android:textSize="27dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintStart_toStartOf="parent"></TextView>
- <ImageView
- android:id="@+id/fragment_main_user_setting"
- android:layout_width="99dp"
- android:layout_height="35dp"
- android:layout_marginTop="8dp"
- android:layout_marginEnd="16dp"
- android:src="@drawable/fragment_my_setting"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toTopOf="parent"></ImageView>
- <FrameLayout
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:layout_marginRight="12dp"
- android:alpha="0.2"
- android:background="#000000"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintVertical_bias="0.609"></FrameLayout>
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="40dp"
- android:layout_marginBottom="18dp"
- android:gravity="center"
- android:orientation="horizontal"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintStart_toStartOf="parent">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="粉丝"
- android:textColor="#999999"
- android:textSize="27dp"></TextView>
- <Space
- android:layout_width="5dp"
- android:layout_height="match_parent"></Space>
- <TextView
- android:id="@+id/fragment_main_user_fans"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="0"
- android:textColor="#999999"
- android:textSize="27dp"></TextView>
- </LinearLayout>
- <FrameLayout
- android:layout_width="1dp"
- android:layout_height="32dp"
- android:layout_marginBottom="22dp"
- android:alpha="0.2"
- android:background="#000000"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.437"
- app:layout_constraintStart_toStartOf="parent"></FrameLayout>
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="40dp"
- android:layout_marginRight="12dp"
- android:layout_marginBottom="18dp"
- android:gravity="center"
- android:orientation="horizontal"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="播放"
- android:textColor="#999999"
- android:textSize="27dp"></TextView>
- <Space
- android:layout_width="5dp"
- android:layout_height="match_parent"></Space>
- <TextView
- android:id="@+id/fragment_main_user_playcount"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="0"
- android:textColor="#999999"
- android:textSize="27dp"></TextView>
- </LinearLayout>
- </androidx.constraintlayout.widget.ConstraintLayout>
- </FrameLayout>
- </LinearLayout>
- </com.edufound.reader.cusview.RoundFrameLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="195dp"
- android:divider="@drawable/fragment_user_info_divider"
- android:orientation="horizontal"
- android:showDividers="middle">
- <FrameLayout
- android:id="@+id/fragment_main_user_vip"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:background="@drawable/fragment_my_vip">
- <TextView
- android:id="@+id/fragment_main_user_vip_date"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center|bottom"
- android:layout_marginBottom="8dp"
- android:gravity="center"
- android:text="到期:2020-01-06"
- android:textColor="@color/white"
- android:textSize="26dp"
- android:visibility="gone"></TextView>
- </FrameLayout>
- <FrameLayout
- android:id="@+id/fragment_main_user_redflower"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:background="@drawable/fragment_my_redflower">
- <TextView
- android:id="@+id/fragment_main_user_redflower_text"
- android:layout_width="100dp"
- android:layout_height="42dp"
- android:layout_gravity="right"
- android:layout_marginTop="25dp"
- android:layout_marginRight="30dp"
- android:gravity="center|left"
- android:text="0"
- android:textColor="@color/white"
- android:textSize="30dp"></TextView>
- </FrameLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="80dp"
- android:divider="@drawable/main_left_tab_divider"
- android:orientation="horizontal"
- android:showDividers="middle">
- <ImageView
- android:id="@+id/fragment_main_user_myattention"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:src="@drawable/fragment_my_attention"></ImageView>
- <ImageView
- android:id="@+id/fragment_main_user_mycollection"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:src="@drawable/fragment_my_collection"></ImageView>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="80dp"
- android:divider="@drawable/fragment_user_info_divider"
- android:orientation="horizontal"
- android:showDividers="middle">
- <FrameLayout
- android:id="@+id/fragment_main_user_messagenotification"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1">
- <ImageView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:src="@drawable/fragment_my_message_notification"></ImageView>
- <com.edufound.reader.cusview.RoundFrameLayout
- android:id="@+id/fragment_main_user_unread_icon"
- android:layout_width="11dp"
- android:layout_height="11dp"
- android:layout_gravity="right|top"
- android:layout_marginTop="10dp"
- android:layout_marginRight="10dp"
- android:background="@color/red"></com.edufound.reader.cusview.RoundFrameLayout>
- </FrameLayout>
- <ImageView
- android:id="@+id/fragment_main_user_customerservice"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:src="@drawable/fragment_my_customer_service"></ImageView>
- </LinearLayout>
- </LinearLayout>
- </FrameLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:divider="@drawable/fragment_user_info_divider"
- android:orientation="vertical"
- android:paddingLeft="50dp"
- android:showDividers="middle">
- <TextView
- android:id="@+id/fragment_main_user_myrecordsize"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center|left"
- android:paddingLeft="10dp"
- android:text="我的作品:0"
- android:textColor="@color/white"
- android:textSize="26dp"></TextView>
- <FrameLayout
- android:id="@+id/fragment_main_user_norecord"
- android:layout_width="400dp"
- android:layout_height="match_parent"
- android:visibility="gone">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:src="@drawable/fragment_user_no_record"></ImageView>
- </FrameLayout>
- <GridLayout
- android:id="@+id/fragment_my_recyclerview"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:orientation="vertical"></GridLayout>
- </LinearLayout>
- <Space
- android:id="@+id/fragment_main_user_bottomview"
- android:layout_width="50dp"
- android:layout_height="match_parent"></Space>
- </LinearLayout>
- </HorizontalScrollView>
- </FrameLayout>
|