123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286 |
- <?xml version="1.0" encoding="utf-8"?>
- <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:id="@+id/mine_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <android.support.design.widget.CoordinatorLayout
- android:layout_width="match_parent"
- android:layout_height="240dp">
- <ImageView
- android:id="@+id/mine_fragment_banner"
- android:layout_width="match_parent"
- android:layout_height="192dp"
- android:scaleType="center"
- android:src="@drawable/avchat_call_bg" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="192dp"
- android:gravity="center"
- android:orientation="horizontal">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:enabled="false"
- android:shadowColor="@color/black"
- android:shadowDx="1"
- android:shadowDy="1"
- android:shadowRadius="1"
- android:text="轻触换背景"
- android:textAlignment="center"
- android:textColor="@color/GreyWhite" />
- </LinearLayout>
- <ImageView
- android:id="@+id/mine_fragment_personal_settings"
- android:layout_width="30dp"
- android:layout_height="30dp"
- android:layout_margin="16dp"
- android:src="@drawable/mine_settings_white"
- app:layout_anchor="@id/mine_fragment_banner"
- app:layout_anchorGravity="top|right" />
- <com.netease.nim.uikit.common.ui.imageview.HeadImageView
- android:id="@+id/mine_fragment_avatar"
- android:layout_width="96dp"
- android:layout_height="96dp"
- android:src="@drawable/nim_avatar_group"
- app:layout_anchor="@id/mine_fragment_banner"
- app:layout_anchorGravity="bottom|center" />
- <ImageView
- android:id="@+id/mine_fragment_gender"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/mine_gender_male"
- app:layout_anchor="@id/mine_fragment_avatar"
- app:layout_anchorGravity="right|bottom"
- android:layout_margin="16dp"
- android:layout_marginEnd="10dp"
- android:layout_marginRight="10dp"/>
- </android.support.design.widget.CoordinatorLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:orientation="vertical">
- <TextView
- android:id="@+id/mine_fragment_username_tv"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
- android:layout_marginTop="16dp"
- android:text="用户昵称"
- android:textSize="16sp"
- android:textStyle="bold" />
- <TextView
- android:id="@+id/mine_fragment_id_tv"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
- android:text="id:000000000" />
- <GridLayout
- android:id="@+id/mine_fragment_photos_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:columnCount="4"/>
- <TextView
- android:id="@+id/textView8"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="8dp"
- android:layout_marginStart="8dp"
- android:paddingBottom="8dp"
- android:paddingTop="8dp"
- android:text="动态"
- android:textSize="16sp" />
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <LinearLayout
- android:id="@+id/mine_fragment_detail_circle"
- android:layout_width="match_parent"
- android:layout_height="80dp"
- android:background="#00000000"
- android:gravity="right"
- android:orientation="horizontal">
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:gravity="right|center"
- android:paddingLeft="200dp"
- android:paddingRight="20dp">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="..." />
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- app:srcCompat="@drawable/nim_arrow_right" />
- </LinearLayout>
- </LinearLayout>
- <GridLayout
- android:id="@+id/mine_fragment_details_tweet_photos_layout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:columnCount="4"></GridLayout>
- </RelativeLayout>
- <LinearLayout
- android:id="@+id/mine_fragment_options_layout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@color/color_background"
- android:orientation="vertical"
- android:paddingBottom="4dp"
- android:paddingTop="4dp">
- <!--附近的人-->
- <LinearLayout
- android:id="@+id/mine_fragment_nearby_people"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@color/white"
- android:clickable="true"
- android:orientation="horizontal"
- android:padding="8dp">
- <ImageView
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="2"
- android:src="@drawable/mine_nearby_people" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_marginLeft="8dp"
- android:layout_marginStart="8dp"
- android:layout_weight="7"
- android:text="附近的人"
- android:textStyle="bold" />
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_marginEnd="8dp"
- android:layout_marginRight="8dp"
- android:layout_weight="1"
- android:src="@drawable/right_arrow" />
- </LinearLayout>
- <!--我的便民帖-->
- <LinearLayout
- android:id="@+id/mine_fragment_trade"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@color/white"
- android:clickable="true"
- android:orientation="horizontal"
- android:padding="8dp">
- <ImageView
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="2"
- android:src="@drawable/mine_trade" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_marginLeft="8dp"
- android:layout_marginStart="8dp"
- android:layout_weight="7"
- android:text="我的快讯"
- android:textStyle="bold" />
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_marginEnd="8dp"
- android:layout_marginRight="8dp"
- android:layout_weight="1"
- android:src="@drawable/right_arrow" />
- </LinearLayout>
- <!--设置-->
- <LinearLayout
- android:id="@+id/mine_fragment_setting"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@color/white"
- android:clickable="true"
- android:orientation="horizontal"
- android:padding="8dp">
- <ImageView
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="2"
- android:src="@drawable/mine_settings" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_marginLeft="8dp"
- android:layout_marginStart="8dp"
- android:layout_weight="8"
- android:text="设置"
- android:textStyle="bold" />
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_marginEnd="8dp"
- android:layout_marginRight="8dp"
- android:layout_weight="1"
- android:src="@drawable/right_arrow" />
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- </ScrollView>
|