365 lines
16 KiB
XML
365 lines
16 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout 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/white"
|
|
android:orientation="vertical">
|
|
|
|
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
|
android:id="@+id/setting_title_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/white"
|
|
app:titleText="@string/teamsetting_other"
|
|
tools:ignore="MissingConstraints" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_1"
|
|
android:background="@color/color_f7f7f7" />
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:id="@+id/cl_root"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/white"
|
|
tools:context=".main.mine.MineInfoActivity">
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:id="@+id/card_view"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:layout_marginTop="@dimen/dp_5"
|
|
app:cardCornerRadius="@dimen/dp_10"
|
|
app:cardElevation="0dp"
|
|
app:layout_constraintDimensionRatio="345:130"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<ImageView
|
|
android:id="@+id/forbg_iv"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="centerCrop"
|
|
android:src="@mipmap/ic_settingother_bg" />
|
|
|
|
<!-- <ImageView-->
|
|
<!-- android:layout_width="wrap_content"-->
|
|
<!-- android:layout_height="wrap_content"-->
|
|
<!-- android:layout_alignParentRight="true"-->
|
|
<!-- android:layout_alignParentBottom="true"-->
|
|
<!-- android:layout_marginStart="@dimen/dp_5"-->
|
|
<!-- android:layout_marginTop="@dimen/dp_5"-->
|
|
<!-- android:layout_marginEnd="@dimen/dp_5"-->
|
|
<!-- android:layout_marginBottom="@dimen/dp_5"-->
|
|
<!-- android:src="@mipmap/add_head_forbg_img" />-->
|
|
<RelativeLayout
|
|
android:layout_width="@dimen/dp_60"
|
|
android:layout_height="@dimen/dp_60"
|
|
android:layout_centerInParent="true">
|
|
|
|
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
|
android:id="@+id/cavAvatar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:src="@mipmap/default_head_img"
|
|
app:es_shape_type="round" />
|
|
<!-- <ImageView-->
|
|
<!-- android:layout_width="wrap_content"-->
|
|
<!-- android:layout_height="wrap_content"-->
|
|
<!-- android:layout_margin="@dimen/dp_5"-->
|
|
<!-- android:layout_alignParentBottom="true"-->
|
|
<!-- android:layout_alignParentRight="true"-->
|
|
<!-- android:src="@mipmap/add_head_forbg_img"/>-->
|
|
</RelativeLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginLeft="@dimen/dp_15"
|
|
android:layout_marginTop="@dimen/dp_20"
|
|
android:layout_marginRight="@dimen/dp_15"
|
|
android:scrollbars="none"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/card_view">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llUserInfo"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
tools:ignore="SpUsage">
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llTeamName"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/teamsetting_other_teamname"
|
|
android:textColor="@color/color_333333"
|
|
android:textSize="@dimen/text_size_14" />
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_40">
|
|
|
|
<EditText
|
|
android:id="@+id/tvTeamName"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_40"
|
|
android:background="@android:color/transparent"
|
|
android:gravity="center_vertical"
|
|
android:maxLength="20"
|
|
android:singleLine="true"
|
|
android:textColor="@color/color_333333"
|
|
android:textSize="@dimen/sp_16" />
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/ic_clean_edit"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="end|center_vertical"
|
|
android:paddingLeft="@dimen/dp_10"
|
|
android:paddingEnd="@dimen/dp_10"
|
|
android:visibility="gone"
|
|
app:srcCompat="@drawable/ic_selector_close" />
|
|
</FrameLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_1"
|
|
android:background="@color/color_d8d8d8" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llteamMemberType"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_40">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/dp_10"
|
|
android:text="@string/teamsetting_other_addtype"
|
|
android:textColor="@color/color_333333"
|
|
android:textSize="@dimen/text_size_16" />
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
android:id="@+id/swich_addtype"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="@dimen/dimen_24_dp"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_gravity="end|center_vertical"
|
|
android:checked="true"
|
|
android:thumb="@drawable/switch_thumb_selector"
|
|
app:track="@drawable/switch_track_selector" />
|
|
|
|
</FrameLayout>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/dp_4"
|
|
android:layout_marginEnd="@dimen/dp_50"
|
|
android:text="@string/teamsetting_other_addtypedesc"
|
|
android:textColor="@color/color_7f7b81"
|
|
android:textSize="@dimen/text_size_14" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_1"
|
|
android:layout_marginTop="@dimen/dp_15"
|
|
android:background="@color/color_f4f4f4" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llteamurl"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_40"
|
|
android:layout_marginTop="@dimen/dp_5">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/dp_10"
|
|
android:layout_marginEnd="@dimen/dp_60"
|
|
android:background="@android:color/transparent"
|
|
android:ellipsize="end"
|
|
android:singleLine="true"
|
|
android:text="@string/teamsetting_other_teamurl"
|
|
android:textColor="@color/color_333333"
|
|
android:textSize="@dimen/text_size_16" />
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
android:id="@+id/swich_teamqr"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="@dimen/dimen_24_dp"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_gravity="end|center_vertical"
|
|
android:checked="true"
|
|
android:thumb="@drawable/switch_thumb_selector"
|
|
app:track="@drawable/switch_track_selector" />
|
|
|
|
</FrameLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_1"
|
|
android:layout_marginTop="@dimen/dp_5"
|
|
android:background="@color/color_f4f4f4" />
|
|
</LinearLayout>
|
|
|
|
<FrameLayout
|
|
android:id="@+id/flcleanhistory"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_54"
|
|
android:visibility="gone">
|
|
|
|
<TextView
|
|
android:id="@+id/tvhistory"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginEnd="64dp"
|
|
android:gravity="center_vertical"
|
|
android:singleLine="true"
|
|
android:text="@string/teamsetting_other_history"
|
|
android:textColor="@color/color_333333"
|
|
android:textSize="@dimen/sp_16" />
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="end|center_vertical"
|
|
android:src="@drawable/ic_frame_mine_right_arrow" />
|
|
</FrameLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_1"
|
|
android:layout_marginTop="@dimen/dp_5"
|
|
android:background="@color/color_f4f4f4"
|
|
android:visibility="gone" />
|
|
|
|
|
|
<FrameLayout
|
|
android:id="@+id/flteamhead"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_54">
|
|
|
|
<TextView
|
|
android:id="@+id/tvPhone"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginEnd="64dp"
|
|
android:gravity="center_vertical"
|
|
android:singleLine="true"
|
|
android:text="@string/teamsetting_other_teamhead"
|
|
android:textColor="@color/color_333333"
|
|
android:textSize="@dimen/sp_16" />
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="end|center_vertical"
|
|
android:src="@drawable/ic_frame_mine_right_arrow" />
|
|
</FrameLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_1"
|
|
android:background="@color/color_f4f4f4" />
|
|
|
|
<FrameLayout
|
|
android:id="@+id/flteamtransfer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_54">
|
|
|
|
<TextView
|
|
android:id="@+id/tvteamtransfer"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginEnd="64dp"
|
|
android:gravity="center_vertical"
|
|
android:singleLine="true"
|
|
android:text="@string/teamsetting_other_teamtransfer"
|
|
android:textColor="@color/color_333333"
|
|
android:textSize="@dimen/sp_16" />
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="end|center_vertical"
|
|
android:src="@drawable/ic_frame_mine_right_arrow" />
|
|
</FrameLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_1"
|
|
android:background="@color/color_f4f4f4" />
|
|
|
|
<FrameLayout
|
|
android:id="@+id/flteamdiss"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_54">
|
|
|
|
<TextView
|
|
android:id="@+id/tvteamdiss"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginEnd="64dp"
|
|
android:gravity="center_vertical"
|
|
android:singleLine="true"
|
|
android:text="@string/teamsetting_other_teamdiss"
|
|
android:textColor="@color/color_333333"
|
|
android:textSize="@dimen/sp_16" />
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="end|center_vertical"
|
|
android:src="@drawable/ic_frame_mine_right_arrow" />
|
|
</FrameLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_1"
|
|
android:background="@color/color_f4f4f4" />
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
|
|
</LinearLayout>
|