137 lines
5.6 KiB
XML
137 lines
5.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout 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:background="@color/color_titlebar">
|
|
|
|
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
|
android:id="@+id/userphoto_title_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/color_titlebar"
|
|
android:elevation="@dimen/dp_10"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:ignore="MissingConstraints" />
|
|
|
|
<com.scwang.smart.refresh.layout.SmartRefreshLayout
|
|
android:id="@+id/refreshLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
app:layout_constraintBottom_toTopOf="@+id/layout_editphoto_bottom"
|
|
app:layout_constraintTop_toBottomOf="@+id/userphoto_title_bar"
|
|
app:srlAccentColor="@color/color_6b3689">
|
|
|
|
<com.dskj.rbchat.widget.BezierCircleHeader
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/recycler_photos"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginStart="@dimen/dimen_5_dp"
|
|
android:layout_marginTop="@dimen/dimen_5_dp"
|
|
android:layout_marginBottom="@dimen/dimen_5_dp"
|
|
android:overScrollMode="never" />
|
|
|
|
<com.scwang.smart.refresh.footer.ClassicsFooter
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:srlAccentColor="@color/color_333333" />
|
|
</com.scwang.smart.refresh.layout.SmartRefreshLayout>
|
|
|
|
<Button
|
|
android:id="@+id/btn_editphoto_add"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@mipmap/ic_useralbum_floatadd"
|
|
android:visibility="gone"
|
|
app:layout_constraintBottom_toTopOf="@+id/layout_editphoto_bottom"
|
|
app:layout_constraintRight_toRightOf="parent" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/layout_editphoto_bottom"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_56"
|
|
android:background="@android:color/white"
|
|
android:elevation="@dimen/dp_10"
|
|
android:orientation="horizontal"
|
|
android:visibility="gone"
|
|
app:layout_constraintBottom_toBottomOf="parent">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_editphoto_edit"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="1"
|
|
android:drawableTop="@mipmap/ic_useralbum_edit"
|
|
android:gravity="center"
|
|
android:text="@string/userphoto_edit_album"
|
|
android:textColor="@color/color_383838"
|
|
android:textSize="@dimen/sp_14" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_editphoto_manager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="1"
|
|
android:drawableTop="@mipmap/ic_useralbum_manager"
|
|
android:gravity="center"
|
|
android:text="@string/userphoto_edit_manager"
|
|
android:textColor="@color/color_383838"
|
|
android:textSize="@dimen/sp_14" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_editphoto_share"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="1"
|
|
android:drawableTop="@mipmap/ic_useralbum_share"
|
|
android:gravity="center"
|
|
android:text="@string/userphoto_edit_share"
|
|
android:textColor="@color/color_383838"
|
|
android:textSize="@dimen/sp_14" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/layout_operator_bottom"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_56"
|
|
android:background="@android:color/white"
|
|
android:elevation="@dimen/dp_10"
|
|
android:orientation="horizontal"
|
|
android:visibility="gone"
|
|
app:layout_constraintBottom_toBottomOf="parent">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_editphoto_move"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="1"
|
|
android:drawableTop="@mipmap/ic_useralbum_move"
|
|
android:gravity="center"
|
|
android:text="@string/userphoto_edit_move"
|
|
android:textColor="@color/color_383838"
|
|
android:textSize="@dimen/sp_14" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_editphoto_delete"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="1"
|
|
android:drawableTop="@mipmap/ic_useralbum_delete"
|
|
android:gravity="center"
|
|
android:text="@string/delete_text"
|
|
android:textColor="@color/color_383838"
|
|
android:textSize="@dimen/sp_14" />
|
|
|
|
|
|
</LinearLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |