taomenggo init
This commit is contained in:
121
app/src/main/res/layout/activity_about.xml
Normal file
121
app/src/main/res/layout/activity_about.xml
Normal file
@@ -0,0 +1,121 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".about.AboutActivity"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
>
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/about_title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
<ImageView android:id="@+id/about_logo_iv"
|
||||
android:layout_width="@dimen/dimen_46_dp"
|
||||
android:layout_height="@dimen/dimen_46_dp"
|
||||
android:src="@drawable/ic_yunxin"
|
||||
tools:ignore="MissingConstraints"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:layout_marginTop="@dimen/dimen_46_dp"/>
|
||||
|
||||
<TextView android:id="@+id/about_app_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="@dimen/sp_24"
|
||||
android:textColor="@color/color_333333"
|
||||
android:text="@string/yunxin_name"
|
||||
app:layout_constraintTop_toBottomOf="@id/about_logo_iv"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"/>
|
||||
|
||||
|
||||
<LinearLayout android:id="@+id/llUserInfo"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/rectangle_white_reduce_bg"
|
||||
android:layout_marginRight="@dimen/dimen_20_dp"
|
||||
android:layout_marginLeft="@dimen/dimen_20_dp"
|
||||
android:layout_marginTop="@dimen/dp_16"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/about_app_tv"
|
||||
tools:ignore="SpUsage">
|
||||
|
||||
<FrameLayout android:id="@+id/flVersion"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="46dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvVersionTip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="46dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/mine_version"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvVersion"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="46dp"
|
||||
android:gravity="end|center_vertical"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_14"
|
||||
android:layout_gravity="end|center_vertical"/>
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="20dp"
|
||||
android:background="@color/color_f5f8fc"/>
|
||||
|
||||
<FrameLayout android:id="@+id/flProduct"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="46dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvProductTip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="46dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/mine_product"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16dp"
|
||||
tools:ignore="SpUsage" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvProduct"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="46dp"
|
||||
android:layout_marginEnd="12dp"
|
||||
android:gravity="end|center_vertical"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/color_a6adb6"
|
||||
android:textSize="12dp"
|
||||
android:layout_marginStart="@dimen/dp_50"
|
||||
android:layout_gravity="end|center_vertical"/>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="16dp"
|
||||
android:src="@drawable/ic_frame_mine_right_arrow"
|
||||
android:layout_gravity="end|center_vertical"/>
|
||||
</FrameLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
179
app/src/main/res/layout/activity_activity_change.xml
Normal file
179
app/src/main/res/layout/activity_activity_change.xml
Normal file
@@ -0,0 +1,179 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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:id="@+id/big_ry"
|
||||
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
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/color_white"
|
||||
app:titleText="@string/forget_password_title"
|
||||
tools:ignore="MissingConstraints" />
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:layout_below="@id/setting_title_bar"
|
||||
android:id="@+id/contact_list_activity_titleBar"
|
||||
android:background="@color/color_f7f7f7" />
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/middle_ly"
|
||||
android:layout_below="@id/contact_list_activity_titleBar"
|
||||
android:layout_marginTop="30dp"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:id="@+id/phone_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="24dp"
|
||||
android:layout_marginRight="24dp"
|
||||
android:background="@drawable/input_bg"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="visible">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/area_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="52dp"
|
||||
android:gravity="center_vertical"
|
||||
android:minWidth="74dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="8dp"
|
||||
android:text="+886"
|
||||
android:textColor="#333333"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/login_form_uidEdit"
|
||||
style="@style/login_edit_text_style"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_weight="1"
|
||||
android:ems="10"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="@string/login_form_hint_loginname"
|
||||
android:inputType="phone"
|
||||
android:paddingLeft="8dp"
|
||||
android:singleLine="true"
|
||||
android:text=""
|
||||
android:textColor="#333333"
|
||||
android:textColorHighlight="#D2CBDF"
|
||||
android:textColorHint="#D2CBDF">
|
||||
|
||||
<requestFocus />
|
||||
</TextView>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:id="@+id/password_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="24dp"
|
||||
android:layout_marginRight="24dp"
|
||||
android:background="@drawable/input_bg"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginTop="20dp"
|
||||
android:visibility="visible">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/password_text"
|
||||
style="@style/login_edit_text_style"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="@string/set_new_pass_hint_txt"
|
||||
android:inputType="textPassword"
|
||||
android:maxLength="20"
|
||||
android:paddingLeft="21dp"
|
||||
android:singleLine="true"
|
||||
android:text=""
|
||||
android:textColor="#333333"
|
||||
android:textColorHighlight="#D2CBDF"
|
||||
android:textColorHint="#D2CBDF">
|
||||
|
||||
<requestFocus />
|
||||
</EditText>
|
||||
|
||||
<!-- <ImageView-->
|
||||
<!-- android:id="@+id/pass_show_iv"-->
|
||||
<!-- android:layout_width="wrap_content"-->
|
||||
<!-- android:layout_height="wrap_content"-->
|
||||
<!-- android:layout_marginRight="19dp"-->
|
||||
<!-- android:gravity="center_vertical"-->
|
||||
<!-- android:src="@drawable/yanjing_hide" />-->
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/code_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="24dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginRight="24dp"
|
||||
android:background="@drawable/input_bg"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="visible">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/password_edit_text"
|
||||
style="@style/login_edit_text_style"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="@string/vcode_hint_txt"
|
||||
android:inputType="number"
|
||||
android:paddingLeft="21dp"
|
||||
android:singleLine="true"
|
||||
android:text=""
|
||||
android:textColor="#333333"
|
||||
android:textColorHighlight="#D2CBDF"
|
||||
android:textColorHint="#D2CBDF">
|
||||
|
||||
<requestFocus />
|
||||
</EditText>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/getcode_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="8dp"
|
||||
android:text="@string/get_code_txt"
|
||||
android:textColor="@color/color_6b3689"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/succ_iv"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="100dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:src="@mipmap/success_img"
|
||||
android:scaleType="fitXY"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/sumbit_bt"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_below="@id/middle_ly"
|
||||
android:layout_marginLeft="30dp"
|
||||
android:layout_marginTop="60dp"
|
||||
android:layout_marginRight="30dp"
|
||||
android:background="@drawable/logout_btn2"
|
||||
android:gravity="center"
|
||||
android:text="@string/sure_txt"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
268
app/src/main/res/layout/activity_addfriends.xml
Normal file
268
app/src/main/res/layout/activity_addfriends.xml
Normal file
@@ -0,0 +1,268 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<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="@android:color/white"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/titleBarView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:titleText="@string/add_friend"
|
||||
app:titleTextColor="@android:color/black" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_addfriend_top"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_90"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintTop_toBottomOf="@+id/titleBarView">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/saoyisao_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:drawableTop="@mipmap/ic_addfriend_saoyisao"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:gravity="center"
|
||||
android:text="@string/saoyisao_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/qrcode_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:drawableTop="@mipmap/ic_addfriend_qrcode"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:gravity="center"
|
||||
android:text="@string/addfriend_qrcode_text"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_addfriends_search"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:drawableTop="@mipmap/ic_addfriend_search"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:gravity="center"
|
||||
android:text="@string/addfriend_search_text"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/line_addfriendtop"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_0_5"
|
||||
android:background="@color/fun_page_bg_color"
|
||||
app:layout_constraintTop_toBottomOf="@+id/layout_addfriend_top" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/middle_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/line_addfriendtop"
|
||||
android:orientation="vertical">
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/tongxunlu_cly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_addfriend_tongxl"
|
||||
android:layout_width="@dimen/dp_45"
|
||||
android:layout_height="@dimen/dp_45"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:srcCompat="@mipmap/ic_addfriend_opentxl" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_addfriend_opentxl"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:text="@string/addfriend_opentxl_text"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
app:layout_constraintLeft_toRightOf="@+id/iv_addfriend_tongxl"
|
||||
app:layout_constraintTop_toTopOf="@+id/iv_addfriend_tongxl" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/addfriend_opentxlhit_text"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/iv_addfriend_tongxl"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/tv_addfriend_opentxl"
|
||||
app:layout_constraintLeft_toRightOf="@+id/iv_addfriend_tongxl" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@drawable/cornor_6877fe_20dp"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:paddingTop="@dimen/dp_5"
|
||||
android:paddingRight="@dimen/dp_15"
|
||||
android:paddingBottom="@dimen/dp_5"
|
||||
android:text="@string/addfriend_open_text"
|
||||
android:id="@+id/qiyong_tv"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/iv_addfriend_tongxl"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/iv_addfriend_tongxl" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_addfriend_applylist"
|
||||
android:layout_width="@dimen/dp_45"
|
||||
android:layout_height="@dimen/dp_45"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:srcCompat="@mipmap/ic_addfriend_apply" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_addfriend_applylist"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/addfriend_apply_text"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
app:layout_constraintLeft_toRightOf="@+id/iv_addfriend_applylist"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/iv_addfriend_applylist"
|
||||
app:layout_constraintTop_toTopOf="@+id/iv_addfriend_applylist" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_addfriends_applynumber"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:background="@drawable/point_chat_ff4e54"
|
||||
android:paddingStart="@dimen/dp_6"
|
||||
android:paddingEnd="@dimen/dp_6"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/sp_14"
|
||||
android:visibility="gone"
|
||||
|
||||
app:layout_constraintBottom_toBottomOf="@+id/iv_addfriend_applylist"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/iv_addfriend_applylist" />
|
||||
|
||||
<View
|
||||
android:id="@+id/view_applylistclick"
|
||||
android:layout_width="@dimen/dp_0"
|
||||
android:layout_height="@dimen/dp_0"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/iv_addfriend_applylist"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="@+id/iv_addfriend_applylist"
|
||||
app:layout_constraintTop_toTopOf="@+id/iv_addfriend_applylist" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_addfriend_addgroup"
|
||||
android:layout_width="@dimen/dp_45"
|
||||
android:layout_height="@dimen/dp_45"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/middle_ly"
|
||||
app:srcCompat="@mipmap/ic_addfriend_group" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/addfriend_addgroup_text"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
app:layout_constraintLeft_toRightOf="@+id/iv_addfriend_addgroup"
|
||||
app:layout_constraintTop_toTopOf="@+id/iv_addfriend_addgroup" />
|
||||
|
||||
<View
|
||||
android:id="@+id/view_creatgroupclick"
|
||||
android:layout_width="@dimen/dp_0"
|
||||
android:layout_height="60dp"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/middle_ly"/>
|
||||
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/addfriend_addgrouphit_text"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="@dimen/sp_14"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
|
||||
app:layout_constraintBottom_toBottomOf="@+id/iv_addfriend_addgroup"
|
||||
app:layout_constraintLeft_toRightOf="@+id/iv_addfriend_addgroup"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_addfriends_knows"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:text="@string/addfriend_maybeknow_text"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
|
||||
app:layout_constraintLeft_toLeftOf="@+id/middle_ly"
|
||||
app:layout_constraintTop_toBottomOf="@+id/iv_addfriend_addgroup" />
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="visible"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/middle_ly"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_addfriends_knows"
|
||||
android:id="@+id/recycler"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_100"
|
||||
android:text="@string/myknrsdr_txt"
|
||||
android:textColor="@color/color_d4dbd6"
|
||||
android:textSize="@dimen/sp_14"
|
||||
android:id="@+id/nodate_tv"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/middle_ly"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_addfriends_knows" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
213
app/src/main/res/layout/activity_addphotos.xml
Normal file
213
app/src/main/res/layout/activity_addphotos.xml
Normal file
@@ -0,0 +1,213 @@
|
||||
<?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="@android:color/white">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/addphoto_title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/color_titlebar"
|
||||
app:titleText="@string/userphoto_create_titile"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_userphoto_create"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:background="@drawable/cornor_6d80ff_dp50"
|
||||
android:backgroundTint="@color/color_themeblue_alpha70"
|
||||
android:paddingStart="@dimen/dp_15"
|
||||
android:paddingTop="@dimen/dp_5"
|
||||
android:paddingEnd="@dimen/dp_15"
|
||||
android:paddingBottom="@dimen/dp_5"
|
||||
android:text="@string/userphoto_create_titile"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/addphoto_title_bar"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/addphoto_title_bar" />
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/addphoto_title_bar">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_15"
|
||||
android:text="@string/userphoto_create_xiangbuming"
|
||||
android:textColor="@color/color_383838"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/edit_userphoto_mingcheng"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@android:color/transparent"
|
||||
android:hint="@string/userphoto_create_tianxiexbmc"
|
||||
android:paddingTop="@dimen/dp_15"
|
||||
android:paddingBottom="@dimen/dp_10"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="@color/color_999999"
|
||||
android:textSize="@dimen/sp_18" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:background="@color/color_lineddd" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_userphotocover"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_60"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingTop="@dimen/dp_20"
|
||||
android:paddingBottom="@dimen/dp_20"
|
||||
android:text="@string/userphoto_edit_cover"
|
||||
android:textColor="@color/color_383838"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/cavCover"
|
||||
android:layout_width="@dimen/dp_40"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
app:avatarCorner="@dimen/dp_20"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_5"
|
||||
android:background="@drawable/ic_frame_mine_right_arrow" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/line_cover"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:background="@color/color_lineddd"
|
||||
android:visibility="gone" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_userphototype"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingTop="@dimen/dp_20"
|
||||
android:paddingBottom="@dimen/dp_20"
|
||||
android:text="@string/userphoto_create_xiangbuleixing"
|
||||
android:textColor="@color/color_383838"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_userphoto_type"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingStart="@dimen/dp_15"
|
||||
android:text="@string/userphoto_create_xiangbugongkai"
|
||||
android:textColor="@color/color_383838"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableRightCompat="@drawable/ic_frame_mine_right_arrow" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:background="@color/color_lineddd" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_userphoto_setpwsd"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/userphoto_create_xiangbumima"
|
||||
android:textColor="@color/color_383838"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/edit_userphoto_mima"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@android:color/transparent"
|
||||
android:paddingTop="@dimen/dp_15"
|
||||
android:paddingBottom="@dimen/dp_10"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:background="@color/color_lineddd" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_addphoto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/userphoto_create_shangchuanxp"
|
||||
android:textColor="@color/color_383838"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recycler"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_15" />
|
||||
</LinearLayout>
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_editphoto_delete"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_48"
|
||||
android:layout_marginTop="@dimen/dp_60"
|
||||
android:background="@drawable/index_user_bg3"
|
||||
android:gravity="center"
|
||||
android:text="@string/userphoto_edit_delete"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:visibility="visible" />
|
||||
</LinearLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
57
app/src/main/res/layout/activity_aichat.xml
Normal file
57
app/src/main/res/layout/activity_aichat.xml
Normal file
@@ -0,0 +1,57 @@
|
||||
<?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:orientation="vertical">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/titlebar_aichat"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:background="@android:color/white"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recycler_chat"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:scrollbars="vertical"
|
||||
app:layout_constraintBottom_toTopOf="@+id/layout_aichatbottom"
|
||||
app:layout_constraintTop_toBottomOf="@+id/titlebar_aichat" />
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_aichatbottom"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_60"
|
||||
android:background="@android:color/white"
|
||||
app:layout_constraintBottom_toBottomOf="parent">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/edit_inputchat"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@drawable/bg_message_search_et"
|
||||
android:ellipsize="end"
|
||||
android:hint="@string/fun_chat_input_hint_tips"
|
||||
android:imeOptions="actionSend"
|
||||
android:inputType="text"
|
||||
android:maxLength="2000"
|
||||
android:paddingStart="@dimen/dimen_12_dp"
|
||||
android:paddingEnd="@dimen/dimen_12_dp"
|
||||
android:singleLine="true"
|
||||
android:textColorHint="@color/color_b3b7bc"
|
||||
android:textCursorDrawable="@null"
|
||||
android:textSize="@dimen/text_size_16"
|
||||
tools:ignore="LabelFor" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
129
app/src/main/res/layout/activity_authorize.xml
Normal file
129
app/src/main/res/layout/activity_authorize.xml
Normal file
@@ -0,0 +1,129 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.appcompat.widget.LinearLayoutCompat 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:foreground="?android:attr/selectableItemBackground"
|
||||
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/color_fcfcfc"
|
||||
app:titleText="@string/shouquandenglu_txt"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_f7f7f7" />
|
||||
|
||||
<com.dskj.rbchat.widget.CircleImageView
|
||||
android:id="@+id/logo_iv"
|
||||
android:layout_width="@dimen/dp_48"
|
||||
android:layout_height="@dimen/dp_48"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_60"
|
||||
android:src="@mipmap/taoleting_img"
|
||||
app:ease_radius="@dimen/dp_6"
|
||||
app:es_shape_type="rectangle" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/logo_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:text="@string/tltdbj_txt"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:text="@string/seqs_dl_txt"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="@dimen/sp_20" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:text="@string/ndnc_txt"
|
||||
android:textColor="#ff7f7b81"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/cavIcon"
|
||||
android:layout_width="@dimen/dp_64"
|
||||
android:layout_height="@dimen/dp_64"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_60" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/user_name_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_18" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/jujue_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:layout_marginBottom="@dimen/dp_64"
|
||||
android:background="@drawable/index_user_bg3"
|
||||
android:gravity="center"
|
||||
android:paddingTop="@dimen/dp_13"
|
||||
android:paddingBottom="@dimen/dp_13"
|
||||
android:singleLine="true"
|
||||
android:text="@string/jujue_txt"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/dp_16"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/notify_message_ll"
|
||||
tools:ignore="NotSibling,SpUsage" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/yunxu_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@id/jujue_tv"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginTop="@dimen/dp_16"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:layout_marginBottom="@dimen/dp_20"
|
||||
android:background="@drawable/index_user_bg4"
|
||||
android:gravity="center"
|
||||
android:paddingTop="@dimen/dp_13"
|
||||
android:paddingBottom="@dimen/dp_13"
|
||||
android:singleLine="true"
|
||||
android:text="@string/yunxu_txt"
|
||||
android:textColor="@color/colorWhite"
|
||||
android:textSize="@dimen/dp_16"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/notify_message_ll"
|
||||
tools:ignore="NotSibling,SpUsage" />
|
||||
</RelativeLayout>
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
366
app/src/main/res/layout/activity_base_chatsetting.xml
Normal file
366
app/src/main/res/layout/activity_base_chatsetting.xml
Normal file
@@ -0,0 +1,366 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<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="@android:color/white">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvTitle"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="48dp"
|
||||
android:ellipsize="middle"
|
||||
android:gravity="center"
|
||||
android:paddingStart="@dimen/dp_45"
|
||||
android:paddingEnd="@dimen/dp_45"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_20"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.0"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:ignore="SpUsage" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/ivBack"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_48"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:paddingStart="@dimen/dimen_15_dp"
|
||||
app:srcCompat="@drawable/ic_arrow_left"/>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/llteamsetting_top"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tvTitle">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvnotify"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="1"
|
||||
android:drawablePadding="@dimen/dp_10"
|
||||
android:gravity="center"
|
||||
android:text="@string/teamsetting_notifyclose"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_14"
|
||||
app:drawableTopCompat="@mipmap/ic_setting_notifyopen" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvmember"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="1"
|
||||
android:drawablePadding="@dimen/dp_10"
|
||||
android:gravity="center"
|
||||
android:text="@string/teamsetting_members"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_14"
|
||||
app:drawableTopCompat="@mipmap/ic_setting_members" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvinvited"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="1"
|
||||
android:drawablePadding="@dimen/dp_10"
|
||||
android:gravity="center"
|
||||
android:text="@string/teamsetting_invited"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_14"
|
||||
app:drawableTopCompat="@mipmap/ic_setting_invited" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvexit"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="1"
|
||||
android:drawablePadding="@dimen/dp_10"
|
||||
android:gravity="center"
|
||||
android:text="@string/teamsetting_exit"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_14"
|
||||
app:drawableTopCompat="@mipmap/ic_setting_exit" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvpingbi"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="1"
|
||||
android:drawablePadding="@dimen/dp_10"
|
||||
android:gravity="center"
|
||||
android:text="@string/personsetting_bingbiopen"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_14"
|
||||
android:visibility="gone"
|
||||
app:drawableTopCompat="@mipmap/ic_setting_pingbi_close" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<View
|
||||
android:id="@+id/lineteamsetting"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_0_5"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:background="@color/color_ededed"
|
||||
app:layout_constraintTop_toBottomOf="@+id/llteamsetting_top" />
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/ctlayout_photo"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
app:layout_constraintTop_toBottomOf="@+id/lineteamsetting">
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvteamsetting_photo"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:gravity="center"
|
||||
android:text="@string/teamsetting_photo"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
app:drawableStartCompat="@mipmap/ic_setting_photo"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/ivphoto_enter"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/tvteamsetting_photo"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:srcCompat="@mipmap/ic_setting_enter" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/llteamsetting_photo"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_84"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:background="@drawable/cornor_f4f4f4_6dp"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tvteamsetting_photo">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recyclerssss"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_84"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/no_date_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/nophone_video_txt"
|
||||
android:visibility="gone" />
|
||||
</LinearLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/flteamurl"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/ctlayout_photo">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvteamsetting_link"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:text="@string/teamsetting_link"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
|
||||
app:drawableStartCompat="@mipmap/ic_setting_link"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/llteamsetting_photo" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical|right"
|
||||
app:srcCompat="@mipmap/ic_setting_enter" />
|
||||
</FrameLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/flteaminfo"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/flteamurl">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvteamsetting_info"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:text="@string/teamsetting_info"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
app:drawableStartCompat="@mipmap/ic_setting_message" />
|
||||
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical|right"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/tvteamsetting_info"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/ivlink_enter"
|
||||
app:srcCompat="@mipmap/ic_setting_enter" />
|
||||
</FrameLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/rlteam_announcement"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/flteaminfo">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvteamsetting_announcement"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:gravity="center"
|
||||
android:text="@string/teamsetting_other_announcement"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
app:drawableStartCompat="@drawable/ic_chat_titleannouncement" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="end|center_vertical"
|
||||
app:srcCompat="@mipmap/ic_setting_enter" />
|
||||
</FrameLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/rlteam_clearhistory"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/rlteam_announcement">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvteamsetting_clean"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:gravity="center"
|
||||
android:text="@string/teamsetting_other_history"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
app:drawableStartCompat="@mipmap/ic_setting_set1" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="end|center_vertical"
|
||||
app:srcCompat="@mipmap/ic_setting_enter" />
|
||||
</FrameLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/rlteam_jubao"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/rlteam_clearhistory">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvteamsetting_jubao"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:gravity="center"
|
||||
android:text="@string/teamsetting_jubao"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
app:drawableStartCompat="@mipmap/ic_setting_set2" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="end|center_vertical"
|
||||
app:srcCompat="@mipmap/ic_setting_enter" />
|
||||
</FrameLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/rlteam_set"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/rlteam_jubao">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvteamsetting_set"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:gravity="center"
|
||||
android:text="@string/teamsetting_other"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
app:drawableStartCompat="@mipmap/ic_setting_set" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="end|center_vertical"
|
||||
app:srcCompat="@mipmap/ic_setting_enter" />
|
||||
</FrameLayout>
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
307
app/src/main/res/layout/activity_change_accout_action.xml
Normal file
307
app/src/main/res/layout/activity_change_accout_action.xml
Normal file
@@ -0,0 +1,307 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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:id="@+id/big_ry"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/white"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
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"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:layout_below="@id/setting_title_bar"
|
||||
android:id="@+id/contact_list_activity_titleBar"
|
||||
android:background="@color/color_f7f7f7" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/middle_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/contact_list_activity_titleBar"
|
||||
android:layout_marginTop="30dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step1_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="visible">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/phone_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="30dp"
|
||||
android:layout_marginRight="30dp"
|
||||
android:background="@drawable/input_bg"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="visible">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/area_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="50dp"
|
||||
android:drawableRight="@mipmap/select_county_img"
|
||||
android:gravity="center_vertical"
|
||||
android:minWidth="74dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="8dp"
|
||||
android:text="+886"
|
||||
android:textColor="#333333"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/login_form_uidEdit"
|
||||
style="@style/login_edit_text_style"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_weight="1"
|
||||
android:ems="10"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="@string/login_form_hint_loginname"
|
||||
android:inputType="phone"
|
||||
android:paddingLeft="8dp"
|
||||
android:singleLine="true"
|
||||
android:text=""
|
||||
android:textColor="#333333"
|
||||
android:textColorHighlight="#D2CBDF"
|
||||
android:textColorHint="#D2CBDF">
|
||||
|
||||
<requestFocus />
|
||||
</EditText>
|
||||
</LinearLayout>
|
||||
|
||||
<!-- <View-->
|
||||
<!-- android:id="@+id/line_1"-->
|
||||
<!-- android:layout_width="match_parent"-->
|
||||
<!-- android:layout_height="0.5dp"-->
|
||||
<!-- android:layout_marginLeft="24dp"-->
|
||||
<!-- android:layout_marginRight="24dp"-->
|
||||
<!-- android:background="#1a000000" />-->
|
||||
|
||||
<TextView
|
||||
android:id="@+id/phone_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginLeft="24dp"
|
||||
android:gravity="center_vertical"
|
||||
android:minWidth="74dp"
|
||||
android:paddingLeft="21dp"
|
||||
android:text="+886"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="18sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/code_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="30dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginRight="30dp"
|
||||
android:background="@drawable/input_bg"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="visible">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/password_edit_text"
|
||||
style="@style/login_edit_text_style"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="@string/vcode_hint_txt"
|
||||
android:inputType="number"
|
||||
android:paddingLeft="21dp"
|
||||
android:singleLine="true"
|
||||
android:text=""
|
||||
android:textColor="#333333"
|
||||
android:textColorHighlight="#D2CBDF"
|
||||
android:textColorHint="#D2CBDF">
|
||||
|
||||
<requestFocus />
|
||||
</EditText>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/getcode_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginRight="19dp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="8dp"
|
||||
android:text="@string/get_code_txt"
|
||||
android:textColor="@color/color_6b3689"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- <View-->
|
||||
<!-- android:layout_width="match_parent"-->
|
||||
<!-- android:layout_height="0.5dp"-->
|
||||
<!-- android:layout_marginLeft="24dp"-->
|
||||
<!-- android:layout_marginRight="24dp"-->
|
||||
<!-- android:background="#1a000000" />-->
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step2_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title_step2_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginLeft="23dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/set_new_pass_txt"
|
||||
android:textColor="#ff303336"
|
||||
android:textSize="24sp" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/password_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="30dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginRight="30dp"
|
||||
android:background="@drawable/input_bg"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="visible">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/password_text"
|
||||
style="@style/login_edit_text_style"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="@string/password_hint_txt"
|
||||
android:inputType="textPassword"
|
||||
android:maxLength="20"
|
||||
android:paddingLeft="21dp"
|
||||
android:singleLine="true"
|
||||
android:text=""
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHighlight="@color/color_666666"
|
||||
android:textColorHint="@color/color_666666">
|
||||
|
||||
<requestFocus />
|
||||
</EditText>
|
||||
|
||||
<!-- <ImageView-->
|
||||
<!-- android:id="@+id/pass_show_iv"-->
|
||||
<!-- android:layout_width="wrap_content"-->
|
||||
<!-- android:layout_height="wrap_content"-->
|
||||
<!-- android:layout_marginRight="19dp"-->
|
||||
<!-- android:gravity="center_vertical"-->
|
||||
<!-- android:src="@drawable/yanjing_hide" />-->
|
||||
</LinearLayout>
|
||||
|
||||
<com.dskj.rbchat.custom.PasswordEditText
|
||||
android:id="@+id/password_edit_text_code"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="60dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="24dp"
|
||||
android:visibility="gone"
|
||||
app:bgInputed="@drawable/bg_inputed"
|
||||
app:bgInputing="@drawable/bg_inputing"
|
||||
app:count="6"
|
||||
app:passwordSize="26"
|
||||
app:showPassword="false">
|
||||
|
||||
</com.dskj.rbchat.custom.PasswordEditText>
|
||||
|
||||
<View
|
||||
android:id="@+id/line_step2_v"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="24dp"
|
||||
android:layout_marginRight="24dp"
|
||||
android:background="#1a000000" />
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/succ_iv"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="100dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:src="@mipmap/success_img"
|
||||
android:layout_marginTop="@dimen/dp_40"
|
||||
android:scaleType="fitXY"
|
||||
android:visibility="gone" />
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:id="@+id/succ_tv"
|
||||
android:visibility="gone"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="18sp"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/sumbit_bt"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_below="@id/middle_ly"
|
||||
android:layout_marginLeft="30dp"
|
||||
android:layout_marginTop="60dp"
|
||||
android:layout_marginRight="30dp"
|
||||
android:background="@drawable/logout_btn2"
|
||||
android:gravity="center"
|
||||
android:text="@string/next_txt"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/area_card"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="375dp"
|
||||
android:layout_alignTop="@id/middle_ly"
|
||||
android:layout_marginLeft="24dp"
|
||||
android:layout_marginRight="24dp"
|
||||
android:visibility="gone"
|
||||
app:cardBackgroundColor="@color/color_6b3689"
|
||||
app:cardCornerRadius="20dp"
|
||||
app:cardElevation="0dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/name_area_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:drawableRight="@mipmap/select_county_img"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="15dp"
|
||||
android:text="CHINA +86"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recylerview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
</RelativeLayout>
|
||||
134
app/src/main/res/layout/activity_change_paypassword.xml
Normal file
134
app/src/main/res/layout/activity_change_paypassword.xml
Normal file
@@ -0,0 +1,134 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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:id="@+id/big_ry"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<com.dskj.rbchat.widget.StatusLayout
|
||||
android:id="@+id/st_step2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
</com.dskj.rbchat.widget.StatusLayout>
|
||||
|
||||
|
||||
<ImageView
|
||||
|
||||
android:id="@+id/back_step2_bt"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="50dp"
|
||||
android:scaleType="centerInside"
|
||||
android:layout_below="@id/st_step2"
|
||||
android:src="@mipmap/back_img"
|
||||
android:visibility="visible" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/middle_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="118dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step2_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="visible">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title_step2_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginLeft="30dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/qszzfmm_txt"
|
||||
android:textColor="#ff303336"
|
||||
android:textSize="24sp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/tips1"
|
||||
android:layout_marginLeft="30dp"
|
||||
android:text="@string/qsrlwcszmm_txt"
|
||||
android:layout_marginTop="10dp"
|
||||
android:textColor="#ff7e7b84"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
|
||||
<com.dskj.rbchat.custom.PasswordEditText
|
||||
android:id="@+id/password_edit_text_code"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="60dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="24dp"
|
||||
android:visibility="visible"
|
||||
app:bgInputed="@drawable/bg_inputed"
|
||||
app:bgInputing="@drawable/bg_inputing"
|
||||
app:count="6"
|
||||
app:passwordSize="26"
|
||||
app:showPassword="false">
|
||||
|
||||
</com.dskj.rbchat.custom.PasswordEditText>
|
||||
|
||||
<com.dskj.rbchat.custom.PasswordEditText
|
||||
android:id="@+id/password_edit_text_code1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="60dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="24dp"
|
||||
android:visibility="gone"
|
||||
app:bgInputed="@drawable/bg_inputed"
|
||||
app:bgInputing="@drawable/bg_inputing"
|
||||
app:count="6"
|
||||
app:passwordSize="26"
|
||||
app:showPassword="false">
|
||||
|
||||
</com.dskj.rbchat.custom.PasswordEditText>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/succ_iv"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="100dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:src="@mipmap/success_img"
|
||||
android:layout_marginTop="@dimen/dp_40"
|
||||
android:scaleType="fitXY"
|
||||
android:visibility="gone" />
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:id="@+id/succ_tv"
|
||||
android:visibility="gone"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="18sp"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/sumbit_bt"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="52dp"
|
||||
android:layout_below="@id/middle_ly"
|
||||
android:layout_marginLeft="30dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="60dp"
|
||||
android:layout_marginRight="30dp"
|
||||
android:background="@drawable/index_user_bg4"
|
||||
android:gravity="center"
|
||||
android:text="@string/next_txt"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="16sp" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
290
app/src/main/res/layout/activity_change_phone.xml
Normal file
290
app/src/main/res/layout/activity_change_phone.xml
Normal file
@@ -0,0 +1,290 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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:id="@+id/big_ry"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/white"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
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/color_fcfcfc"
|
||||
app:titleText="@string/gengaibangdingshoujihao_txt"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
<View
|
||||
android:id="@+id/contact_list_activity_titleBar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:layout_below="@id/setting_title_bar"
|
||||
android:background="@color/color_f7f7f7" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/middle_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/contact_list_activity_titleBar"
|
||||
android:layout_marginTop="30dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step_1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:visibility="visible">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/yibangshoujihao_txt"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="18sp" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/phone_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:text="153****8326"
|
||||
android:textColor="#ff7e7b84"
|
||||
android:textSize="24sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step_2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:text="@string/qsryzm_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/send_sms_tips_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:text="@string/djfsyzm_txt"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
||||
<com.dskj.rbchat.custom.PasswordEditText
|
||||
android:id="@+id/password_edit_text_code"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="60dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="60dp"
|
||||
app:bgInputed="@drawable/bg_inputed"
|
||||
app:bgInputing="@drawable/bg_inputing"
|
||||
app:count="4"
|
||||
app:passwordSize="26"
|
||||
app:showPassword="true">
|
||||
|
||||
</com.dskj.rbchat.custom.PasswordEditText>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/send_sms_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/get_code_txt"
|
||||
android:textColor="@color/color_6b3689"
|
||||
android:textSize="14sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step3"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/srndsjh_txt1"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/mobile_tips_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/xiugai_tips_txt"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_90"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/area_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:drawableRight="@mipmap/select_county_img"
|
||||
android:gravity="center_vertical"
|
||||
android:text="台湾 +886"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="18sp" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/phone_et"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:background="@color/transparent"
|
||||
android:hint="@string/qsrsjh_txt"
|
||||
android:inputType="phone"
|
||||
android:paddingLeft="@dimen/dp_20"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="@color/color_bcbcbc"
|
||||
android:textSize="@dimen/sp_18" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_d8d8d8" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step_4"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:text="@string/qsryzm_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/send_sms_tips_tv1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:text="@string/djfsyzm_txt"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
||||
<com.dskj.rbchat.custom.PasswordEditText
|
||||
android:id="@+id/password_edit_text_code1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="60dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="60dp"
|
||||
app:bgInputed="@drawable/bg_inputed"
|
||||
app:bgInputing="@drawable/bg_inputing"
|
||||
app:count="4"
|
||||
app:passwordSize="26"
|
||||
app:showPassword="true">
|
||||
|
||||
</com.dskj.rbchat.custom.PasswordEditText>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/send_sms_tv1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/get_code_txt"
|
||||
android:textColor="@color/color_6d80ff"
|
||||
android:textSize="14sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/sumbit_bt"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_below="@id/middle_ly"
|
||||
android:layout_marginLeft="30dp"
|
||||
android:layout_marginTop="60dp"
|
||||
android:layout_marginRight="30dp"
|
||||
android:background="@drawable/fun_themeblue_btn_bg"
|
||||
android:gravity="center"
|
||||
android:text="@string/genghuanshoujihao_txt"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/area_card"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="375dp"
|
||||
android:layout_alignTop="@id/middle_ly"
|
||||
android:layout_marginLeft="24dp"
|
||||
android:layout_marginRight="24dp"
|
||||
android:visibility="gone"
|
||||
app:cardBackgroundColor="@color/color_6b3689"
|
||||
app:cardCornerRadius="20dp"
|
||||
app:cardElevation="0dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/name_area_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:drawableRight="@mipmap/select_county_img"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="15dp"
|
||||
android:text="CHINA +86"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recylerview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
</RelativeLayout>
|
||||
182
app/src/main/res/layout/activity_chongzhi.xml
Normal file
182
app/src/main/res/layout/activity_chongzhi.xml
Normal file
@@ -0,0 +1,182 @@
|
||||
<?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"
|
||||
tools:context=".welcome.WelcomeActivity">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/about_title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/color_fcfcfc"
|
||||
app:titleText="@string/szmm_txt"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="@dimen/dp_30">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step2_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/szmm_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/setpwd_hint_txt"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/password_et"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:layout_marginTop="@dimen/dp_90"
|
||||
android:background="@color/transparent"
|
||||
android:hint="@string/srmm_hint_txt"
|
||||
android:maxLength="32"
|
||||
|
||||
android:inputType="textPassword"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="@color/color_bcbcbc"
|
||||
android:textSize="@dimen/sp_18" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_d8d8d8" />
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/password_et1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:layout_marginTop="@dimen/dp_35"
|
||||
android:maxLength="32"
|
||||
|
||||
android:background="@color/transparent"
|
||||
android:hint="@string/qzcsrmm_txt"
|
||||
android:inputType="textPassword"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="@color/color_bcbcbc"
|
||||
android:textSize="@dimen/sp_18" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_d8d8d8" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step3_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="visible">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:text="@string/qsryzm_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:id="@+id/send_sms_tips_tv"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
||||
<com.dskj.rbchat.custom.PasswordEditText
|
||||
android:id="@+id/password_edit_text_code"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="60dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="60dp"
|
||||
app:bgInputed="@drawable/bg_inputed"
|
||||
app:bgInputing="@drawable/bg_inputing"
|
||||
app:count="4"
|
||||
app:passwordSize="26"
|
||||
app:showPassword="true">
|
||||
|
||||
</com.dskj.rbchat.custom.PasswordEditText>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/send_sms_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/get_code_txt"
|
||||
android:textColor="@color/color_6b3689"
|
||||
android:textSize="14sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/next_iv"
|
||||
android:layout_width="@dimen/dp_64"
|
||||
android:layout_height="@dimen/dp_64"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_60"
|
||||
android:src="@mipmap/step_next_img" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/change_sms_code_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:text="@string/qhwyzmdl_txt"
|
||||
android:textColor="@color/color_6b3689"
|
||||
android:textSize="14sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/change_pass_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:text="@string/qhwmmdl_txt"
|
||||
android:textColor="@color/color_6b3689"
|
||||
android:textSize="14sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
116
app/src/main/res/layout/activity_chongzhi_pay.xml
Normal file
116
app/src/main/res/layout/activity_chongzhi_pay.xml
Normal file
@@ -0,0 +1,116 @@
|
||||
<?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"
|
||||
tools:context=".welcome.WelcomeActivity">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/about_title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/color_fcfcfc"
|
||||
app:titleText="@string/sfrz_txt"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="@dimen/dp_30">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step3_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="visible">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:text="@string/qsryzm_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:id="@+id/send_sms_tips_tv"
|
||||
android:text="@string/djfsyzm_txt"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
||||
<com.dskj.rbchat.custom.PasswordEditText
|
||||
android:id="@+id/password_edit_text_code"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="60dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="60dp"
|
||||
app:bgInputed="@drawable/bg_inputed"
|
||||
app:bgInputing="@drawable/bg_inputing"
|
||||
app:count="4"
|
||||
app:passwordSize="26"
|
||||
app:showPassword="true">
|
||||
|
||||
</com.dskj.rbchat.custom.PasswordEditText>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/send_sms_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/get_code_txt"
|
||||
android:textColor="@color/color_themeblue"
|
||||
android:textSize="14sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/next_iv"
|
||||
android:layout_width="@dimen/dp_64"
|
||||
android:layout_height="@dimen/dp_64"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_60"
|
||||
android:src="@mipmap/step_next_img" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/change_sms_code_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:text="@string/qhwyzmdl_txt"
|
||||
android:textColor="@color/color_6b3689"
|
||||
android:textSize="14sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/change_pass_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:text="@string/qhwmmdl_txt"
|
||||
android:textColor="@color/color_6b3689"
|
||||
android:textSize="14sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
111
app/src/main/res/layout/activity_clear_cache.xml
Normal file
111
app/src/main/res/layout/activity_clear_cache.xml
Normal file
@@ -0,0 +1,111 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<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_e9eff5"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/setting_title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
tools:ignore="MissingConstraints"
|
||||
app:titleText="@string/setting_clear_cache"/>
|
||||
|
||||
<LinearLayout android:id="@+id/next_group_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/rectangle_white_reduce_bg"
|
||||
android:layout_marginRight="@dimen/dimen_20_dp"
|
||||
android:layout_marginLeft="@dimen/dimen_20_dp"
|
||||
android:layout_marginTop="@dimen/dp_16"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/setting_title_bar"
|
||||
tools:ignore="SpUsage">
|
||||
|
||||
<FrameLayout android:id="@+id/clear_message_fl"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_46_dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/clear_message_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dimen_46_dp"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:gravity="center"
|
||||
android:text="@string/clear_message"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_16" />
|
||||
|
||||
<TextView android:id="@+id/clear_message_size_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="@dimen/text_size_14"
|
||||
android:textColor="@color/color_666666"
|
||||
android:layout_gravity="center_vertical|end"
|
||||
android:layout_marginEnd="@dimen/dp_16"/>
|
||||
</FrameLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="20dp"
|
||||
android:background="@color/color_f5f8fc"/>
|
||||
|
||||
<FrameLayout android:id="@+id/clear_lucene_fl"
|
||||
android:layout_width="match_parent"
|
||||
android:visibility="gone"
|
||||
android:layout_height="@dimen/dimen_46_dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/clear_lucene_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dimen_46_dp"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:gravity="center"
|
||||
android:text="@string/setting_clear_cache"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_16" />
|
||||
|
||||
<TextView android:id="@+id/clear_lucene_size_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="@dimen/text_size_14"
|
||||
android:textColor="@color/color_666666"
|
||||
android:layout_gravity="center_vertical|end"
|
||||
android:layout_marginEnd="@dimen/dp_16"/>
|
||||
</FrameLayout>
|
||||
<FrameLayout android:id="@+id/clear_sdk_fl"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_46_dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/clear_sdk_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dimen_46_dp"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:gravity="center"
|
||||
android:text="@string/clear_sdk_cache"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_16" />
|
||||
|
||||
<TextView android:id="@+id/clear_sdk_size_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="@dimen/text_size_14"
|
||||
android:textColor="@color/color_666666"
|
||||
android:layout_gravity="center_vertical|end"
|
||||
android:layout_marginEnd="@dimen/dp_16"/>
|
||||
</FrameLayout>
|
||||
</LinearLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
267
app/src/main/res/layout/activity_collection.xml
Normal file
267
app/src/main/res/layout/activity_collection.xml
Normal file
@@ -0,0 +1,267 @@
|
||||
<?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"
|
||||
|
||||
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/about_title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/color_fcfcfc"
|
||||
app:titleText="@string/shoukuan_title_txt" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step_1_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:visibility="visible">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/user_head_iv"
|
||||
android:layout_width="@dimen/dp_40"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:scaleType="centerCrop"
|
||||
android:visibility="gone"
|
||||
app:avatarCorner="@dimen/dp_20" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/user_name_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:text=""
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="16sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="left"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/shoukuanjine_txt"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="52dp"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:background="@drawable/input_bg_t"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="22dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:text="NT$"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/number_hint_et"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginRight="20dp"
|
||||
android:background="@color/transparent"
|
||||
android:drawablePadding="@dimen/dp_16"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="0.00"
|
||||
android:inputType="numberDecimal"
|
||||
android:paddingLeft="@dimen/dp_10"
|
||||
android:textColor="@color/black"
|
||||
android:textColorHint="@color/color_adb5bd"
|
||||
android:textSize="16sp" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_login"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="44dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginTop="60dp"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:background="@drawable/index_user_bg4"
|
||||
android:clickable="true"
|
||||
android:gravity="center"
|
||||
android:text="@string/shoukuan_title_txt"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="18sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step_2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_100"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dp_48"
|
||||
android:layout_height="@dimen/dp_48"
|
||||
android:id="@+id/waiting_iv"
|
||||
android:src="@mipmap/zhifuzhong_img" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:text="@string/deidaifukuan_txt"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step_3"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_100"
|
||||
android:gravity="center"
|
||||
android:visibility="gone"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/step3_iv"
|
||||
android:layout_width="@dimen/dp_32"
|
||||
android:layout_height="@dimen/dp_32"
|
||||
android:src="@mipmap/shoukuan_succ_img" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/step3_title_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:text="@string/shoukuanchenggong_txt"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step_3_succ_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="NT$"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/number_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="100"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="24sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginTop="@dimen/dp_60"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:minHeight="50dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="85dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="50dp"
|
||||
android:text="@string/fukuanfang_txt"
|
||||
android:textColor="#999999"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/fukuanfang_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical|right"
|
||||
android:minHeight="50dp"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/bot_line"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:background="#DEDEDF"
|
||||
android:visibility="visible" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/shoukuan_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:minHeight="50dp"
|
||||
android:visibility="visible">
|
||||
|
||||
<TextView
|
||||
android:layout_width="85dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="50dp"
|
||||
android:text="@string/daozhangshijian_txt"
|
||||
android:textColor="#999999"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/daozhangshijian_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical|right"
|
||||
android:minHeight="50dp"
|
||||
android:text=""
|
||||
android:textColor="#ff303336"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_login1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="44dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginTop="90dp"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:background="@drawable/index_user_bg4"
|
||||
android:clickable="true"
|
||||
android:gravity="center"
|
||||
android:text="@string/setting_complete"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="18sp" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
261
app/src/main/res/layout/activity_collection_and_payment.xml
Normal file
261
app/src/main/res/layout/activity_collection_and_payment.xml
Normal file
@@ -0,0 +1,261 @@
|
||||
<?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"
|
||||
|
||||
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/main_about_titleBar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:background="@color/white"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:titleText="@string/fukuanma_txt"
|
||||
app:titleTextColor="@android:color/black" />
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/color_f7f7f7"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/fukuan_ry"
|
||||
android:layout_width="315dp"
|
||||
android:layout_height="428dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:background="@mipmap/pay_bg1"
|
||||
android:paddingTop="15dp"
|
||||
android:visibility="visible">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="@dimen/dp_275"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:drawableLeft="@mipmap/pay_qrcode_img"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/shangjiama_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="12sp" />
|
||||
<ImageView
|
||||
android:id="@+id/shuaxin_iv1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/pay_shuaxin_img"
|
||||
app:tint="#6B3689"
|
||||
/>
|
||||
<TextView
|
||||
android:id="@+id/shuaxin_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/common_web_activity_more_choice_reload"
|
||||
android:textColor="#6B3689"
|
||||
android:textSize="12sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="@dimen/dp_255"
|
||||
android:layout_height="@dimen/dp_255"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="@dimen/dp_48"
|
||||
android:background="@drawable/erwei_bg_pay"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/fukuan_qrcode_iv"
|
||||
android:layout_width="@dimen/dp_235"
|
||||
android:layout_height="@dimen/dp_235"
|
||||
android:src="@mipmap/ic_launcher" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/main_more_settings_safa"
|
||||
android:layout_width="@dimen/dp_275"
|
||||
android:layout_height="80dp"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/pay_type_iv"
|
||||
android:layout_width="@dimen/dp_20"
|
||||
android:layout_height="20dp"
|
||||
android:src="@mipmap/wallet_jinbi_img" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/pay_type_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:background="@color/transparent"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/species_txt"
|
||||
android:textColor="#333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/yue_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/dp_5"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:text="(余额:1111)"
|
||||
android:textColor="#ff7e7b84"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@mipmap/pay_next_img"
|
||||
android:textColor="@color/black"
|
||||
android:textColorHint="@color/color_adb5bd" />
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/shoukuan_ry"
|
||||
android:layout_width="315dp"
|
||||
android:layout_height="428dp"
|
||||
android:visibility="gone"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_20">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/shoukuan_ry1"
|
||||
android:layout_width="355dp"
|
||||
android:layout_height="468dp"
|
||||
android:background="@mipmap/pay_shoukuan_bg"
|
||||
android:padding="15dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/user_head_iv"
|
||||
android:layout_width="@dimen/dp_40"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
app:avatarCorner="@dimen/dp_20"
|
||||
android:scaleType="centerCrop" />
|
||||
<TextView
|
||||
android:id="@+id/user_name_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:text="人间富贵花"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="@dimen/dp_255"
|
||||
android:layout_height="@dimen/dp_255"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="@dimen/dp_85"
|
||||
android:background="@drawable/erwei_bg_pay"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/shoukuanma_qrcode_iv"
|
||||
android:layout_width="@dimen/dp_235"
|
||||
android:layout_height="@dimen/dp_235"
|
||||
android:src="@mipmap/ic_launcher" />
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/baocun_shoukuanma_ly"
|
||||
android:layout_width="110dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="@dimen/dp_20"
|
||||
android:background="@mipmap/shou_bt_bg"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableLeft="@mipmap/shoukuan_img"
|
||||
android:gravity="center"
|
||||
android:text="@string/baocunshoukuanma_txt"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="@dimen/dp_315"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:orientation="horizontal">
|
||||
<LinearLayout
|
||||
android:id="@+id/fukuanma_ly"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:background="@mipmap/pay_button_true"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/fukuanma_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:src="@mipmap/pay_zhifu_true" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/fukuanma_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/fukuanma_txt"
|
||||
android:textColor="#6B3689"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:id="@+id/shoukuanma_ly"
|
||||
android:layout_width="150dp"
|
||||
android:layout_alignParentRight="true"
|
||||
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:background="@mipmap/pay_button_false"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/shoukuanma_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:src="@mipmap/pay_shoukuan_false" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/shoukuanma_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/shoukuanma_txt"
|
||||
android:textColor="#333333"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
30
app/src/main/res/layout/activity_contact.xml
Normal file
30
app/src/main/res/layout/activity_contact.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<?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="@android:color/white">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/titlebar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:titleText="@string/tab_contact_tab_text"
|
||||
app:titleTextColor="@color/color_333333" />
|
||||
|
||||
<View
|
||||
android:id="@+id/line1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_fcfcfc"
|
||||
app:layout_constraintTop_toBottomOf="@+id/titlebar" />
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/fragment_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/line1" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
124
app/src/main/res/layout/activity_custom_services.xml
Normal file
124
app/src/main/res/layout/activity_custom_services.xml
Normal file
@@ -0,0 +1,124 @@
|
||||
<?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_fffbfb"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/titlebar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:background="@android:color/white"
|
||||
android:elevation="@dimen/dp_10"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:titleText="@string/zaixiankefu_txt"
|
||||
app:titleTextColor="@color/color_333333" />
|
||||
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_13"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
app:cardCornerRadius="@dimen/dp_6"
|
||||
app:cardElevation="@dimen/dp_15"
|
||||
app:cardMaxElevation="@dimen/dp_15"
|
||||
app:layout_constraintTop_toBottomOf="@+id/titlebar">
|
||||
|
||||
<LinearLayout
|
||||
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:layout_marginStart="@dimen/dp_10"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:text="@string/kefu_selector_title"
|
||||
android:textColor="@color/color_383838"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_taomenggou"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingStart="@dimen/dp_10"
|
||||
android:paddingTop="@dimen/dp_10"
|
||||
android:paddingBottom="@dimen/dp_5"
|
||||
android:text="@string/kefu_select_taomenggou"
|
||||
android:textColor="@color/color_2e7df3"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_taoleding"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingStart="@dimen/dp_10"
|
||||
android:paddingTop="@dimen/dp_5"
|
||||
android:paddingBottom="@dimen/dp_5"
|
||||
android:text="@string/kefu_select_taoleding"
|
||||
android:textColor="@color/color_2e7df3"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_jifen"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingStart="@dimen/dp_10"
|
||||
android:paddingTop="@dimen/dp_5"
|
||||
android:paddingBottom="@dimen/dp_5"
|
||||
android:text="@string/kefu_select_jifengshangcheng"
|
||||
android:textColor="@color/color_2e7df3"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_hezuo"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingStart="@dimen/dp_10"
|
||||
android:paddingTop="@dimen/dp_5"
|
||||
android:paddingBottom="@dimen/dp_10"
|
||||
android:text="@string/kefu_select_hezuo"
|
||||
android:textColor="@color/color_2e7df3"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
</LinearLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
<com.netease.yunxin.kit.conversationkit.ui.view.ConversationView
|
||||
android:id="@+id/conversationView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/titlebar" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/emptyLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_188_dp"
|
||||
android:layout_marginTop="@dimen/dimen_150_dp"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintTop_toBottomOf="@+id/titlebar">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:src="@drawable/fun_ic_conversation_empty" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/empty_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:text="@string/conversation_service_empty_tip" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
121
app/src/main/res/layout/activity_edit_chatrecord.xml
Normal file
121
app/src/main/res/layout/activity_edit_chatrecord.xml
Normal file
@@ -0,0 +1,121 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<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:id="@+id/clyRoot"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/color_fcfcfc"
|
||||
tools:context=".main.mine.EditUserInfoActivity"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/titleBarView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:rightTitleText="@string/allread_text"
|
||||
app:titleText="@string/editchatlist_text"
|
||||
app:titleTextColor="@android:color/black" />
|
||||
|
||||
<View
|
||||
android:id="@+id/line_topview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_f7f7f7"
|
||||
app:layout_constraintTop_toBottomOf="@+id/titleBarView" />
|
||||
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/layout_editrecord"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toTopOf="@+id/layout_editrecord_bottom"
|
||||
app:layout_constraintTop_toBottomOf="@+id/line_topview" />
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintBottom_toTopOf="@+id/layout_editrecord_bottom"
|
||||
app:layout_constraintTop_toBottomOf="@+id/line_topview">
|
||||
|
||||
<com.netease.yunxin.kit.conversationkit.ui.view.ConversationView
|
||||
android:id="@+id/conversation_edit"
|
||||
android:layout_width="match_parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:layout_height="0dp" />
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/emptyLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_188_dp"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dimen_118_dp"
|
||||
android:layout_height="@dimen/dimen_96_dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:src="@drawable/fun_ic_conversation_empty" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/empty_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:text="@string/conversation_empty_tip" />
|
||||
|
||||
</LinearLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_editrecord_bottom"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_83"
|
||||
android:background="@android:color/white"
|
||||
android:elevation="@dimen/dp_10"
|
||||
android:visibility="visible"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintBottom_toBottomOf="parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_editrecord_hide"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/cornor_ee9033_6dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/hide_text"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_editrecord_delete"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/cornor_e44f3e_6dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/delete_text"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
</LinearLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
154
app/src/main/res/layout/activity_edit_friendnickname.xml
Normal file
154
app/src/main/res/layout/activity_edit_friendnickname.xml
Normal file
@@ -0,0 +1,154 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<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:id="@+id/clyRoot"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/white"
|
||||
tools:context=".main.mine.EditUserInfoActivity">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:gravity="center"
|
||||
android:text="@string/friend_info_nickname"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16dp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:ignore="SpUsage" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivBack"
|
||||
android:layout_width="26dp"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:layout_marginStart="20dp"
|
||||
android:src="@drawable/ic_arrow_left"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_f7f7f7"
|
||||
app:layout_constraintTop_toBottomOf="@id/tvTitle" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/nickname_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:paddingRight="@dimen/dp_15"
|
||||
app:layout_constraintTop_toBottomOf="@id/tvTitle">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/friendnick_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/nickname_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/title_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:paddingRight="@dimen/dp_15"
|
||||
app:layout_constraintTop_toBottomOf="@id/nickname_ly">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/friendbeizhu_txt"
|
||||
android:textColor="#ff666666"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/number_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="0/20"
|
||||
android:textColor="#ff999999"
|
||||
android:textSize="12sp" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/etNickname"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginTop="@dimen/dp_16"
|
||||
android:layout_marginRight="15dp"
|
||||
android:background="@color/transparent"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="@string/qsrmz_hint_txt"
|
||||
android:maxLength="20"
|
||||
android:minHeight="@dimen/dp_54"
|
||||
android:paddingEnd="35dp"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="@color/color_999999"
|
||||
android:textSize="16sp"
|
||||
app:layout_constraintTop_toBottomOf="@id/title_ly"
|
||||
tools:ignore="SpUsage" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivClear"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_clear"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="@id/etNickname"
|
||||
app:layout_constraintEnd_toEndOf="@id/etNickname"
|
||||
app:layout_constraintTop_toTopOf="@id/etNickname" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@color/color_f7f7f7"
|
||||
app:layout_constraintTop_toBottomOf="@id/etNickname" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvDone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="44dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_40"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@drawable/fun_themeblue_btn_bg"
|
||||
android:gravity="center"
|
||||
android:paddingStart="22dp"
|
||||
android:paddingEnd="22dp"
|
||||
android:text="@string/save"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/etNickname"
|
||||
tools:ignore="SpUsage" />
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
131
app/src/main/res/layout/activity_edit_nickname.xml
Normal file
131
app/src/main/res/layout/activity_edit_nickname.xml
Normal file
@@ -0,0 +1,131 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<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:id="@+id/clyRoot"
|
||||
android:background="@color/white"
|
||||
tools:context=".main.mine.EditUserInfoActivity">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:gravity="center"
|
||||
android:text="@string/user_info_nickname"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16dp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:ignore="SpUsage" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivBack"
|
||||
android:layout_width="26dp"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:layout_marginStart="20dp"
|
||||
android:src="@drawable/ic_arrow_left"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
app:layout_constraintTop_toBottomOf="@id/tvTitle"
|
||||
android:background="@color/color_f7f7f7" />
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_40"
|
||||
android:id="@+id/title_ly"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:paddingRight="@dimen/dp_15"
|
||||
app:layout_constraintTop_toBottomOf="@id/tvTitle">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:id="@+id/title_left_name"
|
||||
android:text="@string/mingzi_txt"
|
||||
android:textColor="#ff666666"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="0/20"
|
||||
android:id="@+id/number_tv"
|
||||
android:textColor="#ff999999"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/etNickname"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="@dimen/dp_54"
|
||||
android:layout_marginTop="22dp"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginRight="15dp"
|
||||
android:background="@color/transparent"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="@string/qsrmz_hint_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:paddingEnd="35dp"
|
||||
android:maxLength="15"
|
||||
android:textColorHint="@color/color_999999"
|
||||
android:textSize="16sp"
|
||||
app:layout_constraintTop_toBottomOf="@id/title_ly"
|
||||
tools:ignore="SpUsage" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivClear"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="visible"
|
||||
android:src="@drawable/ic_clear"
|
||||
app:layout_constraintBottom_toBottomOf="@id/etNickname"
|
||||
app:layout_constraintEnd_toEndOf="@id/etNickname"
|
||||
app:layout_constraintTop_toTopOf="@id/etNickname" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
app:layout_constraintTop_toBottomOf="@id/etNickname"
|
||||
android:background="@color/color_f7f7f7" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvDone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="44dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@drawable/fun_themeblue_btn_bg"
|
||||
android:layout_marginTop="@dimen/dp_40"
|
||||
android:gravity="center"
|
||||
android:text="@string/save"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_14"
|
||||
android:paddingStart="22dp"
|
||||
android:paddingEnd="22dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/etNickname"
|
||||
tools:ignore="SpUsage" />
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
88
app/src/main/res/layout/activity_gelp.xml
Normal file
88
app/src/main/res/layout/activity_gelp.xml
Normal file
@@ -0,0 +1,88 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.appcompat.widget.LinearLayoutCompat 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_f4f4f4"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
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/color_fcfcfc"
|
||||
app:titleText="@string/setting_notify"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recyclerview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:overScrollMode="never"
|
||||
android:visibility="gone">
|
||||
|
||||
</androidx.recyclerview.widget.RecyclerView>
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:id="@+id/nodate_ly1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ic_nodata"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:src="@mipmap/pyq_nodate" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/nodate_txt"
|
||||
android:textColor="#ffb8b5be"
|
||||
android:textSize="14sp" />
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/nodate_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/white"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="#F2F2F2" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/nodate_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="20dp"
|
||||
android:text="@string/nodate_txt"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/nodate_tv1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:text="@string/nodate_txt"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
120
app/src/main/res/layout/activity_get_code_setting.xml
Normal file
120
app/src/main/res/layout/activity_get_code_setting.xml
Normal file
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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:id="@+id/big_ry"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<com.dskj.rbchat.widget.StatusLayout
|
||||
android:id="@+id/st_step2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
</com.dskj.rbchat.widget.StatusLayout>
|
||||
|
||||
|
||||
<ImageView
|
||||
|
||||
android:id="@+id/back_step2_bt"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="50dp"
|
||||
android:scaleType="centerInside"
|
||||
android:layout_below="@id/st_step2"
|
||||
android:src="@mipmap/back_img"
|
||||
android:visibility="visible" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/middle_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="118dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step2_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="visible">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title_step2_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginLeft="30dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/vcode_hint_txt"
|
||||
android:textColor="#ff303336"
|
||||
android:textSize="24sp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/tips1"
|
||||
android:layout_marginLeft="30dp"
|
||||
android:text="验证码已通过短信发送至:"
|
||||
android:layout_marginTop="10dp"
|
||||
android:textColor="#ff7e7b84"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
|
||||
<com.dskj.rbchat.custom.PasswordEditText
|
||||
android:id="@+id/password_edit_text_code"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="60dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="24dp"
|
||||
android:visibility="visible"
|
||||
app:bgInputed="@drawable/bg_inputed"
|
||||
app:bgInputing="@drawable/bg_inputing"
|
||||
app:count="4"
|
||||
app:passwordSize="26"
|
||||
app:showPassword="false">
|
||||
|
||||
</com.dskj.rbchat.custom.PasswordEditText>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/succ_iv"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="100dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:src="@mipmap/success_img"
|
||||
android:layout_marginTop="@dimen/dp_40"
|
||||
android:scaleType="fitXY"
|
||||
android:visibility="gone" />
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:id="@+id/succ_tv"
|
||||
android:visibility="gone"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="18sp"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/sumbit_bt"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="52dp"
|
||||
android:layout_below="@id/middle_ly"
|
||||
android:layout_marginLeft="30dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="60dp"
|
||||
android:layout_marginRight="30dp"
|
||||
android:background="@drawable/index_user_bg4"
|
||||
android:gravity="center"
|
||||
android:text="@string/next_txt"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="16sp" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
100
app/src/main/res/layout/activity_gift_info.xml
Normal file
100
app/src/main/res/layout/activity_gift_info.xml
Normal file
@@ -0,0 +1,100 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.appcompat.widget.LinearLayoutCompat 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="#FEE8BF"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/contact_list_activity_titleBar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:background="@color/white"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:titleText="@string/wodetongbi_txt"
|
||||
app:titleTextColor="@android:color/black" />
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/cl_root"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
tools:context=".main.mine.MineInfoActivity">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:src="@mipmap/tongbi_bg"
|
||||
app:layout_constraintDimensionRatio="1110:612"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="99dp"
|
||||
android:layout_height="96dp"
|
||||
android:src="@mipmap/lijin_img"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginLeft="@dimen/dp_23"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/tongbiyue_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
android:layout_marginTop="@dimen/dp_29"
|
||||
android:layout_marginLeft="@dimen/dp_132"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:id="@+id/yinbi_yue_tv"
|
||||
tools:text="11111"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/color_333333"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
android:layout_marginTop="@dimen/dp_63"
|
||||
android:layout_marginLeft="@dimen/dp_132"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:textSize="@dimen/sp_30" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_youwan_times"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/duihuanyouxicishu_txt"
|
||||
android:gravity="center"
|
||||
android:background="@mipmap/dhyxcs_bg"
|
||||
android:textColor="#fffffbd5"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
android:layout_marginTop="@dimen/dp_29"
|
||||
android:layout_marginRight="@dimen/dp_34"
|
||||
android:layout_marginBottom="32dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:textSize="16sp"
|
||||
/>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_10"
|
||||
android:background="@color/transparent" />
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/frameLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
235
app/src/main/res/layout/activity_head_user_edit.xml
Normal file
235
app/src/main/res/layout/activity_head_user_edit.xml
Normal file
@@ -0,0 +1,235 @@
|
||||
<?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/szgrzltxyfm_txt"
|
||||
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_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
app:cardBackgroundColor="@color/color_f4f4f4"
|
||||
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" />
|
||||
|
||||
<!-- <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_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>
|
||||
|
||||
</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:background="@drawable/rectangle_white_reduce_bg"
|
||||
android:orientation="vertical"
|
||||
tools:ignore="SpUsage">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/user_info_avatar"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/flCamera"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_54">
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvCamera"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginEnd="64dp"
|
||||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:text="@string/kaxj_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<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>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/to_photo_ry"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_54">
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/to_photo_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginEnd="64dp"
|
||||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:text="@string/xzzp_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<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:id="@+id/line_ziliao"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_f4f4f4" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_ziliao"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/grzlfm_txt"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/flCamera1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_54">
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvCamera1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginEnd="64dp"
|
||||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:text="@string/kaxj_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<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>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/to_photo_ry1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_54">
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/to_photo_tv1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginEnd="64dp"
|
||||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:text="@string/xzzp_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
171
app/src/main/res/layout/activity_help.xml
Normal file
171
app/src/main/res/layout/activity_help.xml
Normal file
@@ -0,0 +1,171 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.appcompat.widget.LinearLayoutCompat 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:foreground="?android:attr/selectableItemBackground"
|
||||
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/color_fcfcfc"
|
||||
app:titleText="@string/help_center_txt"
|
||||
tools:ignore="MissingConstraints" />
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="@dimen/dp_15"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:gravity="left|center_vertical"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:id="@+id/search_ly"
|
||||
android:background="@drawable/search_bg">
|
||||
<EditText
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:hint="@string/search_txt"
|
||||
android:drawablePadding="6dp"
|
||||
android:id="@+id/search_et"
|
||||
android:singleLine="true"
|
||||
android:background="@color/transparent"
|
||||
android:drawableLeft="@drawable/home_search_img"
|
||||
android:textColor="#333333"
|
||||
android:textColorHint="#D2CBDF"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
<com.scwang.smart.refresh.layout.SmartRefreshLayout
|
||||
android:id="@+id/refreshLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/white"
|
||||
android:visibility="visible"
|
||||
|
||||
app:srlAccentColor="@color/color_6b3689">
|
||||
|
||||
<com.dskj.rbchat.widget.BezierCircleHeader
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recyclerviewt"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
android:overScrollMode="never">
|
||||
|
||||
</androidx.recyclerview.widget.RecyclerView>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="10dp"
|
||||
android:background="#F6F5F7"/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="44dp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:text="@string/more_asking_txt"
|
||||
android:textColor="#ffb8b5be"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recyclerview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:overScrollMode="never">
|
||||
|
||||
</androidx.recyclerview.widget.RecyclerView>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<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>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone"
|
||||
android:id="@+id/recyclerview_select_t"
|
||||
android:orientation="vertical">
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recyclerview_select"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone"
|
||||
android:overScrollMode="never">
|
||||
|
||||
</androidx.recyclerview.widget.RecyclerView>
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/no_date_sly"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="190dp"
|
||||
android:orientation="vertical">
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/ic_no_message"
|
||||
android:layout_gravity="center_horizontal"/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:text="@string/no_search_issues_found_txt"
|
||||
android:textColor="#ffb8b5be"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/nodate_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/white"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="#F2F2F2" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/nodate_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="20dp"
|
||||
android:text="@string/nodate_txt"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/nodate_tv1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:text="@string/nodate_txt"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
29
app/src/main/res/layout/activity_jsbridge.xml
Normal file
29
app/src/main/res/layout/activity_jsbridge.xml
Normal file
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/white">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<com.smallbuer.jsbridge.core.BridgeWebView
|
||||
android:id="@+id/jsbridge_bridgewebview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
/>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:id="@+id/bottom_v" />
|
||||
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
147
app/src/main/res/layout/activity_lipin_success.xml
Normal file
147
app/src/main/res/layout/activity_lipin_success.xml
Normal file
@@ -0,0 +1,147 @@
|
||||
<?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"
|
||||
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/white"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/about_title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/color_fcfcfc"
|
||||
app:titleText="@string/zhifuchengong_txt" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_60"
|
||||
android:src="@mipmap/duihuan_succ_img" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:text="兑换成功"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:text="2560"
|
||||
android:id="@+id/number_tv"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="24sp" />
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:layout_marginTop="@dimen/dp_60"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30">
|
||||
|
||||
<TextView
|
||||
android:layout_width="85dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="50dp"
|
||||
android:text="@string/payment_type_txt1"
|
||||
android:textColor="#7E7B84"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/time_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical|right"
|
||||
android:minHeight="50dp"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:background="#DEDEDF" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30">
|
||||
|
||||
<TextView
|
||||
android:layout_width="85dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="50dp"
|
||||
android:text="@string/duihuanmendian_txt"
|
||||
android:textColor="#7E7B84"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/mendian_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical|right"
|
||||
android:minHeight="50dp"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:background="#DEDEDF" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30">
|
||||
|
||||
<TextView
|
||||
android:layout_width="85dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="50dp"
|
||||
android:text="@string/lipin_txt"
|
||||
android:textColor="#7E7B84"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lipin_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical|right"
|
||||
android:minHeight="50dp"
|
||||
android:lines="1"
|
||||
android:ellipsize="end"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/button_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="44dp"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="60dp"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:background="@drawable/index_user_bg4"
|
||||
android:gravity="center"
|
||||
android:text="@string/setting_complete"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="16sp" />
|
||||
|
||||
</LinearLayout>
|
||||
268
app/src/main/res/layout/activity_lipinduihuan.xml
Normal file
268
app/src/main/res/layout/activity_lipinduihuan.xml
Normal file
@@ -0,0 +1,268 @@
|
||||
<?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"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/color_fffbfb"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/main_about_titleBar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:titleText="@string/topup_txt1"
|
||||
app:titleTextColor="@android:color/black" />
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:id="@+id/lipingduihuan_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/color_ffe49c"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/fukuan_ry"
|
||||
android:layout_width="315dp"
|
||||
android:layout_height="428dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:background="@mipmap/pay_bg1"
|
||||
android:paddingTop="15dp"
|
||||
android:visibility="visible">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="@dimen/dp_275"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_shangjiama_hint"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:drawableLeft="@mipmap/pay_qrcode_img"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/shangjiama_txt"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/shuaxin_iv1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/pay_shuaxin_img"
|
||||
app:tint="@android:color/white" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/shuaxin_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/common_web_activity_more_choice_reload"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="12sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="@dimen/dp_255"
|
||||
android:layout_height="@dimen/dp_255"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="@dimen/dp_48"
|
||||
android:background="@drawable/erwei_bg_pay"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/fukuan_qrcode_iv"
|
||||
android:layout_width="@dimen/dp_235"
|
||||
android:layout_height="@dimen/dp_235" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/main_more_settings_safa"
|
||||
android:layout_width="@dimen/dp_275"
|
||||
android:layout_height="80dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/pay_type_iv"
|
||||
android:layout_width="@dimen/dp_23"
|
||||
android:layout_height="@dimen/dp_24" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/pay_type_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:background="@color/transparent"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/silver_coins_txt"
|
||||
android:textColor="@color/color_fff5cb"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/yue_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/dp_5"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical|right"
|
||||
android:text="(余额:1111)"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@mipmap/pay_next_img"
|
||||
android:textColor="@color/black"
|
||||
android:textColorHint="@color/color_adb5bd"
|
||||
android:visibility="gone" />
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/shoukuan_ry"
|
||||
android:layout_width="315dp"
|
||||
android:layout_height="428dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:visibility="gone">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/shoukuan_ry1"
|
||||
android:layout_width="355dp"
|
||||
android:layout_height="468dp"
|
||||
android:background="@mipmap/pay_shoukuan_bg"
|
||||
android:padding="15dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/user_head_iv"
|
||||
android:layout_width="@dimen/dp_40"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:scaleType="centerCrop"
|
||||
app:avatarCorner="@dimen/dp_20" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/user_name_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:text="人间富贵花"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="@dimen/dp_255"
|
||||
android:layout_height="@dimen/dp_255"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="@dimen/dp_85"
|
||||
android:background="@drawable/erwei_bg_pay"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/shoukuanma_qrcode_iv"
|
||||
android:layout_width="@dimen/dp_235"
|
||||
android:layout_height="@dimen/dp_235"
|
||||
android:src="@mipmap/ic_launcher" />
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/baocun_shoukuanma_ly"
|
||||
android:layout_width="110dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="@dimen/dp_20"
|
||||
android:background="@mipmap/shou_bt_bg"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableLeft="@mipmap/shoukuan_img"
|
||||
android:gravity="center"
|
||||
android:text="@string/baocunshoukuanma_txt"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="@dimen/dp_315"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/fukuanma_ly"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:background="@mipmap/pay_button_true"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/fukuanma_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:src="@mipmap/pay_zhifu_true" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/fukuanma_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/fukuanma_txt"
|
||||
android:textColor="#6B3689"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/shoukuanma_ly"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
|
||||
android:layout_alignParentRight="true"
|
||||
android:background="@mipmap/pay_button_false"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/shoukuanma_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:src="@mipmap/pay_shoukuan_false" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/shoukuanma_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/shoukuanma_txt"
|
||||
android:textColor="#333333"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
463
app/src/main/res/layout/activity_loc_user_info.xml
Normal file
463
app/src/main/res/layout/activity_loc_user_info.xml
Normal file
@@ -0,0 +1,463 @@
|
||||
<?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/grzl_txt"
|
||||
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_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
app:cardBackgroundColor="@color/color_f4f4f4"
|
||||
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" />
|
||||
|
||||
<!-- <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:background="@drawable/rectangle_white_reduce_bg"
|
||||
android:orientation="vertical"
|
||||
tools:ignore="SpUsage">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/mingzi_txt"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/flName"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_54">
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvName"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginEnd="64dp"
|
||||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
tools:text="11111111111" />
|
||||
|
||||
<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>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:text="@string/gexingqianming_txt"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/flSign"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="@dimen/dp_54"
|
||||
android:background="@drawable/rectangle_white_reduce_bg"
|
||||
app:layout_constraintTop_toBottomOf="@+id/llUserInfo">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvSign"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="@string/zanwugexinqianming_txt"
|
||||
android:minHeight="@dimen/dp_54"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:text="@string/dianhuahaoma_txt"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/flPhone"
|
||||
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:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
tools:text="dkjklasjgsdg dsal kl;fdkg" />
|
||||
|
||||
<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" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/lailiaozhanghao_txt"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/flAccount"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_54">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvAccountTip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:text="@string/lailiaozhanghao_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16dp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:text="@string/fuzhi_txt"
|
||||
android:id="@+id/ivAccountCopy"
|
||||
android:paddingLeft="@dimen/dp_10"
|
||||
android:paddingRight="@dimen/dp_10"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:background="@drawable/button_false_bg1"
|
||||
android:layout_gravity="end|center_vertical"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="10sp"
|
||||
/>
|
||||
|
||||
<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"
|
||||
android:visibility="visible" />
|
||||
</FrameLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_f4f4f4" />
|
||||
|
||||
<!-- <View-->
|
||||
<!-- android:layout_width="match_parent"-->
|
||||
<!-- android:layout_height="1dp"-->
|
||||
<!-- android:layout_marginStart="16dp"-->
|
||||
<!-- android:layout_marginEnd="20dp"-->
|
||||
<!-- android:background="@color/color_f5f8fc" />-->
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/flSexual"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_54"
|
||||
android:visibility="visible">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvSexualTip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:text="@string/user_info_sexual"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvSexual"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="end|center_vertical"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:gravity="end|center_vertical"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/color_a6adb6"
|
||||
android:textSize="12dp" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="16dp"
|
||||
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/flid_add_fy"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_54">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvid_addTip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:text="@string/yxtrtgidss_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16dp" />
|
||||
|
||||
<androidx.appcompat.widget.SwitchCompat
|
||||
android:id="@+id/flid_add_sc"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dimen_24_dp"
|
||||
android:layout_gravity="end|center_vertical"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerVertical="true"
|
||||
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:background="@color/color_f4f4f4" />
|
||||
<FrameLayout
|
||||
android:id="@+id/qrcode_fy"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_54">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/qrcode_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:text="@string/wdewm_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16dp" />
|
||||
|
||||
|
||||
<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/flBirthday"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_54">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvBirthdayTip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:text="@string/user_info_birthday"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16dp"
|
||||
tools:ignore="SpUsage" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvBirthday"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="end|center_vertical"
|
||||
android:layout_marginStart="@dimen/dp_50"
|
||||
tools:text="11111111111"
|
||||
android:layout_marginEnd="@dimen/dp_20"
|
||||
android:gravity="end|center_vertical"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="12dp" />
|
||||
|
||||
<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" />
|
||||
|
||||
<!-- <View-->
|
||||
<!-- android:layout_width="match_parent"-->
|
||||
<!-- android:layout_height="1dp"-->
|
||||
<!-- android:layout_marginStart="16dp"-->
|
||||
<!-- android:layout_marginEnd="20dp"-->
|
||||
<!-- android:background="@color/color_f5f8fc" />-->
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/edithead_fy"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_54">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/edithead_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:text="@string/szgrzltxyfm_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16dp"
|
||||
tools:ignore="SpUsage" />
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/flEmail"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="46dp"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvEmailTip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="46dp"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:gravity="center"
|
||||
android:text="@string/user_info_email"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvEmail"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="46dp"
|
||||
android:layout_gravity="end|center_vertical"
|
||||
android:layout_marginStart="@dimen/dp_50"
|
||||
android:layout_marginEnd="64dp"
|
||||
android:gravity="end|center_vertical"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/color_a6adb6"
|
||||
android:textSize="12dp" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="16dp"
|
||||
android:layout_gravity="end|center_vertical"
|
||||
android:layout_marginEnd="36dp"
|
||||
android:src="@drawable/ic_frame_mine_right_arrow" />
|
||||
</FrameLayout>
|
||||
<View android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_50"/>
|
||||
</LinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
206
app/src/main/res/layout/activity_location1.xml
Normal file
206
app/src/main/res/layout/activity_location1.xml
Normal file
@@ -0,0 +1,206 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (c) 2022 NetEase, Inc. All rights reserved. -->
|
||||
<!-- Use of this source code is governed by a MIT license that can be -->
|
||||
<!-- found in the LICENSE file. -->
|
||||
<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="#4D000000"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="88dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/shape_dialog_bg2"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:cardBackgroundColor="@color/color_white"
|
||||
app:cardCornerRadius="20dp"
|
||||
app:cardElevation="0dp">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/bot_ry"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:layout_alignParentBottom="true">
|
||||
<View
|
||||
android:id="@+id/top_vv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_58"/>
|
||||
<fragment
|
||||
android:id="@+id/mapview"
|
||||
android:layout_weight="1"
|
||||
android:name="com.google.android.gms.maps.MapFragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginBottom="-64dp"
|
||||
tools:ignore="MissingClass" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/location_search_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_64"
|
||||
android:layout_above="@id/location_search_list"
|
||||
android:background="@color/white"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
android:orientation="horizontal"
|
||||
android:padding="@dimen/dimen_12_dp">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/location_search"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginEnd="@dimen/dimen_12_dp"
|
||||
android:layout_weight="1"
|
||||
android:autofillHints=""
|
||||
android:background="@drawable/bg_message_search_et"
|
||||
android:drawableStart="@drawable/ic_search"
|
||||
android:drawablePadding="5dp"
|
||||
android:hint="@string/chat_location_search_hint"
|
||||
android:inputType="text"
|
||||
android:maxLines="1"
|
||||
android:imeOptions="actionSearch"
|
||||
android:paddingStart="15dp"
|
||||
android:paddingEnd="15dp"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="#CCCCCC"
|
||||
android:textSize="@dimen/text_size_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/location_search_cancel"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="32dp"
|
||||
android:gravity="center"
|
||||
android:paddingEnd="@dimen/dimen_12_dp"
|
||||
android:text="@string/cancel"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="@dimen/text_size_14"
|
||||
android:visibility="gone"
|
||||
tools:ignore="RtlSymmetry" />
|
||||
</LinearLayout>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/location_search_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="315dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:background="@color/color_white"
|
||||
/>
|
||||
<RelativeLayout
|
||||
android:id="@+id/detail_ry"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_64"
|
||||
android:padding="@dimen/dp_12"
|
||||
android:visibility="gone"
|
||||
android:background="@color/white">
|
||||
<TextView
|
||||
android:id="@+id/map_detail_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="end"
|
||||
android:lines="1"
|
||||
android:text=""
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_16"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/map_detail_address"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="end"
|
||||
android:lines="1"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:text=""
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="@dimen/text_size_14"
|
||||
app:layout_constraintHorizontal_weight="1"
|
||||
/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/map_detail_navigation"
|
||||
android:layout_width="@dimen/dimen_40_dp"
|
||||
android:layout_height="@dimen/dimen_40_dp"
|
||||
android:contentDescription="@string/chat_location_nav"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:src="@drawable/ic_map_navigation"
|
||||
/>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/map_view_top"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="58dp"
|
||||
android:background="@color/color_white"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/map_view_cancel"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="58dp"
|
||||
android:drawableRight="@drawable/map_colose_img"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="@dimen/dimen_16_dp"
|
||||
android:paddingRight="@dimen/dimen_16_dp"
|
||||
android:textColor="@color/color_white"
|
||||
android:textSize="@dimen/text_size_16" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/map_view_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dimen_58_dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/fasongweizhi_txt"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/map_view_send"
|
||||
android:layout_width="64dp"
|
||||
android:layout_height="@dimen/dimen_58_dp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:gravity="center"
|
||||
android:text="@string/chat_message_send"
|
||||
android:textColor="#6B3689"
|
||||
android:textSize="@dimen/text_size_14" />
|
||||
|
||||
</RelativeLayout>
|
||||
<ImageView
|
||||
android:id="@+id/map_detail_back"
|
||||
android:layout_width="@dimen/dimen_32_dp"
|
||||
android:layout_height="@dimen/dimen_32_dp"
|
||||
android:visibility="gone"
|
||||
android:layout_marginStart="@dimen/dimen_16_dp"
|
||||
android:layout_marginTop="@dimen/dimen_24_dp"
|
||||
android:background="@drawable/bg_corner_back"
|
||||
android:contentDescription="@string/cancel"
|
||||
android:paddingTop="@dimen/dimen_8_dp"
|
||||
android:paddingBottom="@dimen/dimen_8_dp"
|
||||
android:src="@drawable/ic_back_white"
|
||||
/>
|
||||
|
||||
</RelativeLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
67
app/src/main/res/layout/activity_login.xml
Normal file
67
app/src/main/res/layout/activity_login.xml
Normal file
@@ -0,0 +1,67 @@
|
||||
<?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:orientation="vertical"
|
||||
android:background="@color/white"
|
||||
tools:context=".welcome.WelcomeActivity">
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="4">
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/about_title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:titleText="@string/dengru_txt"
|
||||
android:background="@color/color_fcfcfc"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/app_yunxin_icon"
|
||||
android:layout_width="@dimen/dp_88"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_height="@dimen/dp_148"
|
||||
android:src="@mipmap/start_logo"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="6"
|
||||
android:paddingBottom="@dimen/dp_64"
|
||||
android:gravity="bottom"
|
||||
android:id="@+id/bottom_ly"
|
||||
android:orientation="vertical">
|
||||
<androidx.appcompat.widget.AppCompatButton
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/index_user_bg4"
|
||||
android:text="@string/mobile_login_txt"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:gravity="center"
|
||||
android:id="@+id/login_bt"
|
||||
android:textColor="@color/color_white"
|
||||
android:textSize="16sp"
|
||||
/>
|
||||
<androidx.appcompat.widget.AppCompatButton
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/wechat_login_txt"
|
||||
android:visibility="invisible"
|
||||
android:gravity="center"
|
||||
android:id="@+id/wechat_bt"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:background="@mipmap/start_wechat_login"
|
||||
android:textColor="@color/color_white"
|
||||
android:textSize="16sp"
|
||||
/>
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
</LinearLayout>
|
||||
166
app/src/main/res/layout/activity_main.xml
Normal file
166
app/src/main/res/layout/activity_main.xml
Normal file
@@ -0,0 +1,166 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<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:fitsSystemWindows="false"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
>
|
||||
|
||||
<androidx.viewpager2.widget.ViewPager2
|
||||
android:id="@+id/view_pager"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintBottom_toTopOf="@+id/bottom_group_t"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_weight="1"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="#FFFFFF"
|
||||
android:clipChildren="false"
|
||||
android:id="@+id/bottom_group_t"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
android:elevation="3dp"
|
||||
tools:ignore="MissingConstraints">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/bottom_group"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:background="#FFFFFF"
|
||||
android:clipChildren="false"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/conversation_btn_group"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:onClick="tabClick">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/conversation"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:drawableTop="@mipmap/index_img_t"
|
||||
android:drawablePadding="3dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/shouye_txt"
|
||||
android:textColor="@color/color_fe6881"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<View
|
||||
android:id="@+id/conversation_dot"
|
||||
android:layout_width="@dimen/dimen_6_dp"
|
||||
android:layout_height="@dimen/dimen_6_dp"
|
||||
android:layout_alignRight="@+id/conversation"
|
||||
android:layout_marginLeft="@dimen/dimen_10_dp"
|
||||
android:layout_marginTop="@dimen/dimen_7_dp"
|
||||
android:background="@drawable/bg_conversation_red_dot"
|
||||
android:visibility="gone" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/contact_btn_group"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:onClick="tabClick">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/contact"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:drawableTop="@mipmap/chat_img_f"
|
||||
android:drawablePadding="3dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/chat_txt"
|
||||
android:textColor="@color/color_898989"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/chatunread"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignStart="@+id/contact"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:background="@drawable/bg_conversation_red_dot"
|
||||
android:gravity="center"
|
||||
android:paddingStart="@dimen/dimen_5_dp"
|
||||
android:paddingEnd="@dimen/dimen_5_dp"
|
||||
android:textColor="@color/color_white"
|
||||
android:textSize="@dimen/text_size_12"
|
||||
android:visibility="gone" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/live_btn_group"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:onClick="tabClick"
|
||||
android:visibility="visible">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/live"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:drawableTop="@mipmap/voom_img_f"
|
||||
android:drawablePadding="3dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/voom_txt"
|
||||
android:textColor="@color/color_898989"
|
||||
android:textSize="12sp" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/myself_btn_group"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:onClick="tabClick">
|
||||
<!-- android:drawableTop="@mipmap/wallet_img_f"-->
|
||||
|
||||
<TextView
|
||||
android:id="@+id/mine"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:drawableTop="@mipmap/wo_f"
|
||||
android:drawablePadding="3dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/mini_txt"
|
||||
android:textColor="@color/color_898989"
|
||||
android:textSize="12sp" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:id="@+id/bottom_v"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp" />
|
||||
</LinearLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
167
app/src/main/res/layout/activity_message.xml
Normal file
167
app/src/main/res/layout/activity_message.xml
Normal file
@@ -0,0 +1,167 @@
|
||||
<?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/color_f7f7f7"
|
||||
android:orientation="vertical"
|
||||
tools:context=".welcome.WelcomeActivity">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/about_title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/color_fffbfb"
|
||||
app:titleText="@string/tab_session_tab_text"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_e8e8e8" />
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/layout_item"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_95"
|
||||
android:background="@android:color/white"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintTop_toBottomOf="@+id/line_top">
|
||||
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_verify"
|
||||
android:layout_width="@dimen/dp_45"
|
||||
android:layout_height="@dimen/dp_45"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/iv_activity"
|
||||
android:layout_marginStart="@dimen/dp_43"
|
||||
app:srcCompat="@mipmap/ic_notify_verify" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_verifycount"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginRight="-5dp"
|
||||
android:background="@drawable/point_chat_ff4e54"
|
||||
android:gravity="center"
|
||||
android:minWidth="@dimen/dp_16"
|
||||
android:paddingStart="@dimen/dp_2"
|
||||
android:paddingEnd="@dimen/dp_2"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="12sp"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintDimensionRatio="h,1:1"
|
||||
app:layout_constraintRight_toRightOf="@+id/iv_verify"
|
||||
app:layout_constraintTop_toTopOf="@+id/iv_verify" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:text="@string/verify_msg"
|
||||
android:textColor="@color/color_383838"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintEnd_toEndOf="@+id/iv_verify"
|
||||
app:layout_constraintStart_toStartOf="@+id/iv_verify"
|
||||
app:layout_constraintTop_toBottomOf="@+id/iv_verify" />
|
||||
|
||||
|
||||
<!-- 活动通知中心-->
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_activity"
|
||||
android:layout_width="@dimen/dp_45"
|
||||
android:layout_height="@dimen/dp_45"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:layout_marginTop="@dimen/dp_15"
|
||||
app:srcCompat="@mipmap/ic_notify_activity" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_activitycount"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginRight="-5dp"
|
||||
android:background="@drawable/point_chat_ff4e54"
|
||||
android:gravity="center"
|
||||
android:minWidth="@dimen/dp_16"
|
||||
android:paddingStart="@dimen/dp_2"
|
||||
android:paddingEnd="@dimen/dp_2"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="12sp"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintDimensionRatio="h,1:1"
|
||||
app:layout_constraintRight_toRightOf="@+id/iv_activity"
|
||||
app:layout_constraintTop_toTopOf="@+id/iv_activity" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_activity"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:text="@string/activity_msg"
|
||||
android:textColor="@color/color_383838"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintEnd_toEndOf="@+id/iv_activity"
|
||||
app:layout_constraintStart_toStartOf="@+id/iv_activity"
|
||||
app:layout_constraintTop_toBottomOf="@+id/iv_activity" />
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
||||
<com.scwang.smart.refresh.layout.SmartRefreshLayout
|
||||
android:id="@+id/refreshLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="visible"
|
||||
app:srlAccentColor="@color/color_fffbfb">
|
||||
|
||||
<com.dskj.rbchat.widget.BezierCircleHeader
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recyclerview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:overScrollMode="never"
|
||||
android:paddingTop="@dimen/dp_5" />
|
||||
|
||||
<com.scwang.smart.refresh.footer.ClassicsFooter
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:srlAccentColor="@color/color_adb5bd" />
|
||||
</com.scwang.smart.refresh.layout.SmartRefreshLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/nodate_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/nodate_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/pyq_nodate" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/nodate_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="@string/nodate_txt"
|
||||
android:textColor="@color/color_adb5bd"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
72
app/src/main/res/layout/activity_message_act.xml
Normal file
72
app/src/main/res/layout/activity_message_act.xml
Normal file
@@ -0,0 +1,72 @@
|
||||
<?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/color_f7f7f7"
|
||||
android:orientation="vertical"
|
||||
tools:context=".welcome.WelcomeActivity">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/about_title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/color_fffbfb"
|
||||
app:titleText="@string/activity_msg"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_e8e8e8" />
|
||||
|
||||
<com.scwang.smart.refresh.layout.SmartRefreshLayout
|
||||
android:id="@+id/refreshLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="visible"
|
||||
app:srlAccentColor="@color/color_fffbfb">
|
||||
|
||||
<com.dskj.rbchat.widget.BezierCircleHeader
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recyclerview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:overScrollMode="never"
|
||||
android:paddingTop="@dimen/dp_5" />
|
||||
|
||||
<com.scwang.smart.refresh.footer.ClassicsFooter
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:srlAccentColor="@color/color_adb5bd" />
|
||||
</com.scwang.smart.refresh.layout.SmartRefreshLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/nodate_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/nodate_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/pyq_nodate" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/nodate_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="@string/nodate_txt"
|
||||
android:textColor="@color/color_adb5bd"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
29
app/src/main/res/layout/activity_message_act_details.xml
Normal file
29
app/src/main/res/layout/activity_message_act_details.xml
Normal file
@@ -0,0 +1,29 @@
|
||||
<?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/color_f7f7f7"
|
||||
android:orientation="vertical"
|
||||
tools:context=".welcome.WelcomeActivity">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/about_title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/color_fffbfb"
|
||||
app:titleText="@string/activitymessage_details"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_e8e8e8" />
|
||||
|
||||
<WebView
|
||||
android:id="@+id/webivew"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
</LinearLayout>
|
||||
46
app/src/main/res/layout/activity_mine_collect.xml
Normal file
46
app/src/main/res/layout/activity_mine_collect.xml
Normal file
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/message_search_title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_46_dp"
|
||||
app:titleText="@string/mine_collect"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/rvCollect"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:scrollbars="vertical"
|
||||
android:layout_marginTop="10dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/message_search_title_bar" />
|
||||
|
||||
<ImageView android:id="@+id/ivEmpty"
|
||||
android:layout_width="@dimen/dp_188"
|
||||
android:layout_height="@dimen/dp_120"
|
||||
android:src="@drawable/ic_list_empty"
|
||||
android:layout_marginTop="@dimen/dimen_55_dp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/message_search_title_bar"
|
||||
android:visibility="gone" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
367
app/src/main/res/layout/activity_mine_info.xml
Normal file
367
app/src/main/res/layout/activity_mine_info.xml
Normal file
@@ -0,0 +1,367 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<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:id="@+id/cl_root"
|
||||
android:background="@color/color_e9eff5"
|
||||
tools:context=".main.mine.MineInfoActivity">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="48dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/user_info_title"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16dp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:ignore="SpUsage" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivBack"
|
||||
android:layout_width="26dp"
|
||||
android:layout_height="48dp"
|
||||
android:layout_marginStart="20dp"
|
||||
android:src="@drawable/ic_arrow_left"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<LinearLayout android:id="@+id/llUserInfo"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/rectangle_white_reduce_bg"
|
||||
android:layout_marginRight="@dimen/dimen_20_dp"
|
||||
android:layout_marginLeft="@dimen/dimen_20_dp"
|
||||
android:layout_marginTop="@dimen/dp_16"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/tvTitle"
|
||||
tools:ignore="SpUsage">
|
||||
|
||||
<FrameLayout android:id="@+id/flAvatar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="64dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvAvatarTip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="64dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/user_info_avatar"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16dp" />
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/cavAvatar"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="36dp"
|
||||
android:layout_marginEnd="64dp"
|
||||
android:layout_gravity="end|center_vertical"/>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="16dp"
|
||||
android:layout_marginEnd="36dp"
|
||||
android:src="@drawable/ic_frame_mine_right_arrow"
|
||||
android:layout_gravity="end|center_vertical"/>
|
||||
</FrameLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="20dp"
|
||||
android:background="@color/color_f5f8fc"/>
|
||||
|
||||
<FrameLayout android:id="@+id/flName"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="46dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvNameTip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="46dp"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:gravity="center"
|
||||
android:text="@string/user_info_nickname"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvName"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="46dp"
|
||||
android:layout_marginEnd="64dp"
|
||||
android:gravity="end|center_vertical"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/color_a6adb6"
|
||||
android:textSize="12dp"
|
||||
android:layout_marginStart="@dimen/dp_50"
|
||||
android:layout_gravity="end|center_vertical"/>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="16dp"
|
||||
android:layout_marginEnd="36dp"
|
||||
android:src="@drawable/ic_frame_mine_right_arrow"
|
||||
android:layout_gravity="end|center_vertical"/>
|
||||
</FrameLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="20dp"
|
||||
android:background="@color/color_f5f8fc"/>
|
||||
|
||||
<FrameLayout android:id="@+id/flAccount"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="46dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvAccountTip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="46dp"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:gravity="center"
|
||||
android:text="@string/user_info_account"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvAccount"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="46dp"
|
||||
android:layout_marginEnd="64dp"
|
||||
android:gravity="end|center_vertical"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/color_a6adb6"
|
||||
android:textSize="12dp"
|
||||
android:layout_marginStart="@dimen/dp_50"
|
||||
android:layout_gravity="end|center_vertical"/>
|
||||
|
||||
<ImageView android:id="@+id/ivAccountCopy"
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="16dp"
|
||||
android:layout_marginEnd="36dp"
|
||||
android:src="@mipmap/ic_copy"
|
||||
android:layout_gravity="end|center_vertical"/>
|
||||
</FrameLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="20dp"
|
||||
android:background="@color/color_f5f8fc"/>
|
||||
|
||||
<FrameLayout android:id="@+id/flSexual"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="46dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvSexualTip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="46dp"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:gravity="center"
|
||||
android:text="@string/user_info_sexual"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvSexual"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="46dp"
|
||||
android:layout_marginEnd="64dp"
|
||||
android:gravity="end|center_vertical"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/color_a6adb6"
|
||||
android:textSize="12dp"
|
||||
android:layout_gravity="end|center_vertical"/>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="16dp"
|
||||
android:layout_marginEnd="36dp"
|
||||
android:src="@drawable/ic_frame_mine_right_arrow"
|
||||
android:layout_gravity="end|center_vertical"/>
|
||||
</FrameLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="20dp"
|
||||
android:background="@color/color_f5f8fc"/>
|
||||
|
||||
<FrameLayout android:id="@+id/flBirthday"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="46dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvBirthdayTip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="46dp"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:gravity="center"
|
||||
android:text="@string/user_info_birthday"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16dp"
|
||||
tools:ignore="SpUsage" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvBirthday"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="46dp"
|
||||
android:layout_marginEnd="64dp"
|
||||
android:gravity="end|center_vertical"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/color_a6adb6"
|
||||
android:textSize="12dp"
|
||||
android:layout_marginStart="@dimen/dp_50"
|
||||
android:layout_gravity="end|center_vertical"/>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="16dp"
|
||||
android:layout_marginEnd="36dp"
|
||||
android:src="@drawable/ic_frame_mine_right_arrow"
|
||||
android:layout_gravity="end|center_vertical"/>
|
||||
</FrameLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="20dp"
|
||||
android:background="@color/color_f5f8fc"/>
|
||||
|
||||
<FrameLayout android:id="@+id/flPhone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="46dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvPhoneTip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="46dp"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:gravity="center"
|
||||
android:text="@string/user_info_phone"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16dp"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvPhone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="46dp"
|
||||
android:layout_marginEnd="64dp"
|
||||
android:gravity="end|center_vertical"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/color_a6adb6"
|
||||
android:textSize="12dp"
|
||||
android:layout_marginStart="@dimen/dp_50"
|
||||
android:layout_gravity="end|center_vertical"/>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="16dp"
|
||||
android:layout_marginEnd="36dp"
|
||||
android:src="@drawable/ic_frame_mine_right_arrow"
|
||||
android:layout_gravity="end|center_vertical"/>
|
||||
</FrameLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="20dp"
|
||||
android:background="@color/color_f5f8fc"/>
|
||||
|
||||
<FrameLayout android:id="@+id/flEmail"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="46dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvEmailTip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="46dp"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:gravity="center"
|
||||
android:text="@string/user_info_email"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16dp"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvEmail"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="46dp"
|
||||
android:layout_marginEnd="64dp"
|
||||
android:gravity="end|center_vertical"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/color_a6adb6"
|
||||
android:textSize="12dp"
|
||||
android:layout_marginStart="@dimen/dp_50"
|
||||
android:layout_gravity="end|center_vertical"/>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="16dp"
|
||||
android:layout_marginEnd="36dp"
|
||||
android:src="@drawable/ic_frame_mine_right_arrow"
|
||||
android:layout_gravity="end|center_vertical"/>
|
||||
</FrameLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<FrameLayout android:id="@+id/flSign"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="46dp"
|
||||
android:background="@drawable/rectangle_white_reduce_bg"
|
||||
android:layout_marginRight="@dimen/dimen_20_dp"
|
||||
android:layout_marginLeft="@dimen/dimen_20_dp"
|
||||
android:layout_marginTop="@dimen/dimen_20_dp"
|
||||
app:layout_constraintTop_toBottomOf="@+id/llUserInfo">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvSignTip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="46dp"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:gravity="center"
|
||||
android:text="@string/user_info_sign"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16dp"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvSign"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="46dp"
|
||||
android:layout_marginEnd="64dp"
|
||||
android:gravity="end|center_vertical"
|
||||
android:maxLines="2"
|
||||
android:ellipsize="end"
|
||||
android:textColor="@color/color_a6adb6"
|
||||
android:textSize="12sp"
|
||||
android:layout_marginStart="@dimen/dimen_80_dp"
|
||||
android:layout_gravity="end|center_vertical"/>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="16dp"
|
||||
android:layout_marginEnd="36dp"
|
||||
android:src="@drawable/ic_frame_mine_right_arrow"
|
||||
android:layout_gravity="end|center_vertical"/>
|
||||
</FrameLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
198
app/src/main/res/layout/activity_mine_setting.xml
Normal file
198
app/src/main/res/layout/activity_mine_setting.xml
Normal file
@@ -0,0 +1,198 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<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:id="@+id/cl_root"
|
||||
android:background="@color/color_e9eff5"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/setting_title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
tools:ignore="MissingConstraints"
|
||||
app:titleText="@string/mine_setting"/>
|
||||
|
||||
<LinearLayout android:id="@+id/next_group_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/rectangle_white_reduce_bg"
|
||||
android:layout_marginRight="@dimen/dimen_20_dp"
|
||||
android:layout_marginLeft="@dimen/dimen_20_dp"
|
||||
android:layout_marginTop="@dimen/dp_16"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/setting_title_bar"
|
||||
tools:ignore="SpUsage">
|
||||
|
||||
<FrameLayout android:id="@+id/notify_fl"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_46_dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/notify_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dimen_46_dp"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:gravity="center"
|
||||
android:text="@string/setting_notify"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/dp_16" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="16dp"
|
||||
android:layout_marginEnd="36dp"
|
||||
android:src="@drawable/ic_frame_mine_right_arrow"
|
||||
android:layout_gravity="end|center_vertical"/>
|
||||
</FrameLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="20dp"
|
||||
android:background="@color/color_f5f8fc"/>
|
||||
|
||||
<FrameLayout android:id="@+id/clear_fl"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_46_dp"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/clear_tip_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dimen_46_dp"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:gravity="center"
|
||||
android:text="@string/setting_clear_cache"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/dp_16" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="16dp"
|
||||
android:layout_marginEnd="36dp"
|
||||
android:src="@drawable/ic_frame_mine_right_arrow"
|
||||
android:layout_gravity="end|center_vertical" />
|
||||
</FrameLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/skin_fl"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_46_dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/skin_tip_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dimen_46_dp"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:gravity="center"
|
||||
android:text="@string/setting_skin"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/dp_16" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="16dp"
|
||||
android:layout_marginEnd="36dp"
|
||||
android:src="@drawable/ic_frame_mine_right_arrow"
|
||||
android:layout_gravity="end|center_vertical" />
|
||||
</FrameLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/notify_message_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/dimen_20_dp"
|
||||
android:layout_marginLeft="@dimen/dimen_20_dp"
|
||||
android:layout_marginTop="@dimen/dp_16"
|
||||
android:background="@drawable/app_white_round_bg"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintTop_toBottomOf="@id/next_group_ll">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_46_dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/play_mode_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dimen_46_dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/setting_play_mode"
|
||||
android:textColor="@color/color_333333"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:textSize="@dimen/dp_16"
|
||||
tools:ignore="SpUsage" />
|
||||
|
||||
<androidx.appcompat.widget.SwitchCompat
|
||||
android:id="@+id/play_mode_sc"
|
||||
android:layout_width="@dimen/dimen_60_dp"
|
||||
android:layout_height="@dimen/dimen_20_dp"
|
||||
android:clickable="false"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:thumb="@drawable/switch_thumb_selector"
|
||||
app:track="@drawable/switch_track_selector" />
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_1_dp"
|
||||
android:background="@color/color_f5f8fc" />
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_46_dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dimen_46_dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/setting_message_read_mode"
|
||||
android:textColor="@color/color_333333"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:textSize="@dimen/dp_16"
|
||||
tools:ignore="SpUsage" />
|
||||
|
||||
<androidx.appcompat.widget.SwitchCompat
|
||||
android:id="@+id/message_read_sc"
|
||||
android:layout_width="@dimen/dimen_60_dp"
|
||||
android:layout_height="@dimen/dimen_20_dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:thumb="@drawable/switch_thumb_selector"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:clickable="false"
|
||||
app:track="@drawable/switch_track_selector" />
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvLogout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="46dp"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:text="@string/tab_mine_logout"
|
||||
android:textColor="@color/color_f24957"
|
||||
android:textSize="@dimen/dp_16"
|
||||
android:background="@drawable/rectangle_white_reduce_bg"
|
||||
android:layout_marginLeft="@dimen/dimen_20_dp"
|
||||
android:layout_marginRight="@dimen/dimen_20_dp"
|
||||
android:layout_marginTop="@dimen/dp_16"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/notify_message_ll"
|
||||
tools:ignore="NotSibling,SpUsage" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
244
app/src/main/res/layout/activity_mine_setting_notify.xml
Normal file
244
app/src/main/res/layout/activity_mine_setting_notify.xml
Normal file
@@ -0,0 +1,244 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<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:id="@+id/cl_root"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/color_f7f7f7"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<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/color_f7f7f7"
|
||||
app:titleText="@string/setting_notify"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/notify_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_54"
|
||||
android:layout_margin="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dimen_4_dp"
|
||||
android:background="@drawable/item_button_bg_w"
|
||||
app:layout_constraintTop_toBottomOf="@id/setting_title_bar">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/notify_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_54"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:gravity="center"
|
||||
android:text="@string/setting_notify_info"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<androidx.appcompat.widget.SwitchCompat
|
||||
android:id="@+id/notify_sc"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dimen_24_dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:clickable="false"
|
||||
android:thumb="@drawable/switch_thumb_selector"
|
||||
app:track="@drawable/switch_track_selector" />
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/setting_notify_mode_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dimen_20_dp"
|
||||
android:text="@string/setting_notify_mode"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="@dimen/text_size_12"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintTop_toBottomOf="@id/notify_ll"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/notify_mode_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@drawable/item_button_bg_w"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintTop_toBottomOf="@id/setting_notify_mode_tv">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/notify_ring_rl"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_54">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_54"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:gravity="center"
|
||||
android:text="@string/setting_notify_mode_ring"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<androidx.appcompat.widget.SwitchCompat
|
||||
android:id="@+id/notify_ring_sc"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dimen_24_dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:clickable="false"
|
||||
android:thumb="@drawable/switch_thumb_selector"
|
||||
app:track="@drawable/switch_track_selector" />
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="#F4F4F4" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_54">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_54"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:gravity="center"
|
||||
android:text="@string/setting_notify_mode_shake"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<androidx.appcompat.widget.SwitchCompat
|
||||
android:id="@+id/notify_shake_sc"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dimen_24_dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:clickable="false"
|
||||
android:thumb="@drawable/switch_thumb_selector"
|
||||
app:track="@drawable/switch_track_selector" />
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/setting_push_mode_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dimen_20_dp"
|
||||
android:text="@string/setting_notify_other"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="@dimen/text_size_12"
|
||||
app:layout_constraintTop_toBottomOf="@id/notify_mode_ll"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/push_mode_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@drawable/item_button_bg_w"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintTop_toBottomOf="@id/setting_push_mode_tv">
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_54">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_54"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:gravity="center"
|
||||
android:text="@string/setting_notify_push_detail"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<androidx.appcompat.widget.SwitchCompat
|
||||
android:id="@+id/notify_show_info_sc"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dimen_24_dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:clickable="false"
|
||||
android:thumb="@drawable/switch_thumb_selector"
|
||||
app:track="@drawable/switch_track_selector" />
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/setting_push_ring_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dimen_20_dp"
|
||||
android:text="@string/setting_notify_push_ring"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="@dimen/text_size_12"
|
||||
app:layout_constraintTop_toBottomOf="@id/push_mode_ll"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/push_mode_ring"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@drawable/item_button_bg_w"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintTop_toBottomOf="@id/setting_push_ring_tv">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/messagering_tv"
|
||||
style="@style/settings_item_bg_group_full_20191"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_60"
|
||||
android:drawablePadding="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/setting_notify_push_message"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableRightCompat="@drawable/ic_frame_mine_right_arrow" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="#f4f4f4" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/callring_tv"
|
||||
style="@style/settings_item_bg_group_full_20191"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_60"
|
||||
android:drawablePadding="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/setting_notify_push_call"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableRightCompat="@drawable/ic_frame_mine_right_arrow" />
|
||||
|
||||
</LinearLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
26
app/src/main/res/layout/activity_nfcreader.xml
Normal file
26
app/src/main/res/layout/activity_nfcreader.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?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"
|
||||
|
||||
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/about_title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/color_fcfcfc"
|
||||
app:titleText="@string/shoukuan_title_txt" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_nfcresult"
|
||||
android:layout_gravity="center"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="识别结果:">
|
||||
|
||||
</TextView>
|
||||
</LinearLayout>
|
||||
144
app/src/main/res/layout/activity_pay_setting.xml
Normal file
144
app/src/main/res/layout/activity_pay_setting.xml
Normal file
@@ -0,0 +1,144 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.appcompat.widget.LinearLayoutCompat 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:foreground="?android:attr/selectableItemBackground"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/contact_list_activity_titleBar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:background="@color/color_fcfcfc"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:titleText="@string/pay_setting_txt"
|
||||
app:titleTextColor="@android:color/black" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:paddingRight="@dimen/dp_15"
|
||||
android:layout_height="@dimen/dp_54">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:text="@string/pay_setting_mianmi_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<androidx.appcompat.widget.SwitchCompat
|
||||
android:id="@+id/mianmi_sc"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dimen_24_dp"
|
||||
android:layout_gravity="end|center_vertical"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:checked="false"
|
||||
android:thumb="@drawable/switch_thumb_selector"
|
||||
app:track="@drawable/switch_track_selector" />
|
||||
<View android:layout_width="60dp"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/mianmi_v"
|
||||
android:layout_gravity="end|center_vertical"
|
||||
/>
|
||||
</FrameLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@color/color_f4f4f4" />
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:id="@+id/zhiwen_fy"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:paddingRight="@dimen/dp_15"
|
||||
android:layout_height="@dimen/dp_54">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:text="@string/pay_setting_finger_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<androidx.appcompat.widget.SwitchCompat
|
||||
android:id="@+id/zhiwen_sc"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dimen_24_dp"
|
||||
android:layout_gravity="end|center_vertical"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:checked="false"
|
||||
android:thumb="@drawable/switch_thumb_selector"
|
||||
app:track="@drawable/switch_track_selector" />
|
||||
<View android:layout_width="60dp"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/zhiwen_v"
|
||||
android:layout_gravity="end|center_vertical"
|
||||
/>
|
||||
</FrameLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:id="@+id/zhiwen_line"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@color/color_f4f4f4" />
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/set_pass_bt"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_54"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:textColor="@color/color_333333"
|
||||
android:gravity="center_vertical"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:text="@string/set_pay_pass_txt" />
|
||||
<TextView
|
||||
android:id="@+id/set_pass_tv"
|
||||
style="@style/settings_item_textView"
|
||||
android:drawablePadding="10dp"
|
||||
android:drawableRight="@drawable/ic_frame_mine_right_arrow"
|
||||
android:text=""
|
||||
android:textColor="@color/color_333333" />
|
||||
</FrameLayout>
|
||||
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:visibility="gone"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<Button
|
||||
android:id="@+id/shiming_bt"
|
||||
style="@style/settings_item_bg_group_top_2019"
|
||||
android:text="实名认证" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/shiming_tv"
|
||||
style="@style/settings_item_textView"
|
||||
android:drawablePadding="10dp"
|
||||
android:drawableRight="@drawable/ic_frame_mine_right_arrow"
|
||||
android:text=""
|
||||
android:textColor="@color/color_333333" />
|
||||
</FrameLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
143
app/src/main/res/layout/activity_payment.xml
Normal file
143
app/src/main/res/layout/activity_payment.xml
Normal file
@@ -0,0 +1,143 @@
|
||||
<?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"
|
||||
|
||||
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/about_title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:titleText="@string/fukuan_txt"
|
||||
android:background="@color/color_fcfcfc"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/user_head_iv"
|
||||
android:layout_width="@dimen/dp_40"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:scaleType="centerCrop"
|
||||
app:avatarCorner="@dimen/dp_20" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/user_name_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="left"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:text="@string/fukuanjine_txt"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="52dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:gravity="center_vertical"
|
||||
android:background="@drawable/input_bg_t"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:id="@+id/tv_amount_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="22dp"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:text="NT$"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="16sp"
|
||||
/>
|
||||
<EditText
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/number_hint_et"
|
||||
android:textColorHint="@color/color_adb5bd"
|
||||
android:hint="0.00"
|
||||
android:inputType="numberDecimal"
|
||||
android:background="@color/transparent"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:paddingLeft="@dimen/dp_10"
|
||||
android:drawablePadding="@dimen/dp_16"
|
||||
android:textColor="@color/black"
|
||||
android:layout_marginRight="20dp"
|
||||
android:textSize="16sp"
|
||||
/>
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="left"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:text="@string/tianjiabeizhu_txt"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="52dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:gravity="center_vertical"
|
||||
android:background="@drawable/input_bg_t"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<EditText
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/memo_et"
|
||||
android:textColorHint="@color/color_adb5bd"
|
||||
android:hint="@string/skrkjzdes_txt"
|
||||
android:background="@color/transparent"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:paddingLeft="@dimen/dp_10"
|
||||
android:maxLength="20"
|
||||
android:drawablePadding="@dimen/dp_16"
|
||||
android:textColor="@color/black"
|
||||
android:layout_marginRight="20dp"
|
||||
android:textSize="16sp"
|
||||
/>
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_login"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="44dp"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="60dp"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:background="@drawable/index_user_bg3"
|
||||
android:clickable="true"
|
||||
android:gravity="center"
|
||||
android:text="@string/zhuanzhang_title_txt"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="18sp" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
201
app/src/main/res/layout/activity_payment1.xml
Normal file
201
app/src/main/res/layout/activity_payment1.xml
Normal file
@@ -0,0 +1,201 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.appcompat.widget.LinearLayoutCompat 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:foreground="?android:attr/selectableItemBackground"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/contact_list_activity_titleBar"
|
||||
android:layout_below="@id/st"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/color_fcfcfc"
|
||||
app:titleText="@string/zhuanzhang_title_txt"
|
||||
tools:ignore="MissingConstraints" />
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_select_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_48"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal"
|
||||
android:background="@drawable/xuxian_bg">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/zhuanzhangobject_txt"
|
||||
android:textColor="#ffbcbcbc"
|
||||
android:textSize="16sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:id="@+id/userinfo_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/xuxian_bg"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:visibility="gone"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:padding="@dimen/dp_10"
|
||||
android:orientation="horizontal">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_45"
|
||||
android:orientation="vertical"
|
||||
android:layout_weight="1">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/user_name_tv"
|
||||
android:layout_weight="1"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:textColor="#333333"
|
||||
android:textSize="16sp"
|
||||
/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:id="@+id/cheatid"
|
||||
android:textColor="#ff7f7b81"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:layout_width="@dimen/dp_45"
|
||||
android:layout_height="@dimen/dp_45"
|
||||
android:id="@+id/user_head_iv"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:src="@mipmap/default_head_img"
|
||||
android:layout_gravity="center_horizontal"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="52dp"
|
||||
android:layout_marginTop="30dp"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:gravity="center_vertical"
|
||||
android:background="@drawable/input_bg_t"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="22dp"
|
||||
android:minWidth="66dp"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:text="@string/zhuanzhangjine_txt"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="16sp"
|
||||
/>
|
||||
<EditText
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/number_hint_et"
|
||||
android:textColorHint="@color/color_adb5bd"
|
||||
android:hint="@string/amount_input_hint_txt"
|
||||
android:drawableRight="@mipmap/wallet_jinbi_img"
|
||||
android:inputType="numberDecimal"
|
||||
android:background="@color/transparent"
|
||||
android:gravity="center_vertical|right"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:paddingLeft="@dimen/dp_22"
|
||||
android:drawablePadding="@dimen/dp_16"
|
||||
android:textColor="@color/black"
|
||||
android:layout_marginRight="10dp"
|
||||
android:textSize="16sp"
|
||||
/>
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/jinbi_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="right"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:text="@string/species_txt"
|
||||
android:layout_marginTop="@dimen/dp_4"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="14sp" />
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="left"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/tianjiabeizhu_txt"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="88dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:paddingTop="15dp"
|
||||
android:background="@drawable/input_bg_t"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<EditText
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:minWidth="120dp"
|
||||
android:gravity="top"
|
||||
android:layout_weight="1"
|
||||
android:id="@+id/memo_et"
|
||||
android:textColorHint="@color/color_adb5bd"
|
||||
android:hint="@string/transfer_instructions_hint_txt"
|
||||
android:background="@color/transparent"
|
||||
android:maxLength="30"
|
||||
android:textColor="@color/black"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:textSize="16sp"
|
||||
/>
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_login"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="44dp"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="60dp"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:background="@drawable/index_user_bg3"
|
||||
android:clickable="true"
|
||||
android:gravity="center"
|
||||
android:text="@string/zhuanzhang_title_txt"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="18sp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:text="@string/no_get_to_back_t_txt"
|
||||
android:layout_marginTop="18dp"
|
||||
android:visibility="gone"
|
||||
android:textColor="@color/color_adb5bd"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
192
app/src/main/res/layout/activity_payment_success.xml
Normal file
192
app/src/main/res/layout/activity_payment_success.xml
Normal file
@@ -0,0 +1,192 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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:foreground="?android:attr/selectableItemBackground"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/contact_list_activity_titleBar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:titleText="@string/zhiufuchengg_txt"
|
||||
android:background="@color/color_fcfcfc"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/contact_list_activity_titleBar"
|
||||
android:layout_marginTop="-1dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/status_iv"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="@dimen/dp_32"
|
||||
android:layout_marginTop="60dp"
|
||||
android:src="@mipmap/t_success_img" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:textColor="#303336"
|
||||
android:text="@string/zhiufuchengg_txt"
|
||||
android:textSize="18sp" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:id="@+id/number_tv1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="NT$"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16sp" />
|
||||
<TextView
|
||||
android:id="@+id/number_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="100"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="34sp" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_44"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingTop="21dp"
|
||||
android:paddingRight="20dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="50dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="85dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="50dp"
|
||||
android:text="@string/payment_type_txt"
|
||||
android:textColor="#7E7B84"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/fukuanfangshi_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical|right"
|
||||
android:minHeight="50dp"
|
||||
android:text="@string/zhanghuyue_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:background="#DEDEDF" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:minHeight="50dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="85dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="50dp"
|
||||
android:text="@string/shoukuanfang_txt"
|
||||
android:textColor="#999999"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/shoukuanfang_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical|right"
|
||||
android:minHeight="50dp"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/bot_line"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:background="#DEDEDF"
|
||||
android:visibility="visible" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/shoukuan_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:minHeight="50dp"
|
||||
android:visibility="visible">
|
||||
|
||||
<TextView
|
||||
android:layout_width="85dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="50dp"
|
||||
android:text="@string/fukuanbeizhu_txt"
|
||||
android:textColor="#999999"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/fukuanbeizhu_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical|right"
|
||||
android:minHeight="50dp"
|
||||
android:text=""
|
||||
android:textColor="#ff303336"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/button_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="44dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="60dp"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@drawable/index_user_bg4"
|
||||
android:gravity="center"
|
||||
android:text="@string/setting_complete"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="16sp" />
|
||||
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
</RelativeLayout>
|
||||
223
app/src/main/res/layout/activity_phone_login.xml
Normal file
223
app/src/main/res/layout/activity_phone_login.xml
Normal file
@@ -0,0 +1,223 @@
|
||||
<?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/color_fffafa"
|
||||
android:orientation="vertical"
|
||||
tools:context=".welcome.WelcomeActivity">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/about_title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/color_fffbfb"
|
||||
app:titleText="@string/login_txt"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="@dimen/dp_30">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/step1_ly"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:visibility="visible"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/srndsjh_txt"
|
||||
android:textColor="@color/color_383838"
|
||||
android:textSize="@dimen/sp_26" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/mobile_tips_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_90"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/area_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:drawableRight="@mipmap/select_county_img"
|
||||
android:gravity="center_vertical"
|
||||
android:text="+886"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="18sp" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/phone_et"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:background="@color/transparent"
|
||||
android:hint="@string/qsrsjh_txt"
|
||||
android:inputType="phone"
|
||||
android:paddingLeft="@dimen/dp_20"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="@color/color_bcbcbc"
|
||||
android:textSize="@dimen/sp_18" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_d8d8d8" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/step2_ly"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:visibility="gone"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/srmm_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textStyle="bold" />
|
||||
|
||||
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/password_et"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:layout_marginTop="@dimen/dp_90"
|
||||
android:background="@color/transparent"
|
||||
android:hint="@string/srmm_hint_txt"
|
||||
android:inputType="textPassword"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="@color/color_bcbcbc"
|
||||
android:textSize="@dimen/sp_18" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_d8d8d8" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right"
|
||||
android:layout_marginTop="20dp"
|
||||
android:id="@+id/wangji_tv"
|
||||
android:text="@string/wangjimima_txt"
|
||||
android:textColor="#ffe44f3e"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/step3_ly"
|
||||
android:visibility="gone"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/qsryzm_txt"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:id="@+id/sms_code_tips_tv"
|
||||
android:textColor="#ff7f7b81"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
|
||||
|
||||
<com.dskj.rbchat.custom.PasswordEditText
|
||||
android:id="@+id/password_edit_text_code"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="60dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="60dp"
|
||||
app:bgInputed="@drawable/bg_inputed"
|
||||
app:bgInputing="@drawable/bg_inputing"
|
||||
app:count="4"
|
||||
app:passwordSize="26"
|
||||
app:showPassword="true">
|
||||
|
||||
</com.dskj.rbchat.custom.PasswordEditText>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/get_code_txt"
|
||||
android:id="@+id/send_sms_tv"
|
||||
android:textColor="#6D94FF"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/next_iv"
|
||||
android:layout_width="@dimen/dp_64"
|
||||
android:layout_height="@dimen/dp_64"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_60"
|
||||
android:src="@mipmap/step_next_img" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/change_sms_code_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:text="@string/qhwyzmdl_txt"
|
||||
android:textColor="#F2507C"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
<TextView
|
||||
android:id="@+id/change_pass_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:text="@string/qhwmmdl_txt"
|
||||
android:textColor="#F2507C"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
133
app/src/main/res/layout/activity_push.xml
Normal file
133
app/src/main/res/layout/activity_push.xml
Normal file
@@ -0,0 +1,133 @@
|
||||
<?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"
|
||||
tools:context=".welcome.WelcomeActivity"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
|
||||
android:layout_height="?actionBarSize">
|
||||
<ImageView
|
||||
android:id="@+id/back_iv"
|
||||
android:layout_width="@dimen/dp_20"
|
||||
android:layout_height="@dimen/dp_20"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_centerVertical="true"
|
||||
android:src="@mipmap/push_colose_img"
|
||||
android:scaleType="centerInside"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:id="@+id/user_type_tv"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:drawableLeft="@mipmap/push_show_type_img"
|
||||
android:text="@string/all_visible_txt"
|
||||
android:drawablePadding="@dimen/dp_10"
|
||||
android:layout_centerVertical="true"
|
||||
android:maxLength="200"
|
||||
android:layout_toRightOf="@id/back_iv"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:drawableRight="@mipmap/push_quanxian_img" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/push_bt"
|
||||
android:layout_width="58dp"
|
||||
android:layout_height="30dp"
|
||||
android:background="@drawable/button_false_bg"
|
||||
android:layout_alignParentRight="true"
|
||||
android:text="@string/push_voom_txt"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:layout_centerVertical="true"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1px"
|
||||
android:background="@color/color_d8d8d8"/>
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:background="@color/white"
|
||||
android:layout_height="@dimen/dp_130">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/qianming_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/transparent"
|
||||
android:gravity="top"
|
||||
android:hint="@string/push_say_hint_txt"
|
||||
android:maxLength="200"
|
||||
android:padding="15dp"
|
||||
android:textColorHint="@color/color_bcbcbc"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/content_number_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:text="0/200"
|
||||
android:maxLength="200"
|
||||
android:layout_marginBottom="@dimen/dp_6"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
|
||||
</RelativeLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1px"
|
||||
android:background="@color/color_d8d8d8"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:gravity="center_vertical"
|
||||
android:id="@+id/add_loc_ly"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:paddingRight="@dimen/dp_15"
|
||||
android:orientation="horizontal">
|
||||
<ImageView
|
||||
android:id="@+id/main_weizhi_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/push_loc_img"/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/color_629CFF"
|
||||
android:textColorHint="@color/color_629CFF"
|
||||
android:id="@+id/main_weizhi_bt"
|
||||
android:lines="1"
|
||||
android:ellipsize="end"
|
||||
android:textSize="14sp"
|
||||
android:layout_marginLeft="@dimen/dp_5"
|
||||
android:hint="添加位置信息" />
|
||||
</LinearLayout>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recylerview1"
|
||||
android:background="@color/white"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="13dp"
|
||||
android:paddingTop="@dimen/dp_25"
|
||||
android:paddingBottom="@dimen/dp_10"
|
||||
android:paddingRight="13dp" />
|
||||
|
||||
</LinearLayout>
|
||||
289
app/src/main/res/layout/activity_receive_red_packet.xml
Normal file
289
app/src/main/res/layout/activity_receive_red_packet.xml
Normal file
@@ -0,0 +1,289 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.appcompat.widget.LinearLayoutCompat 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:foreground="?android:attr/selectableItemBackground"
|
||||
android:orientation="vertical"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/zhuti_cl"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/zhuti_bg"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:scaleType="centerCrop"
|
||||
app:layout_constraintDimensionRatio="375:108"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<com.dskj.rbchat.widget.StatusLayout
|
||||
android:id="@+id/st"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="visible">
|
||||
|
||||
</com.dskj.rbchat.widget.StatusLayout>
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/contact_list_activity_titleBar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/st"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_receive_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="40dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/title_iv"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="32dp"
|
||||
android:scaleType="centerCrop"
|
||||
app:avatarCorner="@dimen/dp_16" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="18sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/note_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_23"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:layout_marginBottom="@dimen/dp_20"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:id="@+id/user_red_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:visibility="visible">
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/bileixin_iv"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="@dimen/dp_32"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:src="@mipmap/wallet_jinbi_img" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/number_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="0.00"
|
||||
android:textColor="#CF924F"
|
||||
android:textSize="36sp" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/to_wallet_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="14dp"
|
||||
android:drawablePadding="5dp"
|
||||
android:text="@string/to_wallet_send_redpack_txt"
|
||||
android:textColor="#CF924F"
|
||||
android:textSize="12sp"
|
||||
android:visibility="visible" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="10dp"
|
||||
android:layout_marginTop="24dp"
|
||||
android:background="@color/white" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/end_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="@dimen/dp_14"
|
||||
android:paddingRight="@dimen/dp_14"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title_tips_tvuser"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1px"
|
||||
android:layout_marginTop="10dp"
|
||||
android:background="#EDE5E5" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/big_bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_66"
|
||||
android:background="@drawable/ripple_with_color_mask"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/logo_iv"
|
||||
android:layout_width="@dimen/dp_46"
|
||||
android:layout_height="@dimen/dp_46"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
app:es_shape_type="round" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/time_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@id/logo_iv"
|
||||
android:layout_toRightOf="@id/logo_iv"
|
||||
android:text="6月16日"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/end_type_iv"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:src="@mipmap/wallet_jinbi_img" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/price_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:layout_toLeftOf="@id/end_type_iv"
|
||||
android:text="-22.00"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_18" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title_tv1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignTop="@id/logo_iv"
|
||||
android:layout_marginRight="@dimen/dp_4"
|
||||
android:layout_toLeftOf="@id/price_tv"
|
||||
android:layout_toRightOf="@id/logo_iv"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
<View
|
||||
android:id="@+id/bot_vv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="36dp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:id="@+id/group_red_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/number_tv1_ly"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/number_tv3"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="32dp"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:src="@mipmap/wallet_jinbi_img" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/number_tv1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="0.00"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="36sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_10"
|
||||
android:background="#F6F5F7" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title_tips_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="13sp" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1px"
|
||||
android:background="#EDE5E5" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recyclerView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="14dp"
|
||||
android:paddingRight="@dimen/dp_14" />
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
355
app/src/main/res/layout/activity_register.xml
Normal file
355
app/src/main/res/layout/activity_register.xml
Normal file
@@ -0,0 +1,355 @@
|
||||
<?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"
|
||||
tools:context=".welcome.WelcomeActivity">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/about_title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/white"
|
||||
app:titleText=""
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="@dimen/dp_30">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step1_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:orientation="vertical"
|
||||
android:visibility="visible">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableRight="@mipmap/reg_wecome_img"
|
||||
android:drawablePadding="@dimen/dp_13"
|
||||
android:text="@string/hyzc_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/mobile_tips_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_90"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/area_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:drawableRight="@mipmap/select_county_img"
|
||||
android:gravity="center_vertical"
|
||||
android:text="+886"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="18sp" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/phone_et"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:background="@color/transparent"
|
||||
android:hint="@string/qsrsjh_txt"
|
||||
android:inputType="phone"
|
||||
android:paddingLeft="@dimen/dp_20"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="@color/color_bcbcbc"
|
||||
android:textSize="@dimen/sp_18" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_d8d8d8" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step2_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/szmm_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/setpwd_hint_txt"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/password_et"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:layout_marginTop="@dimen/dp_90"
|
||||
android:background="@color/transparent"
|
||||
android:hint="@string/srmm_hint_txt"
|
||||
android:maxLength="32"
|
||||
android:inputType="textPassword"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="@color/color_bcbcbc"
|
||||
android:textSize="@dimen/sp_18" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_d8d8d8" />
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/password_et1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:layout_marginTop="@dimen/dp_35"
|
||||
android:background="@color/transparent"
|
||||
android:hint="@string/qzcsrmm_txt"
|
||||
android:maxLength="32"
|
||||
|
||||
android:inputType="textPassword"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="@color/color_bcbcbc"
|
||||
android:textSize="@dimen/sp_18" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_d8d8d8" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step3_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:text="@string/qsryzm_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:id="@+id/send_sms_tips_tv"
|
||||
android:text="@string/djfsyzm_txt"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
||||
<com.dskj.rbchat.custom.PasswordEditText
|
||||
android:id="@+id/password_edit_text_code"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="60dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="60dp"
|
||||
app:bgInputed="@drawable/bg_inputed"
|
||||
app:bgInputing="@drawable/bg_inputing"
|
||||
app:count="4"
|
||||
app:passwordSize="26"
|
||||
app:showPassword="false">
|
||||
|
||||
</com.dskj.rbchat.custom.PasswordEditText>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/send_sms_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/get_code_txt"
|
||||
android:textColor="@color/color_6b3689"
|
||||
android:textSize="14sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step4_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/gzjsdygsfb_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/head_ry"
|
||||
android:layout_width="@dimen/dp_88"
|
||||
android:layout_height="@dimen/dp_88"
|
||||
android:layout_marginTop="@dimen/dp_40"
|
||||
android:layout_gravity="center_horizontal">
|
||||
<com.dskj.rbchat.widget.CircleImageView
|
||||
android:id="@+id/head_iv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@mipmap/default_head_img"
|
||||
app:ease_border_width="@dimen/dp_0"
|
||||
app:es_shape_type="round"/>
|
||||
<ImageView
|
||||
android:layout_width="84.66dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_height="@dimen/dp_32"
|
||||
android:background="@mipmap/head_float_b_img"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:src="@mipmap/edit_head_img"
|
||||
android:scaleType="centerInside"
|
||||
android:gravity="center"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/nickname_et"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:layout_marginTop="@dimen/dp_55"
|
||||
android:background="@color/transparent"
|
||||
android:hint="@string/srndnc_txt"
|
||||
android:maxLength="15"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="@color/color_bcbcbc"
|
||||
android:textSize="@dimen/sp_18" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_d8d8d8" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_60"
|
||||
android:orientation="horizontal">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:layout_weight="1">
|
||||
<ImageView
|
||||
android:id="@+id/nan_iv"
|
||||
android:layout_width="@dimen/dp_64"
|
||||
android:layout_height="@dimen/dp_64"
|
||||
android:src="@mipmap/nan_img_t"/>
|
||||
<TextView
|
||||
android:id="@+id/nan_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_15"
|
||||
android:text="@string/sexual_male"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="18sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:layout_weight="1">
|
||||
<ImageView
|
||||
android:id="@+id/nv_iv"
|
||||
android:layout_width="@dimen/dp_64"
|
||||
android:layout_height="@dimen/dp_64"
|
||||
android:src="@mipmap/nv_img_f"/>
|
||||
<TextView
|
||||
android:id="@+id/nv_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_15"
|
||||
android:text="@string/sexual_female"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="18sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/next_iv"
|
||||
android:layout_width="@dimen/dp_64"
|
||||
android:layout_height="@dimen/dp_64"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_60"
|
||||
android:src="@mipmap/step_next_img" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/change_sms_code_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:text="@string/qhwyzmdl_txt"
|
||||
android:textColor="@color/color_6b3689"
|
||||
android:textSize="14sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/change_pass_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:text="@string/qhwmmdl_txt"
|
||||
android:textColor="@color/color_6b3689"
|
||||
android:textSize="14sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
413
app/src/main/res/layout/activity_register_bf.xml
Normal file
413
app/src/main/res/layout/activity_register_bf.xml
Normal file
@@ -0,0 +1,413 @@
|
||||
<?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"
|
||||
tools:context=".welcome.WelcomeActivity">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/about_title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/white"
|
||||
app:titleText=""
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="@dimen/dp_30">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step1_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:orientation="vertical"
|
||||
android:visibility="visible">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableRight="@mipmap/reg_wecome_img"
|
||||
android:drawablePadding="@dimen/dp_13"
|
||||
android:text="@string/hyzc_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/mobile_tips_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_90"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/area_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:drawableRight="@mipmap/select_county_img"
|
||||
android:gravity="center_vertical"
|
||||
android:text="台湾 +886"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="18sp" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/phone_et"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:background="@color/transparent"
|
||||
android:hint="@string/qsrsjh_txt"
|
||||
android:inputType="phone"
|
||||
android:paddingLeft="@dimen/dp_20"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="@color/color_bcbcbc"
|
||||
android:textSize="@dimen/sp_18" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_d8d8d8" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step2_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/szmm_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/setpwd_hint_txt"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/password_et"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:layout_marginTop="@dimen/dp_90"
|
||||
android:background="@color/transparent"
|
||||
android:hint="@string/srmm_hint_txt"
|
||||
android:maxLength="32"
|
||||
android:inputType="textPassword"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="@color/color_bcbcbc"
|
||||
android:textSize="@dimen/sp_18" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_d8d8d8" />
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/password_et1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:layout_marginTop="@dimen/dp_35"
|
||||
android:background="@color/transparent"
|
||||
android:hint="@string/qzcsrmm_txt"
|
||||
android:maxLength="32"
|
||||
|
||||
android:inputType="textPassword"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="@color/color_bcbcbc"
|
||||
android:textSize="@dimen/sp_18" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_d8d8d8" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step3_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:text="@string/qsryzm_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:id="@+id/send_sms_tips_tv"
|
||||
android:text="@string/djfsyzm_txt"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
||||
<com.dskj.rbchat.custom.PasswordEditText
|
||||
android:id="@+id/password_edit_text_code"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="60dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="60dp"
|
||||
app:bgInputed="@drawable/bg_inputed"
|
||||
app:bgInputing="@drawable/bg_inputing"
|
||||
app:count="4"
|
||||
app:passwordSize="26"
|
||||
app:showPassword="false">
|
||||
|
||||
</com.dskj.rbchat.custom.PasswordEditText>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/send_sms_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/get_code_txt"
|
||||
android:textColor="@color/color_6b3689"
|
||||
android:textSize="14sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step4_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/gzjsdygsfb_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/head_ry"
|
||||
android:layout_width="@dimen/dp_88"
|
||||
android:layout_height="@dimen/dp_88"
|
||||
android:layout_marginTop="@dimen/dp_40"
|
||||
android:layout_gravity="center_horizontal">
|
||||
<com.dskj.rbchat.widget.CircleImageView
|
||||
android:id="@+id/head_iv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@mipmap/default_head_img"
|
||||
app:ease_border_width="@dimen/dp_0"
|
||||
app:es_shape_type="round"/>
|
||||
<ImageView
|
||||
android:layout_width="84.66dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_height="@dimen/dp_32"
|
||||
android:background="@mipmap/head_float_b_img"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:src="@mipmap/edit_head_img"
|
||||
android:scaleType="centerInside"
|
||||
android:gravity="center"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/nickname_et"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:layout_marginTop="@dimen/dp_55"
|
||||
android:background="@color/transparent"
|
||||
android:hint="@string/srndnc_txt"
|
||||
android:maxLength="15"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="@color/color_bcbcbc"
|
||||
android:textSize="@dimen/sp_18" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_d8d8d8" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_60"
|
||||
android:orientation="horizontal">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:layout_weight="1">
|
||||
<ImageView
|
||||
android:id="@+id/nan_iv"
|
||||
android:layout_width="@dimen/dp_64"
|
||||
android:layout_height="@dimen/dp_64"
|
||||
android:src="@mipmap/nan_img_t"/>
|
||||
<TextView
|
||||
android:id="@+id/nan_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_15"
|
||||
android:text="@string/sexual_male"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="18sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:layout_weight="1">
|
||||
<ImageView
|
||||
android:id="@+id/nv_iv"
|
||||
android:layout_width="@dimen/dp_64"
|
||||
android:layout_height="@dimen/dp_64"
|
||||
android:src="@mipmap/nv_img_f"/>
|
||||
<TextView
|
||||
android:id="@+id/nv_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_15"
|
||||
android:text="@string/sexual_female"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="18sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step5_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/sfrz_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textStyle="bold" />
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/step5_txt"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/true_name_et"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:layout_marginTop="@dimen/dp_90"
|
||||
android:background="@color/transparent"
|
||||
android:hint="@string/qingshuruxingming_txt"
|
||||
android:maxLength="10"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="@color/color_bcbcbc"
|
||||
android:textSize="@dimen/sp_18" />
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_d8d8d8" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/card_number_et"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:layout_marginTop="@dimen/dp_40"
|
||||
android:background="@color/transparent"
|
||||
android:hint="@string/shenfenzhenghao_txt"
|
||||
android:maxLength="10"
|
||||
android:digits="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="@color/color_bcbcbc"
|
||||
android:textSize="@dimen/sp_18" />
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_d8d8d8" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/next_iv"
|
||||
android:layout_width="@dimen/dp_64"
|
||||
android:layout_height="@dimen/dp_64"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_60"
|
||||
android:src="@mipmap/step_next_img" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/change_sms_code_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:text="@string/qhwyzmdl_txt"
|
||||
android:textColor="@color/color_6b3689"
|
||||
android:textSize="14sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/change_pass_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:text="@string/qhwmmdl_txt"
|
||||
android:textColor="@color/color_6b3689"
|
||||
android:textSize="14sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
39
app/src/main/res/layout/activity_ring_set.xml
Normal file
39
app/src/main/res/layout/activity_ring_set.xml
Normal file
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<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:id="@+id/cl_root"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/color_f7f7f7"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/setting_ring_title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/color_f7f7f7"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_15"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:background="@drawable/item_button_bg_w"
|
||||
app:layout_constraintTop_toBottomOf="@+id/setting_ring_title_bar">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recyclerview_ringset"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
154
app/src/main/res/layout/activity_searchfriends.xml
Normal file
154
app/src/main/res/layout/activity_searchfriends.xml
Normal file
@@ -0,0 +1,154 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<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="@android:color/white"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/titleBarView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:titleText="@string/global_searchfriend_title" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_searchfriend_id"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:drawablePadding="@dimen/dp_10"
|
||||
android:paddingTop="@dimen/dp_30"
|
||||
android:text="ID"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableStartCompat="@drawable/app_radio_button_green_not_selected"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/titleBarView" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_searchfriend_phone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_60"
|
||||
android:drawablePadding="@dimen/dp_10"
|
||||
android:paddingTop="@dimen/dp_30"
|
||||
android:text="电话号码"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableStartCompat="@drawable/app_radio_button_green_not_selected"
|
||||
app:layout_constraintLeft_toRightOf="@+id/tv_searchfriend_id"
|
||||
app:layout_constraintTop_toBottomOf="@+id/titleBarView" />
|
||||
|
||||
<include
|
||||
layout="@layout/layout_common_search"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_searchfriend_id" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/ly_searchfriend_inputphone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_searchfriend_id">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/area_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:drawableRight="@mipmap/select_county_img"
|
||||
android:gravity="center_vertical"
|
||||
android:text=" +86"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="18sp" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/phone_et"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:layout_toRightOf="@+id/area_tv"
|
||||
android:background="@color/transparent"
|
||||
android:hint="@string/qsrsjh_txt"
|
||||
android:inputType="phone"
|
||||
android:paddingLeft="@dimen/dp_20"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="@color/color_bcbcbc"
|
||||
android:textSize="@dimen/sp_18" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/ic_searchfriends_search"
|
||||
android:layout_width="@dimen/dp_16"
|
||||
android:layout_height="@dimen/dp_16"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerVertical="true"
|
||||
app:srcCompat="@mipmap/ic_search_edit" />
|
||||
|
||||
<View
|
||||
android:id="@+id/line_searchfriend_phone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:layout_below="@+id/phone_et"
|
||||
android:background="@color/color_d8d8d8" />
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_163"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_searchfriend_phone">
|
||||
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/av_indexfra_head"
|
||||
android:layout_width="@dimen/dp_64"
|
||||
android:layout_height="@dimen/dp_64"
|
||||
app:avatarCorner="@dimen/dp_64" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_18"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/titleBarView" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="@dimen/dp_58"
|
||||
android:layout_height="@dimen/dp_32"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:background="@drawable/cornor_6d94ff_20dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/addfriend_add_text"
|
||||
android:textColor="@color/color_6b3689"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/titleBarView" />
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
143
app/src/main/res/layout/activity_security.xml
Normal file
143
app/src/main/res/layout/activity_security.xml
Normal file
@@ -0,0 +1,143 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.appcompat.widget.LinearLayoutCompat 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:foreground="?android:attr/selectableItemBackground"
|
||||
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/color_white"
|
||||
app:titleText="@string/account_and_security_txt"
|
||||
tools:ignore="MissingConstraints" />
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_f7f7f7" />
|
||||
<LinearLayout
|
||||
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/base_info_txt"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="@dimen/sp_12"
|
||||
/>
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<Button
|
||||
android:id="@+id/accout_bt"
|
||||
style="@style/settings_item_bg_group_top_2019"
|
||||
android:text="@string/lailiaozhanghao_txt" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/accout_tv"
|
||||
style="@style/settings_item_textView"
|
||||
android:text="@string/weishezhi_txt"
|
||||
android:drawablePadding="10dp"
|
||||
android:drawableRight="@drawable/ic_frame_mine_right_arrow"
|
||||
android:textColor="@color/color_666666" />
|
||||
</FrameLayout>
|
||||
|
||||
|
||||
<!-- <ImageView style="@style/settings_item_seperator17dp_h_2019"-->
|
||||
<!-- android:layout_marginRight="15dp"/>-->
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone">
|
||||
|
||||
<Button
|
||||
android:id="@+id/bind_wechat_bt"
|
||||
style="@style/settings_item_bg_group_top_2019"
|
||||
android:text="@string/wechat_txt" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/bind_wechat_tv"
|
||||
style="@style/settings_item_textView"
|
||||
android:drawablePadding="10dp"
|
||||
android:drawableRight="@drawable/ic_frame_mine_right_arrow"
|
||||
android:text=""
|
||||
android:textColor="@color/color_666666" />
|
||||
</FrameLayout>
|
||||
|
||||
|
||||
<!-- <ImageView style="@style/settings_item_seperator17dp_h_2019"-->
|
||||
<!-- android:layout_marginRight="15dp"/>-->
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<Button
|
||||
android:id="@+id/bind_phone_bt"
|
||||
style="@style/settings_item_bg_group_top_2019"
|
||||
android:text="@string/phone_number_txt" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/bind_phone_tv"
|
||||
style="@style/settings_item_textView"
|
||||
android:drawablePadding="10dp"
|
||||
android:drawableRight="@drawable/ic_frame_mine_right_arrow"
|
||||
android:text=""
|
||||
android:textColor="@color/color_666666" />
|
||||
</FrameLayout>
|
||||
|
||||
|
||||
<!-- <ImageView style="@style/settings_item_seperator17dp_h_2019"-->
|
||||
<!-- android:layout_marginRight="15dp"/>-->
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<Button
|
||||
android:id="@+id/zhmm_bt"
|
||||
style="@style/settings_item_bg_group_top_2019"
|
||||
android:text="@string/accout_password_txt3" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/zhmm_tv"
|
||||
style="@style/settings_item_textView"
|
||||
android:drawablePadding="10dp"
|
||||
android:drawableRight="@drawable/ic_frame_mine_right_arrow"
|
||||
android:text="@string/quxiugai_txt"
|
||||
android:textColor="@color/color_666666" />
|
||||
</FrameLayout>
|
||||
<TextView
|
||||
android:id="@+id/tvLogout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_16"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:layout_marginBottom="@dimen/dp_16"
|
||||
android:visibility="gone"
|
||||
android:background="@drawable/index_user_bg3"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:text="@string/tab_mine_logout"
|
||||
android:textColor="@color/colorWhite"
|
||||
android:textSize="@dimen/dp_16"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/notify_message_ll"
|
||||
tools:ignore="NotSibling,SpUsage" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
340
app/src/main/res/layout/activity_send_gift_redpacket.xml
Normal file
340
app/src/main/res/layout/activity_send_gift_redpacket.xml
Normal file
@@ -0,0 +1,340 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.appcompat.widget.LinearLayoutCompat 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="#EEE9E9"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/sendredpacket_activity_titleBar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/color_fffbfb"
|
||||
app:titleText="@string/fahongbao_txt"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tips_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:drawableRight="@mipmap/ic_indexfm_down"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:gravity="center"
|
||||
android:text="@string/psjhb_txt"
|
||||
android:textColor="@color/color_6b3689"
|
||||
android:textSize="@dimen/sp_14"
|
||||
android:visibility="gone" />
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/top_select_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="@dimen/dp_30"
|
||||
android:paddingRight="@dimen/dp_30"
|
||||
android:visibility="gone">
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:id="@+id/jinbi_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:layout_marginRight="@dimen/dp_8"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/logout_btn_main1"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="@dimen/dp_10"
|
||||
android:paddingRight="@dimen/dp_10">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/jinbi_iv"
|
||||
android:layout_width="@dimen/dp_24"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@mipmap/wallet_jinbi_img" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:text="@string/species_txt"
|
||||
|
||||
android:textColor="#e5333333"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:id="@+id/ytinbi_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:layout_marginLeft="@dimen/dp_8"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/logout_btn_c1"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="@dimen/dp_10"
|
||||
android:paddingRight="@dimen/dp_10">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/yinbi_iv"
|
||||
android:layout_width="@dimen/dp_24"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@mipmap/wallet_yinbi_img" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/yinbi_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:text="@string/silver_coins_txt"
|
||||
|
||||
android:textColor="#e5333333"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:id="@+id/group_red_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:orientation="vertical"
|
||||
android:visibility="visible">
|
||||
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="53dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:background="@drawable/cornor_fffbfb_6dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_weight="1"
|
||||
android:drawableLeft="@mipmap/honebao_left_img"
|
||||
android:text="@string/hbgs_txt"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16sp" />
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/size_hint_et"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginRight="20dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:gravity="right|center_vertical"
|
||||
android:hint="@string/qtxgs_txt"
|
||||
android:inputType="number"
|
||||
android:minWidth="120dp"
|
||||
android:textColor="@color/black"
|
||||
android:textColorHint="#BCBCBC"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="15dp"
|
||||
android:text="@string/ge_txt"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16sp" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tips_names_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:text="本群共5人,红包个数不能超过当前群聊人数"
|
||||
android:textColor="#ffb8b5be"
|
||||
android:textSize="12sp" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="53dp"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:background="@drawable/cornor_fffbfb_6dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/jint_left_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:drawableLeft="@mipmap/left_pin_gift"
|
||||
android:text="@string/giftredpacket_totalamount"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16sp" />
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/number_hint_et"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:gravity="right|center_vertical"
|
||||
android:hint="0.00"
|
||||
android:inputType="number"
|
||||
android:minWidth="120dp"
|
||||
android:textColor="@color/black"
|
||||
android:textColorHint="#BCBCBC"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="15dp"
|
||||
android:text="@string/danwei_txt"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="16sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/jinbi_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_4"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:gravity="right"
|
||||
android:text="@string/species_txt"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="14sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="53dp"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:background="@drawable/cornor_fffbfb_6dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
android:layout_marginLeft="15dp"
|
||||
android:text="@string/liuyanneirong_txt"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16sp" />
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/memo_et"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="@string/remarks_hit_txt"
|
||||
android:minWidth="120dp"
|
||||
android:textColor="@color/black"
|
||||
android:textColorHint="#BCBCBC"
|
||||
android:textSize="16sp" />
|
||||
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/number_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="0.00"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="36sp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:text="@string/danwei_txt"
|
||||
android:textColor="@color/common_list_light_red_for_text"
|
||||
android:textSize="22sp"
|
||||
android:visibility="gone" />
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_login"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginStart="@dimen/dp_30"
|
||||
android:layout_marginTop="150dp"
|
||||
android:layout_marginEnd="@dimen/dp_30"
|
||||
android:background="@drawable/bg_send_giftredpacket_bg"
|
||||
android:clickable="true"
|
||||
android:gravity="center"
|
||||
android:text="@string/send_in_redtype_txt1"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="18sp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_40"
|
||||
android:text="@string/no_get_to_back_txt"
|
||||
android:textColor="@color/color_adb5bd"
|
||||
android:textSize="12sp" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
339
app/src/main/res/layout/activity_send_red_packet.xml
Normal file
339
app/src/main/res/layout/activity_send_red_packet.xml
Normal file
@@ -0,0 +1,339 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.appcompat.widget.LinearLayoutCompat 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:foreground="?android:attr/selectableItemBackground"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/contact_list_activity_titleBar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/st"
|
||||
app:titleText="@string/fahongbao_txt"
|
||||
android:background="@color/color_fcfcfc"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tips_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:visibility="gone"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:drawableRight="@mipmap/ic_indexfm_down"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:text="@string/psjhb_txt"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:textColor="@color/color_6b3689"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/top_select_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="@dimen/dp_30"
|
||||
android:paddingRight="@dimen/dp_30"
|
||||
android:visibility="gone">
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:id="@+id/jinbi_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:layout_marginRight="@dimen/dp_8"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/logout_btn_main1"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="@dimen/dp_10"
|
||||
android:paddingRight="@dimen/dp_10"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/jinbi_iv"
|
||||
android:layout_width="@dimen/dp_24"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@mipmap/wallet_jinbi_img" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:text="@string/species_txt"
|
||||
|
||||
android:textColor="#e5333333"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:id="@+id/ytinbi_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:layout_marginLeft="@dimen/dp_8"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/logout_btn_c1"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="@dimen/dp_10"
|
||||
android:paddingRight="@dimen/dp_10"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/yinbi_iv"
|
||||
android:layout_width="@dimen/dp_24"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@mipmap/wallet_yinbi_img" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/yinbi_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:text="@string/silver_coins_txt"
|
||||
|
||||
android:textColor="#e5333333"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:id="@+id/group_red_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="53dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:background="@drawable/input_bg_t"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_weight="1"
|
||||
android:drawableLeft="@mipmap/honebao_left_img"
|
||||
android:text="@string/hbgs_txt"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16sp" />
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/size_hint_et"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginRight="20dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:gravity="right|center_vertical"
|
||||
android:hint="@string/qtxgs_txt"
|
||||
android:inputType="number"
|
||||
android:minWidth="120dp"
|
||||
android:textColor="@color/black"
|
||||
android:textColorHint="#939CC0"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="15dp"
|
||||
android:text="@string/ge_txt"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16sp" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tips_names_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:text="本群共5人,红包个数不能超过当前群聊人数"
|
||||
android:textColor="#ffb8b5be"
|
||||
android:textSize="12sp" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="53dp"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:background="@drawable/input_bg_t"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/jint_left_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
android:layout_marginLeft="15dp"
|
||||
android:text="@string/red_envelope_amount_txt"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16sp" />
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/number_hint_et"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginRight="10dp"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:layout_weight="1"
|
||||
android:drawableRight="@mipmap/wallet_jinbi_img"
|
||||
android:background="@color/transparent"
|
||||
android:gravity="right|center_vertical"
|
||||
android:hint="0.00"
|
||||
android:inputType="numberDecimal"
|
||||
android:minWidth="120dp"
|
||||
android:textColor="@color/black"
|
||||
android:textColorHint="#939CC0"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="15dp"
|
||||
android:text="@string/danwei_txt"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="16sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
<TextView
|
||||
android:id="@+id/jinbi_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="right"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:text="@string/species_txt"
|
||||
android:layout_marginTop="@dimen/dp_4"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="53dp"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:background="@drawable/input_bg_t"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
android:layout_marginLeft="15dp"
|
||||
android:text="@string/liuyanneirong_txt"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16sp" />
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/memo_et"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:hint="@string/remarks_hit_txt"
|
||||
android:minWidth="120dp"
|
||||
android:textColor="@color/black"
|
||||
android:textColorHint="#939CC0"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="28dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/number_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="0.00"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="36sp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:text="@string/danwei_txt"
|
||||
android:textColor="@color/common_list_light_red_for_text"
|
||||
android:textSize="22sp"
|
||||
android:visibility="gone" />
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_login"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="48dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="15dp"
|
||||
android:background="@drawable/logout_btn_z_88"
|
||||
android:clickable="true"
|
||||
android:gravity="center"
|
||||
android:text="@string/send_in_redenvelope_txt1"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="18sp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="60dp"
|
||||
android:text="@string/no_get_to_back_txt"
|
||||
android:textColor="@color/color_adb5bd"
|
||||
android:textSize="12sp" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
163
app/src/main/res/layout/activity_set_accout_id.xml
Normal file
163
app/src/main/res/layout/activity_set_accout_id.xml
Normal file
@@ -0,0 +1,163 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.appcompat.widget.LinearLayoutCompat 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:foreground="?android:attr/selectableItemBackground"
|
||||
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/lailiaozhanghao_txt"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_f7f7f7" />
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="30dp"
|
||||
android:id="@+id/step_1_ly"
|
||||
android:visibility="visible"
|
||||
android:paddingRight="@dimen/dp_30"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/qszacc_txt"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="24sp"
|
||||
/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:text="@string/qszacc1_txt"
|
||||
android:textColor="#ff7e7b84"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:background="@color/transparent"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:layout_height="@dimen/dp_52">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/edit_text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:background="@color/transparent"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="@string/qszacc_hint_txt"
|
||||
android:digits="ABCDEFGabcdefgHIJKLMNhijklmnOPQRSTopqrstUVWXYZuvwxyz0123456789_"
|
||||
android:maxLength="15"
|
||||
android:singleLine="true"
|
||||
android:text=""
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHighlight="#D2CBDF"
|
||||
android:textColorHint="#D2CBDF"/>
|
||||
|
||||
</RelativeLayout>
|
||||
<View android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_d8d8d8"/>
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:id="@+id/show_error_tv"
|
||||
android:text="QTALK ID已存在"
|
||||
android:visibility="invisible"
|
||||
android:textColor="#ffff3d3d"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="0/15"
|
||||
android:id="@+id/number_tv"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:textColor="#ffb8b5be"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/sumbit_bt"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_marginTop="10dp"
|
||||
android:backgroundTint="@color/color_themeblue_alpha70"
|
||||
android:background="@drawable/index_user_bg4"
|
||||
android:gravity="center"
|
||||
android:text="@string/sure_txt"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="16sp" />
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
android:id="@+id/tops_tv"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:text="@string/meiyuegaiyici_txt"
|
||||
android:textColor="#ffb8b5be"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="30dp"
|
||||
android:id="@+id/step_2_ly"
|
||||
android:visibility="gone"
|
||||
android:paddingRight="@dimen/dp_30"
|
||||
android:layout_marginTop="@dimen/dp_118"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/zsvbxg_txt"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="24sp"
|
||||
/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:id="@+id/tips_3_tv"
|
||||
android:lineSpacingExtra="@dimen/dp_5"
|
||||
android:text="@string/zsbnxg1_txt"
|
||||
android:textColor="#ff7e7b84"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/sumbit_bt1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_marginTop="120dp"
|
||||
android:background="@drawable/logout_btn2"
|
||||
android:gravity="center"
|
||||
android:text="@string/general_got_it"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="16sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
125
app/src/main/res/layout/activity_setpaypass_step1.xml
Normal file
125
app/src/main/res/layout/activity_setpaypass_step1.xml
Normal file
@@ -0,0 +1,125 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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:id="@+id/big_ry"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/white"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/contact_list_activity_titleBar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:background="@color/color_fcfcfc"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:titleText="@string/sfrz_txt"
|
||||
app:titleTextColor="@android:color/black" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/middle_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/contact_list_activity_titleBar"
|
||||
android:layout_marginTop="30dp"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step1_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="visible">
|
||||
<ImageView
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:src="@mipmap/sjdxyz_img"
|
||||
android:layout_gravity="center_horizontal"/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:text="@string/sjdxyzmrz_txt"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="18sp"
|
||||
/>
|
||||
<TextView
|
||||
android:id="@+id/phone_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:minWidth="74dp"
|
||||
|
||||
android:paddingLeft="21dp"
|
||||
android:text="@string/dxyzmjfz_txt"
|
||||
android:textColor="#7E7B84"
|
||||
android:textSize="14sp"
|
||||
android:visibility="visible" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/code_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="30dp"
|
||||
android:layout_marginTop="30dp"
|
||||
android:layout_marginRight="24dp"
|
||||
android:background="@drawable/input_bg_t"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="visible">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/password_edit_text"
|
||||
style="@style/login_edit_text_style"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="@string/vcode_hint_txt"
|
||||
android:inputType="number"
|
||||
android:paddingLeft="21dp"
|
||||
android:singleLine="true"
|
||||
android:text=""
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHighlight="@color/color_adb5bd"
|
||||
android:textColorHint="@color/color_adb5bd">
|
||||
|
||||
<requestFocus />
|
||||
</EditText>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/getcode_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginRight="19dp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="8dp"
|
||||
android:text="@string/get_code_txt"
|
||||
android:textColor="@color/color_6b3689"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<Button
|
||||
android:id="@+id/sumbit_bt"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="44dp"
|
||||
android:layout_below="@id/middle_ly"
|
||||
android:layout_marginLeft="33dp"
|
||||
android:layout_marginTop="60dp"
|
||||
android:layout_marginRight="33dp"
|
||||
android:background="@drawable/index_user_bg4"
|
||||
android:text="@string/next_txt"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="16sp" />
|
||||
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
30
app/src/main/res/layout/activity_setting.xml
Normal file
30
app/src/main/res/layout/activity_setting.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<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:id="@+id/cl_root"
|
||||
android:orientation="vertical"
|
||||
android:background="@android:color/white"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/setting_title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
tools:ignore="MissingConstraints"
|
||||
app:titleText="@string/mine_setting"/>
|
||||
<fragment
|
||||
android:id="@+id/mapview"
|
||||
android:name="com.google.android.gms.maps.MapFragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:ignore="MissingClass" />
|
||||
|
||||
</LinearLayout>
|
||||
50
app/src/main/res/layout/activity_settingresource.xml
Normal file
50
app/src/main/res/layout/activity_settingresource.xml
Normal file
@@ -0,0 +1,50 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<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="@android:color/white">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/backtitle_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:titleTextColor="@color/color_333333" />
|
||||
|
||||
<com.google.android.material.tabs.TabLayout
|
||||
android:id="@+id/tablayout_setres"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_40_dp"
|
||||
android:background="@color/transparent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/backtitle_bar"
|
||||
app:tabBackground="@color/transparent"
|
||||
app:tabIndicator="@drawable/tab_line3"
|
||||
app:tabIndicatorColor="@color/color_6b3689"
|
||||
app:tabRippleColor="@null"
|
||||
app:tabSelectedTextColor="@color/color_333333"
|
||||
app:tabTextAppearance="@style/MyBgTablayoutstyle"
|
||||
app:tabTextColor="@color/color_7f7b81" />
|
||||
|
||||
<View
|
||||
android:id="@+id/line_setres"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_0_5"
|
||||
android:background="@color/color_ededed"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tablayout_setres" />
|
||||
|
||||
<androidx.viewpager2.widget.ViewPager2
|
||||
android:id="@+id/viewpager_fm_setres"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/line_setres" />
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
80
app/src/main/res/layout/activity_skin_setting.xml
Normal file
80
app/src/main/res/layout/activity_skin_setting.xml
Normal file
@@ -0,0 +1,80 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:background="@color/color_ededed"
|
||||
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"
|
||||
tools:ignore="MissingConstraints"
|
||||
app:titleText="@string/setting_skin" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/white"
|
||||
android:paddingStart="@dimen/dimen_20_dp"
|
||||
android:paddingEnd="@dimen/dimen_20_dp"
|
||||
android:paddingTop="@dimen/dimen_40_dp">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_weight="1"
|
||||
android:src="@drawable/app_skin_base" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_weight="1"
|
||||
android:src="@drawable/app_skin_common" />
|
||||
</LinearLayout>
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/rg_skin"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/white"
|
||||
android:paddingTop="@dimen/dp_16"
|
||||
android:paddingStart="@dimen/dimen_20_dp"
|
||||
android:paddingEnd="@dimen/dimen_20_dp"
|
||||
android:paddingBottom="@dimen/dimen_40_dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/rb_base_skin"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:button="@null"
|
||||
android:drawableBottom="@drawable/app_radio_green_selector"
|
||||
android:gravity="center_horizontal"
|
||||
android:text="@string/base_type"
|
||||
android:textColor="@color/color_101113"
|
||||
android:drawablePadding="@dimen/dp_16"
|
||||
android:textSize="@dimen/text_size_16" />
|
||||
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/rb_common_skin"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:button="@null"
|
||||
android:drawableBottom="@drawable/app_radio_green_selector"
|
||||
android:gravity="center_horizontal"
|
||||
android:text="@string/common_skin"
|
||||
android:textColor="@color/color_101113"
|
||||
android:drawablePadding="@dimen/dp_16"
|
||||
android:textSize="@dimen/text_size_16" />
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
</LinearLayout>
|
||||
77
app/src/main/res/layout/activity_team_invitejoin.xml
Normal file
77
app/src/main/res/layout/activity_team_invitejoin.xml
Normal file
@@ -0,0 +1,77 @@
|
||||
<?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/color_fdf6f6"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/titleBar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:background="@color/color_fffbfb"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:titleText="@string/join_group_txt"
|
||||
app:titleTextColor="#f0000000" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_1_dp"
|
||||
android:background="@color/color_lineddd" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/color_fffbfb"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/group_head_iv"
|
||||
android:layout_width="@dimen/dp_64"
|
||||
android:layout_height="@dimen/dp_64"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
app:avatarCorner="@dimen/dp_64" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/group_name_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/group_head_iv"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_15"
|
||||
android:textColor="@color/color_383838"
|
||||
android:textSize="@dimen/sp_18"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/group_number_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/group_head_iv"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginBottom="@dimen/dp_30"
|
||||
android:textColor="@color/color_383838"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/join_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_48"
|
||||
android:layout_marginStart="@dimen/dp_30"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginEnd="@dimen/dp_30"
|
||||
android:background="@drawable/cornor_6d80ff_dp50"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:paddingRight="@dimen/dp_15"
|
||||
android:text="@string/join_group_txt"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/text_size_16" />
|
||||
</LinearLayout>
|
||||
84
app/src/main/res/layout/activity_team_members.xml
Normal file
84
app/src/main/res/layout/activity_team_members.xml
Normal file
@@ -0,0 +1,84 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/layout_selectorroot"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#4D000000"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="88dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/shape_dialog_bg2"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:titleTextColor="@color/color_333333" />
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_40_dp"
|
||||
android:layout_marginStart="@dimen/dimen_15_dp"
|
||||
android:layout_marginTop="@dimen/dimen_10_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_15_dp"
|
||||
android:background="@drawable/fun_bg_addfriends_verifymsg"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/edit_selector_friends"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.9"
|
||||
android:background="@null"
|
||||
android:drawableStart="@drawable/fun_ic_conversation_search"
|
||||
android:drawablePadding="@dimen/dimen_5_dp"
|
||||
android:hint="@string/fun_contact_createteam_tips"
|
||||
android:imeOptions="actionSearch"
|
||||
android:paddingStart="@dimen/dimen_15_dp"
|
||||
android:singleLine="true"
|
||||
android:textColorHint="@color/color_cccccc"
|
||||
android:textCursorDrawable="@null" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/ic_clean_edit"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="0.1"
|
||||
android:visibility="gone"
|
||||
app:srcCompat="@drawable/ic_selector_close" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvteammembers"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_14"
|
||||
android:textStyle="bold" />
|
||||
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/rv_members"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dimen_20_dp"
|
||||
android:layout_marginEnd="@dimen/dp_15" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
124
app/src/main/res/layout/activity_teamannouncement.xml
Normal file
124
app/src/main/res/layout/activity_teamannouncement.xml
Normal file
@@ -0,0 +1,124 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<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="@android:color/white">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/titlebar_teamannouncement"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:background="@color/color_fcfcfc"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:titleText="@string/teamsetting_other_announcement"
|
||||
app:titleTextColor="@android:color/black" />
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/layout_teammanager"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:background="@color/color_f7f7f7"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/titlebar_teamannouncement">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/edit_teamannouncement"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_400"
|
||||
android:background="@android:color/white"
|
||||
android:gravity="left"
|
||||
android:maxLength="500"
|
||||
android:hint="@string/teamsetting_other_announcement_hint"
|
||||
android:padding="@dimen/dimen_15_dp"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="#D2CBDF"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_textlength"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/dimen_15_dp"
|
||||
android:layout_marginBottom="@dimen/dimen_15_dp"
|
||||
android:textColor="@color/color_7e7b84"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/edit_teamannouncement"
|
||||
app:layout_constraintEnd_toEndOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_teamannouncement_save"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_40_dp"
|
||||
android:layout_marginStart="@dimen/dimen_15_dp"
|
||||
android:layout_marginTop="@dimen/dimen_60_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_15_dp"
|
||||
android:layout_marginBottom="@dimen/dimen_20_dp"
|
||||
android:background="@drawable/fun_cornor_12d_fe6881"
|
||||
android:gravity="center"
|
||||
android:text="@string/team_save"
|
||||
android:textColor="@android:color/white"
|
||||
app:layout_constraintTop_toBottomOf="@+id/edit_teamannouncement" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/layout_teammember"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/titlebar_teamannouncement">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_teamannouncement"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_15_dp"
|
||||
android:background="@android:color/white"
|
||||
android:gravity="left"
|
||||
android:paddingStart="@dimen/dimen_15_dp"
|
||||
android:paddingEnd="@dimen/dimen_15_dp"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="#D2CBDF"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<View
|
||||
android:layout_width="@dimen/dp_40"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:layout_marginEnd="@dimen/dp_10"
|
||||
android:background="@color/color_f2f2f2"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/tv_hint"
|
||||
app:layout_constraintRight_toLeftOf="@+id/tv_hint"
|
||||
app:layout_constraintTop_toTopOf="@+id/tv_hint" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_hint"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_60"
|
||||
android:text="@string/teamsetting_other_announcement_onlymanager"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_teamannouncement" />
|
||||
|
||||
<View
|
||||
android:layout_width="@dimen/dp_40"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:layout_marginStart="@dimen/dp_10"
|
||||
android:background="@color/color_f2f2f2"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/tv_hint"
|
||||
app:layout_constraintLeft_toRightOf="@+id/tv_hint"
|
||||
app:layout_constraintTop_toTopOf="@+id/tv_hint" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
364
app/src/main/res/layout/activity_teamothersetting.xml
Normal file
364
app/src/main/res/layout/activity_teamothersetting.xml
Normal file
@@ -0,0 +1,364 @@
|
||||
<?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>
|
||||
39
app/src/main/res/layout/activity_tiktok.xml
Normal file
39
app/src/main/res/layout/activity_tiktok.xml
Normal file
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<RelativeLayout 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"
|
||||
android:fitsSystemWindows="false"
|
||||
|
||||
tools:context=".welcome.WelcomeActivity"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/mRecycler"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/black"/>
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dp_40"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:scaleType="centerInside"
|
||||
android:id="@+id/back_iv"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:src="@mipmap/back_img"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="@dimen/dp_20"
|
||||
android:gravity="center"
|
||||
android:id="@+id/first_tv"
|
||||
android:visibility="gone"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:text="向上滑动播放下一条"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="20sp"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
25
app/src/main/res/layout/activity_tiktokinfo.xml
Normal file
25
app/src/main/res/layout/activity_tiktokinfo.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<RelativeLayout 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/black"
|
||||
android:orientation="vertical"
|
||||
android:fitsSystemWindows="false"
|
||||
|
||||
tools:context=".welcome.WelcomeActivity"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
<include layout="@layout/item_tiktok_layout"
|
||||
android:id="@+id/tiktok"/>
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dp_40"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:scaleType="centerInside"
|
||||
android:id="@+id/back_iv"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:src="@mipmap/back_img"/>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
214
app/src/main/res/layout/activity_topup.xml
Normal file
214
app/src/main/res/layout/activity_topup.xml
Normal file
@@ -0,0 +1,214 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.appcompat.widget.LinearLayoutCompat 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:foreground="?android:attr/selectableItemBackground"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/contact_list_activity_titleBar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:background="@color/color_403d51"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:titleText="@string/cash_cuzhi_txt"
|
||||
app:titleTextColor="@color/color_d4ab90" />
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/color_403d51">
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_topup_top"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@mipmap/ic_topup_cashbg"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_30"
|
||||
android:layout_marginTop="@dimen/dp_19"
|
||||
android:text="@string/danqiandianshu_txt"
|
||||
android:textColor="#FCC7A1"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/dianshu_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/sp_30"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:textColor="#FCF0A1"
|
||||
android:textSize="@dimen/sp_30"
|
||||
tools:text="0" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="@dimen/dp_120"
|
||||
android:background="@color/color_fffbfb"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_45"
|
||||
android:text="@string/cash_dianshu_xuanze_txt"
|
||||
android:textColor="@color/color_383838"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recylerview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/title_tv1"
|
||||
android:layout_marginLeft="7.5dp"
|
||||
android:layout_marginTop="7.5dp"
|
||||
android:layout_marginRight="7.5dp"
|
||||
android:visibility="visible">
|
||||
|
||||
</androidx.recyclerview.widget.RecyclerView>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="64dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="7.5dp"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@drawable/input_bg_t"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:text="@string/zidingyicash_txt"
|
||||
android:textColor="#ff444444"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/edit_query_et"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:digits="0123456789"
|
||||
android:gravity="center_vertical|right"
|
||||
android:hint="0"
|
||||
android:inputType="number"
|
||||
android:maxLength="9"
|
||||
android:paddingRight="@dimen/dp_10"
|
||||
android:textColor="@color/black"
|
||||
android:textColorHint="#BCBCBC"
|
||||
android:textSize="24sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/show_zidingyi_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="NT$:"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/zidingyicash_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="#FF3B3B"
|
||||
android:textSize="14sp"
|
||||
tools:text="0" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/cash_paytype"
|
||||
android:textColor="@color/color_383838"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_15"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:drawableRight="@mipmap/ic_single_selected"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/cash_paytype_card"
|
||||
android:textColor="@color/color_383838"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginBottom="@dimen/dp_3"
|
||||
android:gravity="bottom"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="visible">
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_cashvalue"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_48"
|
||||
android:layout_weight="1"
|
||||
android:autoSizeMaxTextSize="@dimen/sp_30"
|
||||
android:autoSizeMinTextSize="@dimen/sp_20"
|
||||
android:autoSizeTextType="uniform"
|
||||
android:gravity="center_vertical"
|
||||
android:maxLines="1"
|
||||
android:paddingStart="@dimen/dp_10"
|
||||
android:paddingEnd="@dimen/dp_10"
|
||||
android:textColor="@color/color_383838"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/topup_tv"
|
||||
android:layout_width="@dimen/dp_190"
|
||||
android:layout_height="@dimen/dp_48"
|
||||
android:background="@drawable/bg_topup_btn"
|
||||
android:gravity="center"
|
||||
android:text="@string/lijichuzi_txt"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="16sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
246
app/src/main/res/layout/activity_topup_result.xml
Normal file
246
app/src/main/res/layout/activity_topup_result.xml
Normal file
@@ -0,0 +1,246 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.appcompat.widget.LinearLayoutCompat 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:gravity="center_horizontal"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/contact_list_activity_titleBar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:background="@color/color_fcfcfc"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:titleText="@string/zhifuzhong_txt"
|
||||
app:titleTextColor="@android:color/black" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dp_64"
|
||||
android:layout_height="@dimen/dp_64"
|
||||
android:layout_marginTop="@dimen/dp_60"
|
||||
android:scaleType="fitXY"
|
||||
android:id="@+id/status_iv"
|
||||
android:src="@mipmap/zhifuzhong_img_top"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/zhifuzhong_txt1"
|
||||
android:id="@+id/status_tv"
|
||||
android:layout_marginTop="10dp"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="16sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="剩余 15:00:00"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:id="@+id/type_ing_tv"
|
||||
android:textColor="#ff333333"
|
||||
android:visibility="gone"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
<TextView
|
||||
android:id="@+id/back_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginTop="@dimen/dp_60"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:layout_marginBottom="@dimen/dp_16"
|
||||
android:background="@drawable/index_user_bg4"
|
||||
android:gravity="center"
|
||||
android:visibility="gone"
|
||||
android:singleLine="true"
|
||||
android:text="@string/general_back"
|
||||
android:paddingTop="@dimen/dp_13"
|
||||
android:paddingBottom="@dimen/dp_13"
|
||||
android:textColor="@color/colorWhite"
|
||||
android:textSize="@dimen/dp_16"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/notify_message_ll"
|
||||
tools:ignore="NotSibling,SpUsage" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/type_success_ly"
|
||||
android:visibility="gone"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:id="@+id/jine_tv"
|
||||
android:text="NT$ 2560"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="24sp"
|
||||
/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginTop="@dimen/dp_60"
|
||||
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingRight="20dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="50dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="85dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="50dp"
|
||||
android:text="@string/dingdanbianhao_txt"
|
||||
android:textColor="#7E7B84"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/dingdanbianhao_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical|right"
|
||||
android:minHeight="50dp"
|
||||
tools:text="10086"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:background="#DEDEDF" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:minHeight="50dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="85dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="50dp"
|
||||
android:text="@string/cuzhicashdianshu_txt"
|
||||
android:textColor="#999999"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/cash_dianshu_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical|right"
|
||||
android:minHeight="50dp"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:background="#DEDEDF"
|
||||
android:visibility="visible" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:minHeight="50dp"
|
||||
android:visibility="visible">
|
||||
|
||||
<TextView
|
||||
android:layout_width="85dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="50dp"
|
||||
android:text="@string/fukuanfangshi_txt"
|
||||
android:textColor="#999999"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical|right"
|
||||
android:minHeight="50dp"
|
||||
android:text="@string/xinyongka_txt"
|
||||
android:textColor="#ff303336"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:background="#DEDEDF"
|
||||
android:visibility="visible" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:minHeight="50dp"
|
||||
android:visibility="visible">
|
||||
|
||||
<TextView
|
||||
android:layout_width="85dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="50dp"
|
||||
android:text="@string/zhifushijian_txt"
|
||||
android:textColor="#999999"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/zhifushijian_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical|right"
|
||||
android:minHeight="50dp"
|
||||
android:text=""
|
||||
android:textColor="#ff303336"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
android:id="@+id/button_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="60dp"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@drawable/index_user_bg4"
|
||||
android:gravity="center"
|
||||
android:text="@string/setting_complete"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
268
app/src/main/res/layout/activity_transfer_accounts.xml
Normal file
268
app/src/main/res/layout/activity_transfer_accounts.xml
Normal file
@@ -0,0 +1,268 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.appcompat.widget.LinearLayoutCompat 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_fffafa"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/contact_list_activity_titleBar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/st"
|
||||
android:background="@color/color_fffafa"
|
||||
app:titleText="@string/zhuanzhang_title_txt"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
<!-- <View-->
|
||||
<!-- android:layout_width="match_parent"-->
|
||||
<!-- android:layout_height="1px"-->
|
||||
<!-- android:background="#2697a2c1" />-->
|
||||
|
||||
<!-- 选择金币 cash 银币 积分-->
|
||||
<LinearLayout
|
||||
android:id="@+id/top_select_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="@dimen/dp_30"
|
||||
android:paddingRight="@dimen/dp_30"
|
||||
android:visibility="gone">
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:id="@+id/jinbi_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="44dp"
|
||||
android:layout_marginRight="@dimen/dp_8"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/logout_btn_main1"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="@dimen/dp_10"
|
||||
android:paddingRight="@dimen/dp_10">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/jinbi_iv"
|
||||
android:layout_width="@dimen/dp_24"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@mipmap/wallet_jinbi_img" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:text="@string/species_txt"
|
||||
android:textColor="#e5333333"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:id="@+id/ytinbi_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="44dp"
|
||||
android:layout_marginLeft="@dimen/dp_8"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/logout_btn_c1"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="@dimen/dp_10"
|
||||
android:paddingRight="@dimen/dp_10">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/yinbi_iv"
|
||||
android:layout_width="@dimen/dp_24"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@mipmap/wallet_yinbi_img" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/yinbi_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:text="@string/silver_coins_txt"
|
||||
android:textColor="#e5333333"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
</LinearLayout>
|
||||
<!-- 选择金币 cash 银币 积分-->
|
||||
<LinearLayout
|
||||
android:id="@+id/userinfo_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:background="@drawable/xuxian_bg"
|
||||
android:orientation="horizontal"
|
||||
android:padding="@dimen/dp_10">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/user_name_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_weight="1"
|
||||
android:textColor="#333333"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/cheatid"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:textColor="#ff7f7b81"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/user_head_iv"
|
||||
android:layout_width="@dimen/dp_45"
|
||||
android:layout_height="@dimen/dp_45"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:src="@mipmap/default_head_img" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="52dp"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginTop="30dp"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:background="@drawable/input_bg_t2"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="22dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:minWidth="66dp"
|
||||
android:text="@string/zhuanzhangjine_txt"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/number_hint_et"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="8"
|
||||
android:background="@color/transparent"
|
||||
android:drawablePadding="@dimen/dp_16"
|
||||
android:gravity="center_vertical|right"
|
||||
android:hint="@string/amount_input_hint_txt"
|
||||
android:inputType="numberDecimal"
|
||||
android:paddingLeft="@dimen/dp_22"
|
||||
android:textColor="@color/black"
|
||||
android:textColorHint="@color/color_adb5bd"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_jinbi_type"
|
||||
android:layout_width="@dimen/dp_24"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:layout_weight="1" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/jinbi_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginTop="@dimen/dp_4"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:gravity="right"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="88dp"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:background="@drawable/input_bg_t2"
|
||||
android:orientation="horizontal"
|
||||
android:paddingTop="15dp">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/memo_et"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:gravity="top"
|
||||
android:hint="@string/transfer_instructions_hint_txt"
|
||||
android:maxLength="30"
|
||||
android:minWidth="120dp"
|
||||
android:textColor="@color/black"
|
||||
android:textColorHint="@color/color_adb5bd"
|
||||
android:textSize="16sp" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_login"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="44dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginTop="60dp"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:background="@drawable/index_user_bg3"
|
||||
android:clickable="true"
|
||||
android:gravity="center"
|
||||
android:text="@string/zhuanzhang_title_txt"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="18sp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="18dp"
|
||||
android:text="@string/no_get_to_back_t_txt"
|
||||
android:textColor="@color/color_adb5bd"
|
||||
android:textSize="12sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
228
app/src/main/res/layout/activity_transfer_info.xml
Normal file
228
app/src/main/res/layout/activity_transfer_info.xml
Normal file
@@ -0,0 +1,228 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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:foreground="?android:attr/selectableItemBackground"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/contact_list_activity_titleBar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:titleText="@string/zhuanzhang_title_txt"
|
||||
android:background="@color/color_fcfcfc"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/contact_list_activity_titleBar"
|
||||
android:layout_marginTop="34dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:id="@+id/title_tvv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingStart="@dimen/dp_20"
|
||||
android:paddingEnd="@dimen/dp_20"
|
||||
android:gravity="center"
|
||||
android:text="来自 Jeffrey 的金币转账"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="18sp"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_23"
|
||||
android:textColor="#999999"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_16"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
<ImageView
|
||||
android:id="@+id/number_tv1"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="32dp"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:src="@mipmap/wallet_jinbi_img"
|
||||
android:textSize="16sp" />
|
||||
<TextView
|
||||
android:id="@+id/number_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="100"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/color_cf924f"
|
||||
android:textSize="36sp" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:id="@+id/tips_ly"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:gravity="center">
|
||||
<TextView
|
||||
android:id="@+id/tips_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="@dimen/dp_30"
|
||||
android:gravity="center"
|
||||
android:text="@string/timeout_transfer_tips_txt"
|
||||
android:textColor="#999999"
|
||||
android:textSize="12sp" />
|
||||
<TextView
|
||||
android:id="@+id/tuihuan_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="30dp"
|
||||
android:gravity="center"
|
||||
android:layout_marginLeft="@dimen/dp_5"
|
||||
android:text="@string/refund_transfer_txt"
|
||||
android:textColor="@color/color_6d80ff"
|
||||
android:textSize="14sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_24"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingTop="21dp"
|
||||
android:paddingRight="20dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="50dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="85dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="50dp"
|
||||
android:text="@string/transfer_instructions_txt"
|
||||
android:textColor="#7E7B84"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/memo_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical|right"
|
||||
android:minHeight="50dp"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:background="#DEDEDF" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:minHeight="50dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="85dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="50dp"
|
||||
android:text="@string/transfer_time_txt"
|
||||
android:textColor="#7E7B84"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/time_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical|right"
|
||||
android:minHeight="50dp"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/bot_line"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:background="#DEDEDF"
|
||||
android:visibility="gone" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/shoukuan_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:minHeight="50dp"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:layout_width="85dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="50dp"
|
||||
android:text="@string/get_transfer_time_txt"
|
||||
android:id="@+id/time_left_tv"
|
||||
android:textColor="#7E7B84"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/time1_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical|right"
|
||||
android:minHeight="50dp"
|
||||
android:text="转账说明"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/button_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_marginRight="20dp"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_height="44dp"
|
||||
android:layout_marginTop="60dp"
|
||||
android:background="@drawable/index_user_bg4"
|
||||
android:gravity="center"
|
||||
android:text="@string/collection_transfer_txt"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
</RelativeLayout>
|
||||
278
app/src/main/res/layout/activity_unbind_phone.xml
Normal file
278
app/src/main/res/layout/activity_unbind_phone.xml
Normal file
@@ -0,0 +1,278 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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:id="@+id/big_ry"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/white"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
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/color_white"
|
||||
app:titleText="@string/sfrz_txt"
|
||||
tools:ignore="MissingConstraints" />
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:layout_below="@id/setting_title_bar"
|
||||
android:id="@+id/contact_list_activity_titleBar"
|
||||
android:background="@color/color_f7f7f7" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/middle_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/contact_list_activity_titleBar"
|
||||
android:layout_marginTop="30dp"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step1_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="visible">
|
||||
<ImageView
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:src="@mipmap/sjdxyz_img"
|
||||
android:layout_gravity="center_horizontal"/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:text="@string/sjdxyzmrz_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_18"
|
||||
/>
|
||||
<TextView
|
||||
android:id="@+id/phone_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:minWidth="74dp"
|
||||
android:paddingLeft="21dp"
|
||||
android:textColor="#7E7B84"
|
||||
android:textSize="14sp"
|
||||
android:visibility="visible" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/code_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="30dp"
|
||||
android:layout_marginTop="30dp"
|
||||
android:layout_marginRight="24dp"
|
||||
android:background="@drawable/input_bg"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="visible">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/password_edit_text"
|
||||
style="@style/login_edit_text_style"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="@string/vcode_hint_txt"
|
||||
android:inputType="number"
|
||||
android:paddingLeft="@dimen/dp_10"
|
||||
android:singleLine="true"
|
||||
android:text=""
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHighlight="@color/color_666666"
|
||||
android:textColorHint="@color/color_666666">
|
||||
|
||||
<requestFocus />
|
||||
</EditText>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/getcode_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="8dp"
|
||||
android:text="@string/get_code_txt"
|
||||
android:textColor="@color/color_6b3689"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/password_ly"
|
||||
android:visibility="gone"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="30dp"
|
||||
android:text="账号密码认证"
|
||||
android:textColor="#ff303336"
|
||||
android:textSize="18sp" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/phone_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="30dp"
|
||||
android:layout_marginTop="30dp"
|
||||
android:layout_marginRight="30dp"
|
||||
android:background="@drawable/input_bg"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="visible">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/area_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="52dp"
|
||||
android:drawableRight="@mipmap/select_county_img"
|
||||
android:gravity="center_vertical"
|
||||
android:minWidth="74dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="8dp"
|
||||
android:text="+886"
|
||||
android:textColor="#333333"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/login_form_uidEdit"
|
||||
style="@style/login_edit_text_style"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_weight="1"
|
||||
android:ems="10"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="@string/login_form_hint_loginname"
|
||||
android:inputType="phone"
|
||||
android:paddingLeft="8dp"
|
||||
android:singleLine="true"
|
||||
android:text=""
|
||||
android:textColor="#333333"
|
||||
android:textColorHighlight="#D2CBDF"
|
||||
android:textColorHint="#D2CBDF">
|
||||
|
||||
<requestFocus />
|
||||
</TextView>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="30dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginRight="30dp"
|
||||
android:background="@drawable/input_bg"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="visible">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/password_text"
|
||||
style="@style/login_edit_text_style"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="请输入密码"
|
||||
android:inputType="textPassword"
|
||||
android:maxLength="20"
|
||||
android:paddingLeft="21dp"
|
||||
android:singleLine="true"
|
||||
android:text=""
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHighlight="@color/color_666666"
|
||||
android:textColorHint="@color/color_666666">
|
||||
|
||||
<requestFocus />
|
||||
</EditText>
|
||||
|
||||
<!-- <ImageView-->
|
||||
<!-- android:id="@+id/pass_show_iv"-->
|
||||
<!-- android:layout_width="wrap_content"-->
|
||||
<!-- android:layout_height="wrap_content"-->
|
||||
<!-- android:layout_marginRight="19dp"-->
|
||||
<!-- android:gravity="center_vertical"-->
|
||||
<!-- android:src="@drawable/yanjing_hide" />-->
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<Button
|
||||
android:id="@+id/sumbit_bt"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="44dp"
|
||||
android:layout_below="@id/middle_ly"
|
||||
android:layout_marginLeft="33dp"
|
||||
android:layout_marginTop="60dp"
|
||||
android:layout_marginRight="33dp"
|
||||
android:background="@drawable/input_bg1"
|
||||
android:text="@string/next_txt"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/to_pass_ly"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/sumbit_bt"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="30dp"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/phone_not_user_txt"
|
||||
android:textColor="#B8B5BE"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/password_authentication_txt"
|
||||
android:textColor="@color/color_6b3689"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/to_code_ly"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/sumbit_bt"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="30dp"
|
||||
android:gravity="center"
|
||||
android:visibility="gone"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/bjddlmm_txt"
|
||||
android:textColor="#B8B5BE"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/to_code_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/verification_code_verification_txt"
|
||||
android:textColor="@color/color_6b3689"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
281
app/src/main/res/layout/activity_user_info.xml
Normal file
281
app/src/main/res/layout/activity_user_info.xml
Normal file
@@ -0,0 +1,281 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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:fitsSystemWindows="false"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/for_bg_iv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@color/color_6b3689" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#4D000000" />
|
||||
、
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/back_iv"
|
||||
android:layout_width="@dimen/dp_40"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@mipmap/user_colose_img" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/more_iv"
|
||||
android:layout_width="@dimen/dp_40"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="@dimen/dp_5"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@mipmap/user_more_img"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/star_iv"
|
||||
android:layout_width="@dimen/dp_40"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_marginRight="@dimen/dp_5"
|
||||
android:layout_toLeftOf="@id/more_iv"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@mipmap/user_star_f_img"
|
||||
android:visibility="gone" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_168"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.dskj.rbchat.widget.CircleImageView
|
||||
android:id="@+id/logo_iv"
|
||||
android:layout_width="@dimen/dp_88"
|
||||
android:layout_height="@dimen/dp_88"
|
||||
android:layout_centerInParent="true"
|
||||
android:scaleType="centerCrop"
|
||||
app:avatarCorner="@dimen/dp_44"
|
||||
app:es_shape_type="round" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_24"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:gravity="bottom"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/user_name_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_weight="1"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="20sp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/edit_user_nickname_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/dp_5"
|
||||
android:src="@mipmap/edit_user_name_img"
|
||||
android:visibility="gone" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/bro_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:drawableLeft="@mipmap/user_bro_img"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:text="2033年01月12日"
|
||||
android:textColor="#ccFFFFFF"
|
||||
android:textSize="12sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/sign_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:gravity="center"
|
||||
android:lineSpacingExtra="@dimen/dp_5"
|
||||
android:text="笑"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="14sp"
|
||||
android:visibility="gone" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/bot_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginBottom="@dimen/dp_50"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/private_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_54"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
tools:ignore="SpUsage">
|
||||
|
||||
<Button
|
||||
android:id="@+id/private_tv"
|
||||
style="@style/settings_item_bg_group_full_20191"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
|
||||
android:drawablePadding="@dimen/dp_15"
|
||||
android:drawableTint="@color/white"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/voom_txt"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableRightCompat="@drawable/ic_frame_mine_right_arrow" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="#80FFFFFF" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_useralbum"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
tools:ignore="SpUsage">
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_album"
|
||||
style="@style/settings_item_bg_group_full_20191"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="@dimen/dp_15"
|
||||
android:drawableTint="@color/white"
|
||||
android:paddingTop="@dimen/dp_20"
|
||||
android:background="@android:color/transparent"
|
||||
android:paddingBottom="@dimen/dp_10"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableRightCompat="@drawable/ic_frame_mine_right_arrow" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recycler_albums"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_10"
|
||||
android:layout_marginEnd="@dimen/dp_10" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/friend_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/chat_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:drawableTop="@mipmap/chat_call_img"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:gravity="center"
|
||||
android:text="@string/chat_txt"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/voice_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:drawableTop="@mipmap/voice_call_img"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:gravity="center"
|
||||
android:text="@string/chat_message_audio_call_action"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/video_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:drawableTop="@mipmap/video__call_img"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:gravity="center"
|
||||
android:text="@string/chat_message_video_call_action"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="12sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/add_friends_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_44"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:layout_marginBottom="@dimen/dp_21"
|
||||
android:background="@drawable/index_user_bg3"
|
||||
android:gravity="center"
|
||||
android:text="@string/add_friend_title"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="14sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/black_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="@dimen/dimen_40_dp"
|
||||
android:drawableTop="@mipmap/beipingbi_user_img"
|
||||
android:text="@string/removeblack_txt"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="12sp"
|
||||
android:visibility="gone" />
|
||||
</RelativeLayout>
|
||||
46
app/src/main/res/layout/activity_userphotos.xml
Normal file
46
app/src/main/res/layout/activity_userphotos.xml
Normal file
@@ -0,0 +1,46 @@
|
||||
<?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">
|
||||
|
||||
<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"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:elevation="@dimen/dp_10"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
<com.scwang.smart.refresh.layout.SmartRefreshLayout
|
||||
android:id="@+id/refreshLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
|
||||
android:visibility="visible"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
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>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
137
app/src/main/res/layout/activity_userphotos_details.xml
Normal file
137
app/src/main/res/layout/activity_userphotos_details.xml
Normal file
@@ -0,0 +1,137 @@
|
||||
<?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>
|
||||
195
app/src/main/res/layout/activity_wallet_info.xml
Normal file
195
app/src/main/res/layout/activity_wallet_info.xml
Normal file
@@ -0,0 +1,195 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.appcompat.widget.LinearLayoutCompat 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:id="@+id/walletLy_root"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/white"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/contact_list_activity_titleBar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:background="@color/white"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:titleText="@string/wodejinbi_txt"
|
||||
app:titleTextColor="@android:color/black" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="@color/color_f7f7f7" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/jinbi_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="194dp"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableLeft="@mipmap/wallet_jinbi_img"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/jibiyue_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/jinbi_yue_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_24"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="visible">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/topup_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_weight="1"
|
||||
android:background="@mipmap/lipinduihuan_bg"
|
||||
android:gravity="center"
|
||||
android:text="@string/topup_txt"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/without_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:layout_weight="1"
|
||||
android:background="@mipmap/with_bg_img"
|
||||
android:gravity="center"
|
||||
android:text="@string/without_txt"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="16sp"
|
||||
android:visibility="gone" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/yinbi_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="184dp"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableLeft="@mipmap/wallet_yinbi_img"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/yibiyue_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/yinbi_yue_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_24"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lipinduihuan_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@mipmap/lipinduihuan_bg"
|
||||
android:gravity="center"
|
||||
android:text="@string/topup_txt1"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="16sp"
|
||||
android:visibility="visible" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/lijin_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_190"
|
||||
android:visibility="gone"
|
||||
android:background="@mipmap/ic_walletinfo_lijin_bg">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_fudai"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_20"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:background="@mipmap/ic_walletinfo_lijin_fudai" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_lijin_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignTop="@+id/iv_fudai"
|
||||
android:layout_marginStart="@dimen/dp_10"
|
||||
android:layout_marginTop="@dimen/dp_7"
|
||||
android:layout_toEndOf="@+id/iv_fudai"
|
||||
android:text="礼金余额"
|
||||
android:textColor="@color/color_743228"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_lijin_value"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/tv_lijin_title"
|
||||
android:layout_alignStart="@+id/tv_lijin_title"
|
||||
android:text="98555.00"
|
||||
android:textColor="@color/color_4e3025"
|
||||
android:textSize="@dimen/sp_30" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:layout_marginBottom="@dimen/dp_40"
|
||||
android:background="@drawable/bg_walletinfo_lijin_gradient_bg"
|
||||
android:paddingLeft="@dimen/dp_13"
|
||||
android:paddingTop="@dimen/dp_5"
|
||||
android:paddingRight="@dimen/dp_13"
|
||||
android:paddingBottom="@dimen/dp_5"
|
||||
android:text="兑换游玩次数"
|
||||
android:textColor="@color/color_fffbd5" />
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/view_line"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_10"
|
||||
android:background="@color/color_f7f7f7" />
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/frameLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
173
app/src/main/res/layout/activity_wallet_info_new.xml
Normal file
173
app/src/main/res/layout/activity_wallet_info_new.xml
Normal file
@@ -0,0 +1,173 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.appcompat.widget.LinearLayoutCompat 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:id="@+id/big_bg"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/contact_list_activity_titleBar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:background="@color/white"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:titleText="@string/wodejinbi_txt"
|
||||
app:titleTextColor="@android:color/black" />
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/jinbi_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
tools:context=".main.mine.MineInfoActivity">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:src="@mipmap/jinbi_new_bg"
|
||||
app:layout_constraintDimensionRatio="1110:612"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="99dp"
|
||||
android:layout_height="96dp"
|
||||
android:src="@mipmap/taobi_img"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginLeft="@dimen/dp_23"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/jibiyue_txt"
|
||||
android:textColor="#FCC7A1"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
android:layout_marginTop="@dimen/dp_29"
|
||||
android:layout_marginLeft="@dimen/dp_132"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:id="@+id/jinbi_yue_tv"
|
||||
tools:text="11111"
|
||||
android:textStyle="bold"
|
||||
android:textColor="#FCF0A1"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
android:layout_marginTop="@dimen/dp_63"
|
||||
android:layout_marginLeft="@dimen/dp_132"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:textSize="@dimen/sp_30" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/topup_txt"
|
||||
android:id="@+id/topup_tv"
|
||||
|
||||
android:gravity="center"
|
||||
android:background="@mipmap/jinbi_chongzhi_bg"
|
||||
android:textColor="@color/white"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
android:layout_marginTop="@dimen/dp_29"
|
||||
android:layout_marginRight="@dimen/dp_34"
|
||||
android:layout_marginBottom="32dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:textSize="16sp"
|
||||
/>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/yinbi_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
tools:context=".main.mine.MineInfoActivity">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:src="@mipmap/yinbi_new_bg"
|
||||
app:layout_constraintDimensionRatio="1110:612"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="99dp"
|
||||
android:layout_height="96dp"
|
||||
android:src="@mipmap/taobi_img"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginLeft="@dimen/dp_23"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/yibiyue_txt"
|
||||
android:textColor="#FFD4B6"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
android:layout_marginTop="@dimen/dp_29"
|
||||
android:layout_marginLeft="@dimen/dp_132"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:id="@+id/yinbi_yue_tv"
|
||||
tools:text="11111"
|
||||
android:textStyle="bold"
|
||||
android:textColor="#FFF7C4"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
android:layout_marginTop="@dimen/dp_63"
|
||||
android:layout_marginLeft="@dimen/dp_132"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:textSize="@dimen/sp_30" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lipinduihuan_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/topup_txt1"
|
||||
android:gravity="center"
|
||||
android:background="@mipmap/yinbi_duihuan_bg"
|
||||
android:textColor="#914E32"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
android:layout_marginTop="@dimen/dp_29"
|
||||
android:layout_marginRight="@dimen/dp_34"
|
||||
android:layout_marginBottom="32dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:textSize="16sp"
|
||||
/>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_10"
|
||||
android:background="@color/transparent"/>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/frameLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
62
app/src/main/res/layout/activity_wallet_info_tb.xml
Normal file
62
app/src/main/res/layout/activity_wallet_info_tb.xml
Normal file
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.appcompat.widget.LinearLayoutCompat 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:foreground="?android:attr/selectableItemBackground"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/contact_list_activity_titleBar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:background="@color/white"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:titleText="@string/wodetongbi_txt"
|
||||
app:titleTextColor="@android:color/black" />
|
||||
<View android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="@color/color_f7f7f7"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/yinbi_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="134dp"
|
||||
android:visibility="visible"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/tongbiyue_txt"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/color_333333"
|
||||
android:drawableLeft="@mipmap/walelt_tongbi_img"
|
||||
android:textSize="@dimen/sp_14"
|
||||
/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="0.00"
|
||||
android:id="@+id/yinbi_yue_tv"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textStyle="bold"
|
||||
android:textSize="@dimen/sp_24"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_10"
|
||||
android:background="@color/color_f7f7f7"/>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/frameLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
245
app/src/main/res/layout/activity_wangji.xml
Normal file
245
app/src/main/res/layout/activity_wangji.xml
Normal file
@@ -0,0 +1,245 @@
|
||||
<?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"
|
||||
tools:context=".welcome.WelcomeActivity">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/about_title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/color_fcfcfc"
|
||||
app:titleText="@string/wangjimima_title_txt"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="@dimen/dp_30">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step1_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:orientation="vertical"
|
||||
android:visibility="visible">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="@dimen/dp_13"
|
||||
android:text="@string/qsrsjh_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/mobile_tips_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/qsrndsjhhqyzmzhmm"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_90"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/area_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:drawableRight="@mipmap/select_county_img"
|
||||
android:gravity="center_vertical"
|
||||
android:text="+886"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="18sp" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/phone_et"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:background="@color/transparent"
|
||||
android:hint="@string/qsrsjh_txt"
|
||||
android:inputType="phone"
|
||||
android:paddingLeft="@dimen/dp_20"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="@color/color_bcbcbc"
|
||||
android:textSize="@dimen/sp_18" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_d8d8d8" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step2_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/szmm_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/setpwd_hint_txt"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/password_et"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:layout_marginTop="@dimen/dp_90"
|
||||
android:background="@color/transparent"
|
||||
android:hint="@string/srmm_hint_txt"
|
||||
android:maxLength="32"
|
||||
|
||||
android:inputType="textPassword"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="@color/color_bcbcbc"
|
||||
android:textSize="@dimen/sp_18" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_d8d8d8" />
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/password_et1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:layout_marginTop="@dimen/dp_35"
|
||||
android:background="@color/transparent"
|
||||
android:hint="@string/qzcsrmm_txt"
|
||||
android:maxLength="32"
|
||||
|
||||
android:inputType="textPassword"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="@color/color_bcbcbc"
|
||||
android:textSize="@dimen/sp_18" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="@color/color_d8d8d8" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step3_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:text="@string/qsryzm_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:id="@+id/send_sms_tips_tv"
|
||||
android:text="@string/djfsyzm_txt"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
||||
<com.dskj.rbchat.custom.PasswordEditText
|
||||
android:id="@+id/password_edit_text_code"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="60dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="60dp"
|
||||
app:bgInputed="@drawable/bg_inputed"
|
||||
app:bgInputing="@drawable/bg_inputing"
|
||||
app:count="4"
|
||||
app:passwordSize="26"
|
||||
app:showPassword="true">
|
||||
|
||||
</com.dskj.rbchat.custom.PasswordEditText>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/send_sms_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/get_code_txt"
|
||||
android:textColor="@color/color_6b3689"
|
||||
android:textSize="14sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/next_iv"
|
||||
android:layout_width="@dimen/dp_64"
|
||||
android:layout_height="@dimen/dp_64"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_60"
|
||||
android:src="@mipmap/step_next_img" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/change_sms_code_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:text="@string/qhwyzmdl_txt"
|
||||
android:textColor="@color/color_6b3689"
|
||||
android:textSize="14sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/change_pass_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:text="@string/qhwmmdl_txt"
|
||||
android:textColor="@color/color_6b3689"
|
||||
android:textSize="14sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
50
app/src/main/res/layout/activity_watch_photos.xml
Normal file
50
app/src/main/res/layout/activity_watch_photos.xml
Normal file
@@ -0,0 +1,50 @@
|
||||
<?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_black"
|
||||
android:fitsSystemWindows="false">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recycler_photos"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginBottom="@dimen/dp_20"
|
||||
app:layout_constraintBottom_toTopOf="@+id/iv_left"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/iv_back" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_back"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="@dimen/dp_15"
|
||||
android:src="@mipmap/back_img1"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_left"
|
||||
android:layout_width="@dimen/dimen_28_dp"
|
||||
android:layout_height="@dimen/dimen_28_dp"
|
||||
android:layout_marginStart="@dimen/dimen_20_dp"
|
||||
android:layout_marginBottom="@dimen/dp_10"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent" />
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_right"
|
||||
android:layout_width="@dimen/dimen_28_dp"
|
||||
android:layout_height="@dimen/dimen_28_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_12_dp"
|
||||
android:layout_marginBottom="@dimen/dp_10"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_goneMarginEnd="@dimen/dimen_20_dp" />
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
66
app/src/main/res/layout/activity_welcome.xml
Normal file
66
app/src/main/res/layout/activity_welcome.xml
Normal file
@@ -0,0 +1,66 @@
|
||||
<?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:orientation="vertical"
|
||||
android:id="@+id/big_bg"
|
||||
tools:context=".welcome.WelcomeActivity">
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_horizontal"
|
||||
android:layout_weight="3">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/app_yunxin_icon"
|
||||
android:layout_width="119.7dp"
|
||||
android:layout_height="164.7dp"
|
||||
android:src="@drawable/kefu_loading1"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:scaleType="fitXY"
|
||||
android:layout_marginTop="@dimen/dp_200"
|
||||
android:visibility="visible"
|
||||
/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="6"
|
||||
|
||||
android:paddingBottom="@dimen/dp_64"
|
||||
android:gravity="bottom"
|
||||
android:visibility="invisible"
|
||||
android:id="@+id/bottom_ly"
|
||||
android:orientation="vertical">
|
||||
<androidx.appcompat.widget.AppCompatButton
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@mipmap/start_login1"
|
||||
android:text="@string/login_txt"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:gravity="center"
|
||||
android:id="@+id/login_bt"
|
||||
android:textColor="@color/color_white"
|
||||
android:textSize="16sp"
|
||||
/>
|
||||
<androidx.appcompat.widget.AppCompatButton
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/reg_txt"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:gravity="center"
|
||||
android:id="@+id/reg_bt"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:background="@mipmap/start_reg1"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="16sp"
|
||||
/>
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
</LinearLayout>
|
||||
73
app/src/main/res/layout/back_title_bar_layout.xml
Normal file
73
app/src/main/res/layout/back_title_bar_layout.xml
Normal file
@@ -0,0 +1,73 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (c) 2022 NetEase, Inc. All rights reserved. -->
|
||||
<!-- Use of this source code is governed by a MIT license that can be -->
|
||||
<!-- found in the LICENSE file. -->
|
||||
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/root_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_back"
|
||||
android:layout_width="@dimen/dimen_26_dp"
|
||||
android:layout_height="match_parent"
|
||||
android:scaleType="centerInside"
|
||||
android:layout_marginStart="@dimen/dimen_10_dp"
|
||||
android:src="@mipmap/back_img" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_left"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginVertical="@dimen/dimen_12_dp"
|
||||
android:layout_marginStart="@dimen/dimen_20_dp"
|
||||
android:maxWidth="@dimen/dimen_70_dp"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="end"
|
||||
android:textSize="@dimen/dimen_16_dp"
|
||||
android:textColor="@color/color_333333"
|
||||
android:visibility="gone"
|
||||
tools:ignore="SpUsage" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:textSize="@dimen/dimen_16_dp"
|
||||
android:textColor="@color/color_333333"
|
||||
android:layout_marginStart="@dimen/dimen_96_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_96_dp"
|
||||
android:layout_gravity="center"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="end"
|
||||
tools:ignore="SpUsage" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_action"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginEnd="@dimen/dimen_25_dp"
|
||||
android:textSize="@dimen/dimen_16_dp"
|
||||
android:textColor="@color/color_666666"
|
||||
android:maxWidth="@dimen/dimen_98_dp"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="end"
|
||||
android:visibility="gone"
|
||||
android:layout_gravity="end|center_vertical"
|
||||
tools:ignore="SpUsage" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_action"
|
||||
android:layout_width="@dimen/dimen_20_dp"
|
||||
android:layout_height="match_parent"
|
||||
android:scaleType="centerInside"
|
||||
android:layout_marginEnd="@dimen/dimen_25_dp"
|
||||
android:visibility="gone"
|
||||
android:layout_gravity="end|center_vertical"/>
|
||||
|
||||
</FrameLayout>
|
||||
57
app/src/main/res/layout/bottom_sheet_comment_layout.xml
Normal file
57
app/src/main/res/layout/bottom_sheet_comment_layout.xml
Normal file
@@ -0,0 +1,57 @@
|
||||
<?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="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:background="@drawable/shape_dialog_bg2">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:layout_height="531dp">
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44">
|
||||
|
||||
<com.google.android.material.tabs.TabLayout
|
||||
android:id="@+id/tablayout"
|
||||
android:layout_width="@dimen/dp_180"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@color/transparent"
|
||||
app:tabIndicator="@drawable/tab_line1"
|
||||
app:tabIndicatorColor="@color/color_6b3689"
|
||||
app:tabIndicatorHeight="11dp"
|
||||
app:tabMaxWidth="@dimen/dp_60"
|
||||
app:tabMinWidth="@dimen/dp_60"
|
||||
app:tabMode="fixed"
|
||||
app:tabPaddingBottom="@dimen/dp_3"
|
||||
app:tabPaddingEnd="0dp"
|
||||
app:tabPaddingStart="0dp"
|
||||
app:tabRippleColor="@color/transparent"
|
||||
app:tabSelectedTextColor="@color/color_333333"
|
||||
app:tabTextAppearance="@style/MyBgTablayoutstyle"
|
||||
app:tabTextColor="@color/color_7f7b81" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/colose_iv"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:src="@mipmap/dialog_colose_img"
|
||||
android:scaleType="centerInside"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="@dimen/dp_5" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
<androidx.viewpager2.widget.ViewPager2
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:overScrollMode="never"
|
||||
android:id="@+id/viewpager"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
74
app/src/main/res/layout/bottom_sheet_join_group.xml
Normal file
74
app/src/main/res/layout/bottom_sheet_join_group.xml
Normal file
@@ -0,0 +1,74 @@
|
||||
<?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="wrap_content"
|
||||
android:background="@drawable/shape_dialog_bg2"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="724dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/colose_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_17"
|
||||
android:layout_marginTop="@dimen/dp_21"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@mipmap/dialog_colose_img" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:text="@string/join_group_txt"
|
||||
android:id="@+id/join_title_tv"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="16sp"
|
||||
/>
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/group_head_iv"
|
||||
android:layout_width="@dimen/dp_64"
|
||||
android:layout_height="@dimen/dp_64"
|
||||
android:layout_marginTop="@dimen/dp_200"
|
||||
app:avatarCorner="@dimen/dp_64"
|
||||
android:layout_centerHorizontal="true" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textStyle="bold"
|
||||
android:text="吃货交流群"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:id="@+id/group_name_tv"
|
||||
android:layout_below="@id/group_head_iv"
|
||||
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_18"
|
||||
/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_32"
|
||||
android:layout_below="@id/group_name_tv"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:id="@+id/join_tv"
|
||||
android:background="@drawable/logout_btn_main1"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:paddingRight="@dimen/dp_15"
|
||||
android:text="@string/join_group_txt"
|
||||
android:textColor="#ff6b3689"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
99
app/src/main/res/layout/bottom_sheet_layout.xml
Normal file
99
app/src/main/res/layout/bottom_sheet_layout.xml
Normal file
@@ -0,0 +1,99 @@
|
||||
<?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="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:background="@drawable/shape_dialog_bg2">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:layout_height="@dimen/dp_302">
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/fenxiangzhi_txt"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/colose_iv"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:src="@mipmap/dialog_colose_img"
|
||||
android:scaleType="centerInside"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="@dimen/dp_5" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_104"
|
||||
android:id="@+id/recycler"
|
||||
android:background="@color/color_f9f9f9"/>
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_60"
|
||||
android:background="@color/white"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:background="@drawable/input_bg"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:paddingLeft="@dimen/dp_10"
|
||||
android:paddingRight="@dimen/dp_10" />
|
||||
|
||||
<EditText
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/transparent"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:paddingLeft="@dimen/dp_10"
|
||||
android:paddingRight="@dimen/dp_10"
|
||||
android:paddingVertical="@dimen/dp_13"
|
||||
android:inputType="text"
|
||||
android:imeOptions="actionSend"
|
||||
android:id="@+id/comment_et"/>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dp_20"
|
||||
android:layout_height="@dimen/dp_20"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_alignRight="@id/comment_et"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:visibility="gone"
|
||||
android:src="@mipmap/emj_img"/>
|
||||
|
||||
</RelativeLayout>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:text="@string/fasong_txt"
|
||||
android:gravity="center"
|
||||
android:id="@+id/share_bt"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@drawable/button_false_bg_new"
|
||||
android:textColor="@color/white"
|
||||
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
188
app/src/main/res/layout/bottom_sheet_layout_action.xml
Normal file
188
app/src/main/res/layout/bottom_sheet_layout_action.xml
Normal file
@@ -0,0 +1,188 @@
|
||||
<?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="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:background="@drawable/shape_dialog_bg2">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:layout_height="@dimen/dp_267">
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/dongtaishezhi_txt"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/colose_iv"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:src="@mipmap/dialog_colose_img"
|
||||
android:scaleType="centerInside"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="@dimen/dp_5" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_5"
|
||||
android:background="#F9F9F9"/>
|
||||
<LinearLayout
|
||||
android:id="@+id/all_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:paddingRight="@dimen/dp_15">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/all_visible_txt"
|
||||
android:drawablePadding="@dimen/dp_20"
|
||||
android:drawableLeft="@mipmap/all_version_img"
|
||||
android:id="@+id/all_visible_tv"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
<ImageView
|
||||
android:id="@+id/all_visible_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"
|
||||
android:src="@mipmap/dialog_gou_t"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginLeft="@dimen/dp_14"
|
||||
android:layout_marginRight="@dimen/dp_14"
|
||||
android:visibility="visible"
|
||||
android:background="#F4F4F4" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/haoyou_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:paddingRight="@dimen/dp_15">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/friend_visible_tv"
|
||||
android:text="@string/friend_visible_txt"
|
||||
android:drawablePadding="@dimen/dp_20"
|
||||
android:drawableLeft="@mipmap/only_friend_version_img"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
<ImageView
|
||||
android:id="@+id/friend_visible_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"
|
||||
|
||||
android:src="@mipmap/dialog_gou_t"/>
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginLeft="@dimen/dp_14"
|
||||
android:layout_marginRight="@dimen/dp_14"
|
||||
android:background="#F4F4F4" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ziji_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:paddingRight="@dimen/dp_15">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:id="@+id/onlyme_visible_tv"
|
||||
android:text="@string/onlyme_visible_txt"
|
||||
android:drawablePadding="@dimen/dp_20"
|
||||
android:drawableLeft="@mipmap/only_me_version_img"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp" />
|
||||
<ImageView
|
||||
android:id="@+id/onlyme_visible_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"
|
||||
android:src="@mipmap/dialog_gou_t"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_5"
|
||||
android:background="#F9F9F9"/>
|
||||
<LinearLayout
|
||||
android:id="@+id/delete_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:paddingRight="@dimen/dp_15">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:drawableLeft="@mipmap/delete_dialog_imng"
|
||||
android:drawablePadding="@dimen/dp_20"
|
||||
android:gravity="center_vertical"
|
||||
android:id="@+id/delete_tv"
|
||||
android:text="@string/delete_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
68
app/src/main/res/layout/bottom_sheet_layout_action1.xml
Normal file
68
app/src/main/res/layout/bottom_sheet_layout_action1.xml
Normal file
@@ -0,0 +1,68 @@
|
||||
<?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="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:background="@drawable/shape_dialog_bg2">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:layout_height="wrap_content">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:text="@string/teamsetting_jubao"
|
||||
android:gravity="center"
|
||||
android:id="@+id/jubao_tv"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_5"
|
||||
android:background="#F9F9F9"/>
|
||||
<LinearLayout
|
||||
android:id="@+id/all_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:paddingRight="@dimen/dp_15">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:text="@string/cancel_txt"
|
||||
android:id="@+id/colose_iv"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
85
app/src/main/res/layout/bottom_sheet_layout_conversation.xml
Normal file
85
app/src/main/res/layout/bottom_sheet_layout_conversation.xml
Normal file
@@ -0,0 +1,85 @@
|
||||
<?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="wrap_content"
|
||||
android:background="@drawable/shape_dialog_bg2"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/hide_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_50_dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/hide_text"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:background="#F9F9F9" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/delete_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_50_dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/delete_text"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_5"
|
||||
android:background="#F9F9F9" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/all_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:paddingRight="@dimen/dp_15">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/colose_iv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:text="@string/cancel_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
110
app/src/main/res/layout/bottom_sheet_layout_user.xml
Normal file
110
app/src/main/res/layout/bottom_sheet_layout_user.xml
Normal file
@@ -0,0 +1,110 @@
|
||||
<?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="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:background="@drawable/shape_dialog_bg2">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:layout_height="@dimen/dp_221">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/lahei_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:paddingRight="@dimen/dp_15">
|
||||
|
||||
<Button
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/transparent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:id="@+id/lahei_tv"
|
||||
android:text="@string/lahei_txt1"
|
||||
android:drawablePadding="@dimen/dp_20"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/delete_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:paddingRight="@dimen/dp_15">
|
||||
|
||||
<Button
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:id="@+id/delete_tv"
|
||||
android:text="@string/delete_txt"
|
||||
android:background="@color/transparent"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/jubao_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:paddingRight="@dimen/dp_15">
|
||||
|
||||
<Button
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:id="@+id/jubao_tv"
|
||||
android:text="@string/teamsetting_jubao"
|
||||
android:background="@color/transparent"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_5"
|
||||
android:background="#F7F7FF"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/cancel_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:paddingRight="@dimen/dp_15">
|
||||
|
||||
<Button
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:id="@+id/cancel_tv"
|
||||
android:text="@string/cancel_txt"
|
||||
android:background="@color/transparent"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
117
app/src/main/res/layout/bottom_sheet_qrcode_layout.xml
Normal file
117
app/src/main/res/layout/bottom_sheet_qrcode_layout.xml
Normal file
@@ -0,0 +1,117 @@
|
||||
<?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="wrap_content"
|
||||
android:background="@drawable/shape_dialog_bg2"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_440"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/colose_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_17"
|
||||
android:layout_marginTop="@dimen/dp_21"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@mipmap/dialog_colose_img" />
|
||||
<LinearLayout
|
||||
android:id="@+id/qrcode_ly"
|
||||
android:layout_width="@dimen/dp_175"
|
||||
android:layout_height="@dimen/dp_175"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="@dimen/dp_60"
|
||||
android:background="@drawable/qr_code_bg"
|
||||
android:padding="@dimen/dp_5"
|
||||
android:orientation="vertical">
|
||||
<ImageView
|
||||
android:id="@+id/qrcode_iv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@mipmap/ic_launcher"/>
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/qrcode_tips_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_below="@id/qrcode_ly"
|
||||
android:layout_marginTop="@dimen/dp_15"
|
||||
android:text="@string/save_code_add_friend_txt"
|
||||
android:textColor="#ff7f7b81"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
<LinearLayout
|
||||
android:id="@+id/qrcode_action_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:layout_below="@id/qrcode_tips_tv"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:id="@+id/copy_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:drawablePadding="@dimen/dp_10"
|
||||
android:layout_weight="1"
|
||||
android:drawableTop="@mipmap/qrcode_copy_img"
|
||||
android:text="@string/copy_link_txt"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
<TextView
|
||||
android:id="@+id/share_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:drawablePadding="@dimen/dp_10"
|
||||
android:layout_weight="1"
|
||||
android:drawableTop="@mipmap/qrcode_share_img"
|
||||
android:text="@string/share_txt"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
<TextView
|
||||
android:id="@+id/save_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:drawablePadding="@dimen/dp_10"
|
||||
android:layout_weight="1"
|
||||
android:drawableTop="@mipmap/qrcode_downloda_img"
|
||||
android:text="@string/save_txt"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:visibility="invisible"
|
||||
android:layout_below="@id/qrcode_action_ly"
|
||||
android:drawableLeft="@mipmap/qr_code_shuaxin_img"
|
||||
android:text="@string/shuaxin_qrcode_txt"
|
||||
android:id="@+id/shuaxin_tv"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:textColor="@color/color_6b3689"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
144
app/src/main/res/layout/bottom_sheet_qrcode_layout1.xml
Normal file
144
app/src/main/res/layout/bottom_sheet_qrcode_layout1.xml
Normal file
@@ -0,0 +1,144 @@
|
||||
<?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="wrap_content"
|
||||
android:background="@drawable/shape_dialog_bg2"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_500"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/colose_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_17"
|
||||
android:layout_marginTop="@dimen/dp_21"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@mipmap/dialog_colose_img" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/qrcode_ly"
|
||||
android:layout_width="@dimen/dp_175"
|
||||
android:layout_height="@dimen/dp_175"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="@dimen/dp_60"
|
||||
android:background="@drawable/qr_code_bg"
|
||||
android:orientation="vertical"
|
||||
android:padding="@dimen/dp_5">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/qrcode_iv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@mipmap/ic_launcher" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/qrcode_tips_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/qrcode_ly"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginTop="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:gravity="center"
|
||||
android:text="@string/save_code_add_friend_txt"
|
||||
android:textColor="#ff7f7b81"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/qrcode_action_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/qrcode_tips_tv"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/copy_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:drawableTop="@mipmap/qrcode_copy_img"
|
||||
android:drawablePadding="@dimen/dp_10"
|
||||
android:gravity="center"
|
||||
android:text="@string/copy_link_txt"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/share_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:drawableTop="@mipmap/qrcode_share_img"
|
||||
android:drawablePadding="@dimen/dp_10"
|
||||
android:gravity="center"
|
||||
android:text="@string/share_txt"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/save_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:drawableTop="@mipmap/qrcode_downloda_img"
|
||||
android:drawablePadding="@dimen/dp_10"
|
||||
android:gravity="center"
|
||||
android:text="@string/save_txt"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_shuaxin"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/qrcode_action_ly"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/qr_code_shuaxin_img"
|
||||
app:tint="@color/color_6d80ff" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/shuaxin_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_5"
|
||||
android:text="@string/shuaxin_qrcode_txt"
|
||||
android:textColor="@color/color_6d80ff"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<androidx.appcompat.widget.AppCompatButton
|
||||
android:id="@+id/saomiao_bt"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/layout_shuaxin"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:layout_marginTop="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:background="@drawable/fun_themeblue_btn_bg"
|
||||
android:gravity="center"
|
||||
android:text="@string/saomiaoerweima_txt"
|
||||
android:textColor="@color/color_white"
|
||||
android:textSize="16sp" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
70
app/src/main/res/layout/bottom_sheet_red_type_layout.xml
Normal file
70
app/src/main/res/layout/bottom_sheet_red_type_layout.xml
Normal file
@@ -0,0 +1,70 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_150"
|
||||
android:background="@drawable/shape_dialog_bg2"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ft_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/psjhb_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
>
|
||||
</TextView>
|
||||
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="#F2F2F2"/>
|
||||
<LinearLayout
|
||||
android:id="@+id/jt_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:text="@string/pthb_txt"
|
||||
android:gravity="center"
|
||||
android:layout_weight="1"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
>
|
||||
</TextView>
|
||||
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="10dp"
|
||||
android:background="#F2F2F2"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:text="@string/cancel_txt"
|
||||
android:gravity="center"
|
||||
android:layout_weight="1"
|
||||
android:id="@+id/colose_iv"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
>
|
||||
</TextView>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
28
app/src/main/res/layout/chat_his_child_item.xml
Normal file
28
app/src/main/res/layout/chat_his_child_item.xml
Normal file
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_84"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:gravity="center"
|
||||
android:id="@+id/big_ly"
|
||||
android:orientation="horizontal"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<com.dskj.rbchat.widget.CircleImageView
|
||||
android:id="@+id/item_civ"
|
||||
android:layout_width="@dimen/dp_84"
|
||||
android:layout_height="@dimen/dp_84"
|
||||
android:layout_centerInParent="true"
|
||||
android:scaleType="centerCrop"
|
||||
app:es_shape_type="rectangle"
|
||||
app:ease_radius="@dimen/dp_2"/>
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/video_tag_img"
|
||||
android:layout_centerInParent="true"
|
||||
android:visibility="gone"
|
||||
android:id="@+id/video_tag_iv"/>
|
||||
</RelativeLayout>
|
||||
93
app/src/main/res/layout/chat_his_child_item1.xml
Normal file
93
app/src/main/res/layout/chat_his_child_item1.xml
Normal file
@@ -0,0 +1,93 @@
|
||||
<?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:id="@+id/big_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/dp_2"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<com.dskj.rbchat.widget.CircleImageView
|
||||
android:id="@+id/item_civ"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:scaleType="centerCrop"
|
||||
app:ease_radius="@dimen/dp_2"
|
||||
app:es_shape_type="rectangle"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/item_iv_selector"
|
||||
android:layout_width="@dimen/dp_20"
|
||||
android:layout_height="@dimen/dp_20"
|
||||
android:layout_margin="@dimen/dp_5"
|
||||
android:background="@drawable/cornor_stroke_unselect"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/video_tag_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:src="@mipmap/video_tag_img"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/item_link"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/dp_10"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/iv_link"
|
||||
android:layout_width="@dimen/dp_56"
|
||||
android:layout_height="@dimen/dp_56"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
app:avatarCorner="@dimen/dp_6"
|
||||
app:es_shape_type="round"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/titlelink_tv"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/dp_30"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:ellipsize="end"
|
||||
android:maxLines="1"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/iv_link"
|
||||
app:layout_constraintTop_toTopOf="@+id/iv_link" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/timelink_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginBottom="@dimen/dp_4"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="@dimen/text_size_12"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/iv_link"
|
||||
app:layout_constraintStart_toEndOf="@+id/iv_link" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
48
app/src/main/res/layout/chat_his_child_itemtop.xml
Normal file
48
app/src/main/res/layout/chat_his_child_itemtop.xml
Normal file
@@ -0,0 +1,48 @@
|
||||
<?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:id="@+id/big_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_30"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:text="2023年09月"
|
||||
android:textColor="#ff7f7b81"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title_selector_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_30"
|
||||
android:layout_weight="1"
|
||||
android:gravity="right|center_vertical"
|
||||
android:textColor="@color/color_themepink"
|
||||
android:textSize="14sp"
|
||||
android:visibility="gone" />
|
||||
</LinearLayout>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/item_recyclerview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_2"
|
||||
android:layout_marginRight="@dimen/dp_2" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
23
app/src/main/res/layout/chat_message_sticker_view.xml
Normal file
23
app/src/main/res/layout/chat_message_sticker_view.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/input_bg">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/thumbnail"
|
||||
android:layout_width="@dimen/dp_120"
|
||||
android:layout_height="@dimen/dp_120"
|
||||
android:padding="1px"
|
||||
android:src="@mipmap/default_head_img"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"/>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
93
app/src/main/res/layout/dialog_action_confirm.xml
Normal file
93
app/src/main/res/layout/dialog_action_confirm.xml
Normal file
@@ -0,0 +1,93 @@
|
||||
<?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="wrap_content"
|
||||
android:background="@color/transparent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="285dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/shape_dialog_bg_new"
|
||||
android:minHeight="@dimen/dp_144"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/content_tv"
|
||||
android:layout_width="245dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="@dimen/dp_15"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:lineSpacingExtra="4dp"
|
||||
android:text="1111111111"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16sp"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/title_tv"
|
||||
app:layout_goneMarginTop="@dimen/dp_30" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:layout_marginBottom="@dimen/dp_25"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/cancel_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/cornor_stroke_thempink_12dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/cancel_txt"
|
||||
android:textColor="@color/color_themepink"
|
||||
android:textSize="16sp"
|
||||
android:visibility="visible" />
|
||||
|
||||
<View
|
||||
android:id="@+id/line_v"
|
||||
android:layout_width="15dp"
|
||||
android:layout_height="@dimen/dp_42" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/sumbit_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/cornor_thempink_12dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/sure_txt"
|
||||
android:textColor="@color/colorWhite"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
82
app/src/main/res/layout/dialog_action_inputconfirm.xml
Normal file
82
app/src/main/res/layout/dialog_action_inputconfirm.xml
Normal file
@@ -0,0 +1,82 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/transparent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="285dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/shape_dialog_bg_new"
|
||||
android:minHeight="@dimen/dp_207"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/content_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_margin="@dimen/dp_20"
|
||||
android:gravity="center"
|
||||
android:text="title"
|
||||
android:textColor="@color/color_383838"
|
||||
android:textSize="18sp" />
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/content_input"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_20"
|
||||
android:paddingStart="@dimen/dp_10"
|
||||
android:layout_marginEnd="@dimen/dp_20"
|
||||
android:background="@drawable/cornor_stroke_eeeeee_6dp"
|
||||
android:minHeight="@dimen/dp_52"
|
||||
android:hint="@string/userphoto_jiesuoalbum_hint"
|
||||
android:textColor="@color/color_383838"
|
||||
android:textColorHint="@color/color_bcbcbc"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginStart="@dimen/dp_20"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:layout_marginEnd="@dimen/dp_20"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/cancel_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginEnd="@dimen/dp_10"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/cornor_stroke_thempink_12dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/cancel_txt"
|
||||
android:textColor="@color/color_themepink"
|
||||
android:textSize="16sp" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/sumbit_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginStart="@dimen/dp_10"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/cornor_thempink_12dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/sure_txt"
|
||||
android:textColor="@color/color_fff5f5"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
53
app/src/main/res/layout/dialog_bottom_nfcread.xml
Normal file
53
app/src/main/res/layout/dialog_bottom_nfcread.xml
Normal file
@@ -0,0 +1,53 @@
|
||||
<?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"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/bottom_dialog_nfcread_bg"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_nfcread_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:text="@string/nfctitle_dialog_txt"
|
||||
android:textColor="@color/color_9e9e9e"
|
||||
android:textSize="@dimen/sp_24"
|
||||
android:visibility="invisible"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_nfcread_status"
|
||||
android:layout_width="@dimen/dp_111"
|
||||
android:layout_height="@dimen/dp_111"
|
||||
android:layout_marginTop="@dimen/dp_20" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_nfcread_status"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:gravity="center_horizontal"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_nfcread_cancel"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_45"
|
||||
android:layout_marginStart="@dimen/dp_25"
|
||||
android:layout_marginTop="@dimen/dp_35"
|
||||
android:layout_marginEnd="@dimen/dp_25"
|
||||
android:layout_marginBottom="@dimen/dp_40"
|
||||
android:background="@drawable/cornor_d4d3d9_6dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/cancel"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:visibility="invisible" />
|
||||
|
||||
</LinearLayout>
|
||||
218
app/src/main/res/layout/dialog_date_picker.xml
Normal file
218
app/src/main/res/layout/dialog_date_picker.xml
Normal file
@@ -0,0 +1,218 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (c) 2022 NetEase, Inc. All rights reserved. -->
|
||||
<!-- Use of this source code is governed by a MIT license that can be -->
|
||||
<!-- found in the LICENSE file. -->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/shape_dialog_bg2"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:text="@string/user_info_birthday"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_close_key"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="15dp"
|
||||
android:src="@mipmap/user_colose_img"
|
||||
android:tint="#5D5D5D"
|
||||
tools:ignore="UseAppTint" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_205"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/datas_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="2052年04月01日"
|
||||
android:textColor="#cc000000"
|
||||
android:textSize="20sp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/edit_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_4"
|
||||
android:src="@mipmap/datas_time_edit_img" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/bottpm_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:background="#f8f8f8"
|
||||
android:orientation="horizontal"
|
||||
android:paddingRight="15dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_cancel"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:text="@string/cancel"
|
||||
android:textColor="@color/transparent"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_title"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:text="@string/title"
|
||||
android:textColor="@color/transparent"
|
||||
android:textSize="20sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_confirm"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:text="@string/video_call_out_over"
|
||||
android:textColor="#91a0f0"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:background="@color/color_f7f7f7" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="@dimen/dp_2"
|
||||
android:layout_centerInParent="true">
|
||||
<View android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@drawable/shengri_item_bg"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingStart="20dp"
|
||||
android:paddingTop="15dp"
|
||||
android:paddingEnd="20dp"
|
||||
android:paddingBottom="20dp">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.datepicker.PickerView
|
||||
android:id="@+id/dpv_year"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/picker_view_height"
|
||||
android:layout_weight="3" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:text="@string/year"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/date_unit_text_size" />
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.datepicker.PickerView
|
||||
android:id="@+id/dpv_month"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/picker_view_height"
|
||||
android:layout_weight="2" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:text="@string/month"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/date_unit_text_size" />
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.datepicker.PickerView
|
||||
android:id="@+id/dpv_day"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/picker_view_height"
|
||||
android:layout_weight="2" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:text="@string/day"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/date_unit_text_size" />
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.datepicker.PickerView
|
||||
android:id="@+id/dpv_hour"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/picker_view_height"
|
||||
android:layout_weight="2" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_hour_unit"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:text="@string/hour"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/date_unit_text_size" />
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.datepicker.PickerView
|
||||
android:id="@+id/dpv_minute"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/picker_view_height"
|
||||
android:layout_weight="2" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_minute_unit"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:text="@string/minute"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/date_unit_text_size" />
|
||||
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
95
app/src/main/res/layout/dialog_mianmi_confirm.xml
Normal file
95
app/src/main/res/layout/dialog_mianmi_confirm.xml
Normal file
@@ -0,0 +1,95 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/transparent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="285dp"
|
||||
android:layout_height="258dp"
|
||||
android:minHeight="@dimen/dp_144"
|
||||
android:background="@drawable/shape_dialog_bg_new"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:text="@string/mianmi_title_txt"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:textStyle="bold"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="18sp"
|
||||
/>
|
||||
|
||||
|
||||
<TextView
|
||||
android:layout_width="245dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:lineSpacingExtra="4dp"
|
||||
android:id="@+id/content_tv"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:text="@string/mianmi_content_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16sp"
|
||||
/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/xieyi_ly"
|
||||
android:layout_below="@id/next_iv"
|
||||
android:layout_marginBottom="30dp"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/register_form_agreeLisenseCb"
|
||||
style="@style/check_box_big_style1"
|
||||
android:checked="false"
|
||||
android:text="@string/wyydbty_txt"
|
||||
android:textColor="@color/color_333333" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/register_form_to_clause"
|
||||
style="@style/ButtonBase"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="3dp"
|
||||
android:layout_marginTop="0dp"
|
||||
android:background="@null"
|
||||
android:text="@string/mmzfxe_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="12sp" />
|
||||
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1px"
|
||||
android:background="@color/color_d8d8d8"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_62"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:id="@+id/sumbit_tv"
|
||||
android:text="@string/lijikaitong_txt"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/color_6b3689"
|
||||
android:textSize="16sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
58
app/src/main/res/layout/dialog_mianmi_xieyi.xml
Normal file
58
app/src/main/res/layout/dialog_mianmi_xieyi.xml
Normal file
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/transparent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="285dp"
|
||||
android:layout_height="499dp"
|
||||
android:background="@drawable/shape_dialog_bg_new"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:text="@string/mianmi_title_txt1"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:textStyle="bold"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="18sp"
|
||||
/>
|
||||
<WebView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="@dimen/dp_10"
|
||||
android:id="@+id/webivew"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1px"
|
||||
android:background="@color/color_d8d8d8"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_62"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:id="@+id/sumbit_tv"
|
||||
android:text="@string/woyiyuedubintongyi_txt"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/color_6b3689"
|
||||
android:textSize="16sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
349
app/src/main/res/layout/dialog_pay_cash.xml
Normal file
349
app/src/main/res/layout/dialog_pay_cash.xml
Normal file
@@ -0,0 +1,349 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:background="@drawable/shape_dialog_bg2">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_close_key"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:src="@mipmap/dialog_colose_img"
|
||||
android:tint="@color/color_adb5bd"
|
||||
tools:ignore="UseAppTint" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/zhiwenzhifu_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:text="指纹支付"
|
||||
android:textColor="#ff6b4fe6"
|
||||
android:textSize="14sp" />
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="付款给朱政廷"
|
||||
android:id="@+id/title_tv"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_tip_money"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:text="$9003.00"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="24sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/error_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginBottom="15dp"
|
||||
android:text="@string/zfjecgxz_txt"
|
||||
android:textColor="#fff35543"
|
||||
android:textSize="12sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="#EBE8F1" />
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:paddingRight="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginBottom="@dimen/dp_4"
|
||||
android:layout_height="50dp">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="付款方式"
|
||||
android:layout_centerVertical="true"
|
||||
android:textColor="#ff7e7b84"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
<LinearLayout
|
||||
android:id="@+id/main_more_settings_safa"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/pay_type_iv"
|
||||
android:layout_width="@dimen/dp_20"
|
||||
android:layout_height="20dp"
|
||||
android:src="@mipmap/wallet_jinbi_img" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/pay_type_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:background="@color/transparent"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/species_txt"
|
||||
android:textColor="#333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/yue_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/dp_5"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:text="(余额:1111)"
|
||||
android:textColor="#ff7e7b84"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@mipmap/ic_indexfm_down"
|
||||
android:textColor="@color/black"
|
||||
android:textColorHint="@color/color_adb5bd" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginBottom="@dimen/dp_20"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_first_num"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="45dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/input_bg_tongji1"
|
||||
android:gravity="center"
|
||||
android:inputType="numberPassword"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="30sp" />
|
||||
|
||||
<View
|
||||
android:layout_width="4dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/transparent" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_second_num"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="45dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/input_bg_tongji1"
|
||||
android:gravity="center"
|
||||
android:inputType="numberPassword"
|
||||
|
||||
android:textColor="@color/black"
|
||||
android:textSize="30sp" />
|
||||
|
||||
<View
|
||||
android:layout_width="4dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/transparent" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_third_num"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="45dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/input_bg_tongji1"
|
||||
android:gravity="center"
|
||||
android:inputType="numberPassword"
|
||||
|
||||
android:textColor="@color/black"
|
||||
android:textSize="30sp" />
|
||||
|
||||
<View
|
||||
android:layout_width="4dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/transparent" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_fourth_num"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="45dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/input_bg_tongji1"
|
||||
android:gravity="center"
|
||||
android:inputType="numberPassword"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="30sp" />
|
||||
|
||||
<View
|
||||
android:layout_width="4dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/transparent" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_fifth_num"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="45dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/input_bg_tongji1"
|
||||
android:gravity="center"
|
||||
|
||||
android:inputType="numberPassword"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="30sp" />
|
||||
|
||||
<View
|
||||
android:layout_width="4dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/transparent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_sixth_num"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="45dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/input_bg_tongji1"
|
||||
android:gravity="center"
|
||||
android:inputType="numberPassword"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="30sp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/nt_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:background="@color/color_f7f7f7"
|
||||
android:orientation="horizontal">
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/rv_keyboard"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:overScrollMode="never" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="58dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_margin="0.5dp"
|
||||
|
||||
android:gravity="center"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_zero"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/password_button_bg"
|
||||
android:gravity="center"
|
||||
android:text="0"
|
||||
android:layout_margin="0.5dp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="25sp" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_margin="0.5dp"
|
||||
android:background="@color/color_f7f7f7">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerInParent="true"
|
||||
android:visibility="gone"
|
||||
android:src="@mipmap/tuige" />
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="3"
|
||||
android:orientation="vertical">
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_undo"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="58dp"
|
||||
android:layout_margin="0.5dp"
|
||||
android:background="@drawable/password_button_bg">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerInParent="true"
|
||||
android:src="@mipmap/tuige" />
|
||||
|
||||
</RelativeLayout>
|
||||
<TextView
|
||||
android:id="@+id/sumbit_bt"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_margin="0.5dp"
|
||||
android:background="@drawable/password_button_bg_s"
|
||||
android:gravity="center"
|
||||
android:text="@string/fukuan_txt"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:visibility="visible" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
165
app/src/main/res/layout/dialog_pay_finger.xml
Normal file
165
app/src/main/res/layout/dialog_pay_finger.xml
Normal file
@@ -0,0 +1,165 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/shape_dialog_bg2">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="400dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_close_key"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:src="@mipmap/dialog_colose_img"
|
||||
android:tint="@color/color_adb5bd"
|
||||
tools:ignore="UseAppTint" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/zhiwenzhifu_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:text="@string/mimazhifu_txt"
|
||||
android:textColor="#ff6b4fe6"
|
||||
android:textSize="14sp" />
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="付款给朱政廷"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_tip_money"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:text="$9003.00"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="24sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/error_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginBottom="15dp"
|
||||
android:text="@string/zfjecgxz_txt"
|
||||
android:textColor="#fff35543"
|
||||
android:textSize="12sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="#EBE8F1" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginBottom="@dimen/dp_4"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:paddingRight="@dimen/dp_15">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:text="@string/payment_type_txt"
|
||||
|
||||
android:textColor="#ff7e7b84"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/main_more_settings_safa"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/pay_type_iv"
|
||||
android:layout_width="@dimen/dp_20"
|
||||
android:layout_height="20dp"
|
||||
android:src="@mipmap/wallet_jinbi_img" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/pay_type_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:background="@color/transparent"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/species_txt"
|
||||
android:textColor="#333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/yue_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/dp_5"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:text="(余额:1111)"
|
||||
android:textColor="#ff7e7b84"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@mipmap/ic_indexfm_down"
|
||||
android:textColor="@color/black"
|
||||
android:textColorHint="@color/color_adb5bd" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="20dp"
|
||||
android:text="@string/qyzzw_txt"
|
||||
android:textColor="#ff7e7b84"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/tozhiwen_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="30dp"
|
||||
android:src="@mipmap/finger_img" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
259
app/src/main/res/layout/dialog_pay_new.xml
Normal file
259
app/src/main/res/layout/dialog_pay_new.xml
Normal file
@@ -0,0 +1,259 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:background="@drawable/shape_dialog_bg2">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_close_key"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:src="@mipmap/user_colose_img"
|
||||
android:tint="@color/color_adb5bd"
|
||||
tools:ignore="UseAppTint" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:text="@string/dialog_input_paypassword_txt"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="20sp" />
|
||||
|
||||
<!-- <View-->
|
||||
<!-- android:layout_width="match_parent"-->
|
||||
<!-- android:layout_height="1dp"-->
|
||||
<!-- android:layout_alignParentBottom="true"-->
|
||||
<!-- android:background="@color/light_gray" />-->
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_tip_money"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:text="$9003.00"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="30sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginBottom="@dimen/dp_20"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_first_num"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="45dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/input_bg_tongji1"
|
||||
android:gravity="center"
|
||||
android:inputType="numberPassword"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="30sp" />
|
||||
|
||||
<View
|
||||
android:layout_width="4dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/transparent" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_second_num"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="45dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/input_bg_tongji1"
|
||||
android:gravity="center"
|
||||
android:inputType="numberPassword"
|
||||
|
||||
android:textColor="@color/black"
|
||||
android:textSize="30sp" />
|
||||
|
||||
<View
|
||||
android:layout_width="4dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/transparent" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_third_num"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="45dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/input_bg_tongji1"
|
||||
android:gravity="center"
|
||||
android:inputType="numberPassword"
|
||||
|
||||
android:textColor="@color/black"
|
||||
android:textSize="30sp" />
|
||||
|
||||
<View
|
||||
android:layout_width="4dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/transparent" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_fourth_num"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="45dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/input_bg_tongji1"
|
||||
android:gravity="center"
|
||||
android:inputType="numberPassword"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="30sp" />
|
||||
|
||||
<View
|
||||
android:layout_width="4dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/transparent" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_fifth_num"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="45dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/input_bg_tongji1"
|
||||
android:gravity="center"
|
||||
|
||||
android:inputType="numberPassword"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="30sp" />
|
||||
|
||||
<View
|
||||
android:layout_width="4dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/transparent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_sixth_num"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="45dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/input_bg_tongji1"
|
||||
android:gravity="center"
|
||||
android:inputType="numberPassword"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="30sp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/nt_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/color_f7f7f7"
|
||||
android:orientation="horizontal">
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/rv_keyboard"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:overScrollMode="never" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="58dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_margin="0.5dp"
|
||||
|
||||
android:gravity="center"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_zero"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/password_button_bg"
|
||||
android:gravity="center"
|
||||
android:text="0"
|
||||
android:layout_margin="0.5dp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="25sp" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_margin="0.5dp"
|
||||
android:background="@color/color_f7f7f7">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerInParent="true"
|
||||
android:visibility="gone"
|
||||
android:src="@mipmap/tuige" />
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="3"
|
||||
android:orientation="vertical">
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_undo"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="58dp"
|
||||
android:layout_margin="0.5dp"
|
||||
android:background="@drawable/password_button_bg">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerInParent="true"
|
||||
android:src="@mipmap/tuige" />
|
||||
|
||||
</RelativeLayout>
|
||||
<TextView
|
||||
android:id="@+id/sumbit_bt"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_margin="0.5dp"
|
||||
android:background="@drawable/password_button_bg_s"
|
||||
android:gravity="center"
|
||||
android:text="@string/sure_txt"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:visibility="visible" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
58
app/src/main/res/layout/dialog_select_country.xml
Normal file
58
app/src/main/res/layout/dialog_select_country.xml
Normal file
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/shape_dialog_bg22"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/edit_search"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:background="@drawable/button_false_bg"
|
||||
android:drawableStart="@mipmap/ic_chat_search"
|
||||
android:drawablePadding="@dimen/dp_2"
|
||||
android:hint="@string/dialog_selectcountry_hint"
|
||||
android:imeOptions="actionSearch"
|
||||
android:singleLine="true"
|
||||
android:paddingStart="@dimen/dp_15"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="@color/color_bcbcbc" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_ed_clear"
|
||||
android:layout_width="@dimen/dimen_12_dp"
|
||||
android:layout_height="@dimen/dimen_12_dp"
|
||||
android:layout_alignTop="@+id/edit_search"
|
||||
android:layout_alignEnd="@+id/edit_search"
|
||||
android:layout_alignBottom="@+id/edit_search"
|
||||
android:layout_marginLeft="@dimen/dimen_12_dp"
|
||||
android:layout_marginRight="@dimen/dimen_12_dp"
|
||||
android:src="@drawable/ic_clear"
|
||||
android:visibility="gone" />
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_400"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recycler"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
152
app/src/main/res/layout/dialog_select_lang_type.xml
Normal file
152
app/src/main/res/layout/dialog_select_lang_type.xml
Normal file
@@ -0,0 +1,152 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_267"
|
||||
android:background="@drawable/shape_dialog_bg2"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:orientation="horizontal">
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:src="@mipmap/dialog_colose_img"
|
||||
android:id="@+id/colose_iv"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
tools:ignore="UseAppTint" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/language_settings_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
</RelativeLayout>
|
||||
<LinearLayout
|
||||
android:id="@+id/ft_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:orientation="horizontal"
|
||||
android:layout_weight="1">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/dp_13"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/ftzw_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
>
|
||||
</TextView>
|
||||
<ImageView
|
||||
android:id="@+id/duigou_ft_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginRight="@dimen/dp_8"
|
||||
android:visibility="gone"
|
||||
android:src="@mipmap/dialog_gou_t"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:background="#F2F2F2"/>
|
||||
<LinearLayout
|
||||
android:id="@+id/jt_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:orientation="horizontal"
|
||||
android:layout_weight="1">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/dp_13"
|
||||
android:text="@string/jtzw_txt"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
>
|
||||
</TextView>
|
||||
<ImageView
|
||||
android:id="@+id/duigou_jt_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginRight="@dimen/dp_8"
|
||||
android:visibility="gone"
|
||||
android:src="@mipmap/dialog_gou_t"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:background="#F2F2F2"/>
|
||||
<LinearLayout
|
||||
android:id="@+id/yw_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:orientation="horizontal"
|
||||
android:layout_weight="1">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/dp_13"
|
||||
android:text="@string/yinyu_txt"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
>
|
||||
</TextView>
|
||||
<ImageView
|
||||
android:id="@+id/duigou_yy_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginRight="@dimen/dp_8"
|
||||
android:visibility="gone"
|
||||
android:src="@mipmap/dialog_gou_t"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:background="#F2F2F2"/>
|
||||
<LinearLayout
|
||||
android:id="@+id/rw_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:orientation="horizontal"
|
||||
android:layout_weight="1">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/dp_13"
|
||||
android:text="@string/riyu_txt"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
>
|
||||
</TextView>
|
||||
<ImageView
|
||||
android:id="@+id/duigou_ry_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginRight="@dimen/dp_8"
|
||||
android:visibility="gone"
|
||||
android:src="@mipmap/dialog_gou_t"/>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
156
app/src/main/res/layout/dialog_select_pay_type.xml
Normal file
156
app/src/main/res/layout/dialog_select_pay_type.xml
Normal file
@@ -0,0 +1,156 @@
|
||||
<?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="wrap_content"
|
||||
android:background="@color/transparent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/shape_dialog_bg2"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_60"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:text="@string/change_pay_type_txt"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
</RelativeLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_64"
|
||||
android:orientation="horizontal"
|
||||
android:id="@+id/jinbi_ly"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingRight="@dimen/dp_15"
|
||||
android:layout_weight="1">
|
||||
<ImageView
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:src="@mipmap/wallet_jinbi_img"/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:text="@string/species_txt"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_16"
|
||||
>
|
||||
</TextView>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:id="@+id/yue_tv"
|
||||
android:layout_marginLeft="@dimen/dp_5"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="#ff7e7b84"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
<ImageView
|
||||
android:id="@+id/duigou_jinbi_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@mipmap/dialog_gou_t"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="#F2F2F2"/>
|
||||
<LinearLayout
|
||||
android:id="@+id/line_pay_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_64"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingRight="@dimen/dp_15"
|
||||
android:layout_weight="1">
|
||||
<com.dskj.rbchat.widget.CircleImageView
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
app:es_shape_type="round"
|
||||
app:ease_border_width="1dp"
|
||||
app:ease_border_color="@color/color_adb5bd"
|
||||
android:src="@mipmap/line_pay_img"/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:text="line pay"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_16"
|
||||
>
|
||||
</TextView>
|
||||
<ImageView
|
||||
android:id="@+id/duigou_linepay_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone"
|
||||
android:src="@mipmap/dialog_gou_t"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="#F2F2F2"/>
|
||||
<LinearLayout
|
||||
android:id="@+id/neweb_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_64"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingRight="@dimen/dp_15"
|
||||
android:layout_weight="1">
|
||||
<ImageView
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:src="@mipmap/newebpay_img"/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:text="@string/neweb_txt"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_16"
|
||||
>
|
||||
</TextView>
|
||||
<ImageView
|
||||
android:id="@+id/duigou_newebpay_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone"
|
||||
android:src="@mipmap/dialog_gou_t"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="20dp"
|
||||
/>
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
158
app/src/main/res/layout/dialog_select_photo_type.xml
Normal file
158
app/src/main/res/layout/dialog_select_photo_type.xml
Normal file
@@ -0,0 +1,158 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/shape_dialog_bg2"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_public"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_public_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingStart="@dimen/dp_15"
|
||||
android:paddingTop="@dimen/dp_20"
|
||||
android:text="@string/userphoto_create_xiangbugongkai"
|
||||
android:textColor="@color/color_3d3d3d"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_public_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/tv_public_title"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingStart="@dimen/dp_15"
|
||||
android:paddingTop="@dimen/dp_4"
|
||||
android:text="@string/userphoto_create_allvisible"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_public_selected"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:src="@mipmap/ic_dialog_selected_gou"
|
||||
android:visibility="gone" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_below="@+id/tv_public_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:background="@color/color_f4f4f4" />
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_friend"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_friend_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingStart="@dimen/dp_15"
|
||||
android:paddingTop="@dimen/dp_20"
|
||||
android:text="@string/userphoto_create_xiangbuhaoyou"
|
||||
android:textColor="@color/color_3d3d3d"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_friend_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/tv_friend_title"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingStart="@dimen/dp_15"
|
||||
android:paddingTop="@dimen/dp_4"
|
||||
android:text="@string/userphoto_create_friendvisible"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_friend_selected"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:src="@mipmap/ic_dialog_selected_gou"
|
||||
android:visibility="gone" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_below="@+id/tv_friend_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:background="@color/color_f4f4f4" />
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_private"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_private_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingStart="@dimen/dp_15"
|
||||
android:paddingTop="@dimen/dp_20"
|
||||
android:text="@string/userphoto_create_xiangbusimi"
|
||||
android:textColor="@color/color_3d3d3d"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_private_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/tv_private_title"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingStart="@dimen/dp_15"
|
||||
android:paddingTop="@dimen/dp_4"
|
||||
android:text="@string/userphoto_create_private"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_private_selected"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:src="@mipmap/ic_dialog_selected_gou"
|
||||
android:visibility="gone" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_below="@+id/tv_private_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:background="@color/color_f4f4f4" />
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
54
app/src/main/res/layout/dialog_select_photos_move.xml
Normal file
54
app/src/main/res/layout/dialog_select_photos_move.xml
Normal file
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/shape_dialog_bg2"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_dialog_close"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingStart="@dimen/dp_15"
|
||||
android:paddingTop="@dimen/dp_20"
|
||||
android:paddingEnd="@dimen/dp_20"
|
||||
android:paddingBottom="@dimen/dp_15"
|
||||
android:src="@mipmap/dialog_colose_img" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:text="@string/userphoto_dialog_movetitle"
|
||||
android:textColor="@color/color_383838"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recycler_myalbums"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:layout_height="@dimen/dp_350"
|
||||
android:layout_marginTop="@dimen/dp_20" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_dialog_move"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_48"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:layout_marginBottom="@dimen/dimen_10_dp"
|
||||
android:background="@drawable/cornor_6d80ff_dp50"
|
||||
android:gravity="center"
|
||||
android:text="@string/userphoto_edit_move"
|
||||
android:textColor="@color/color_f6f8fd"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
</LinearLayout>
|
||||
146
app/src/main/res/layout/dialog_select_push_type.xml
Normal file
146
app/src/main/res/layout/dialog_select_push_type.xml
Normal file
@@ -0,0 +1,146 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/transparent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="220dp"
|
||||
android:background="@drawable/shape_dialog_bg2"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/all_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="52dp"
|
||||
android:layout_marginTop="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:paddingRight="@dimen/dp_15">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/dp_2"
|
||||
android:text="@string/all_visible_txt"
|
||||
android:id="@+id/all_visible_tv"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/dp_6"
|
||||
android:text="@string/all_visible_des_txt"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="12sp" />
|
||||
</LinearLayout>
|
||||
<ImageView
|
||||
android:id="@+id/all_visible_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/dialog_duigou_img"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginLeft="@dimen/dp_14"
|
||||
android:layout_marginRight="@dimen/dp_14"
|
||||
android:visibility="visible"
|
||||
android:background="#F4F4F4" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/haoyou_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="52dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:paddingRight="@dimen/dp_15">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/dp_2"
|
||||
android:id="@+id/friend_visible_tv"
|
||||
|
||||
android:text="@string/friend_visible_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/dp_6"
|
||||
android:text="@string/friend_visible_des_txt"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="12sp" />
|
||||
</LinearLayout>
|
||||
<ImageView
|
||||
android:id="@+id/friend_visible_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"
|
||||
|
||||
android:src="@mipmap/dialog_duigou_img"/>
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginLeft="@dimen/dp_14"
|
||||
android:layout_marginRight="@dimen/dp_14"
|
||||
android:background="#F4F4F4" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ziji_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="52dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:paddingRight="@dimen/dp_15">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/dp_2"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:id="@+id/onlyme_visible_tv"
|
||||
android:text="@string/onlyme_visible_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp" />
|
||||
<ImageView
|
||||
android:id="@+id/onlyme_visible_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"
|
||||
android:src="@mipmap/dialog_duigou_img"/>
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
99
app/src/main/res/layout/dialog_select_sex.xml
Normal file
99
app/src/main/res/layout/dialog_select_sex.xml
Normal file
@@ -0,0 +1,99 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_190"
|
||||
android:background="@drawable/shape_dialog_bg2"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:orientation="horizontal">
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:src="@mipmap/dialog_colose_img"
|
||||
android:id="@+id/colose_iv"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
tools:ignore="UseAppTint" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:layout_centerInParent="true"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/xzxb_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
<TextView
|
||||
android:id="@+id/config_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:text="@string/chat_dialog_sure"
|
||||
android:textColor="#ff6b4fe6"
|
||||
android:textSize="14sp" />
|
||||
</RelativeLayout>
|
||||
<LinearLayout
|
||||
android:id="@+id/nan_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_54"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/sexual_male"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
>
|
||||
</TextView>
|
||||
<ImageView
|
||||
android:id="@+id/duigou_nan_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:visibility="gone"
|
||||
android:src="@mipmap/dialog_gou_t"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:background="#F2F2F2"/>
|
||||
<LinearLayout
|
||||
android:id="@+id/nv_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_54"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:text="@string/sexual_female"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
>
|
||||
</TextView>
|
||||
<ImageView
|
||||
android:id="@+id/duigou_nv_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:visibility="gone"
|
||||
android:src="@mipmap/dialog_gou_t"/>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
50
app/src/main/res/layout/dialog_select_type.xml
Normal file
50
app/src/main/res/layout/dialog_select_type.xml
Normal file
@@ -0,0 +1,50 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/transparent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="427dp"
|
||||
android:background="@drawable/shape_dialog_bg2"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_60"
|
||||
android:orientation="horizontal">
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dp_20"
|
||||
android:layout_height="@dimen/dp_20"
|
||||
android:layout_gravity="center"
|
||||
android:src="@mipmap/dialog_colose_img"
|
||||
android:id="@+id/colose_iv"
|
||||
android:visibility="gone"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="@dimen/dp_12"
|
||||
tools:ignore="UseAppTint" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:text="@string/select_billing_type_txt"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
</RelativeLayout>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/white"
|
||||
android:id="@+id/recycler"/>
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
103
app/src/main/res/layout/discover_child_item.xml
Normal file
103
app/src/main/res/layout/discover_child_item.xml
Normal file
@@ -0,0 +1,103 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:gravity="center_vertical"
|
||||
android:padding="@dimen/dp_5"
|
||||
android:id="@+id/big_ly"
|
||||
android:orientation="vertical"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/card_1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:cardCornerRadius="@dimen/dp_10"
|
||||
app:cardElevation="@dimen/dp_0"
|
||||
app:cardBackgroundColor="@color/white">
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<ImageView
|
||||
android:id="@+id/pic_ic"
|
||||
android:scaleType="fitXY"
|
||||
android:adjustViewBounds="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/voom_none_img"/>
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dp_20"
|
||||
android:layout_height="@dimen/dp_20"
|
||||
android:layout_margin="@dimen/dp_10"
|
||||
android:id="@+id/video_tag"
|
||||
android:visibility="gone"
|
||||
android:src="@mipmap/circle_video_img"/>
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/title_tv"
|
||||
android:layout_margin="@dimen/dp_5"
|
||||
android:maxLines="2"
|
||||
android:ellipsize="end"
|
||||
android:lineSpacingExtra="@dimen/dp_3"
|
||||
android:text="神仙姐姐的古装热剧推荐"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="@dimen/dp_5"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginBottom="@dimen/dp_5"
|
||||
android:orientation="horizontal">
|
||||
<com.dskj.rbchat.widget.CircleImageView
|
||||
android:layout_width="@dimen/dp_24"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@mipmap/default_head_img"
|
||||
app:es_shape_type="round"
|
||||
android:id="@+id/head_iv"/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="@dimen/dimen_24_dp"
|
||||
android:text="比昂"
|
||||
android:id="@+id/user_name_tv"
|
||||
android:layout_marginLeft="@dimen/dp_5"
|
||||
android:layout_marginRight="@dimen/dp_5"
|
||||
android:lines="1"
|
||||
android:singleLine="true"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
<ImageView
|
||||
android:id="@+id/like_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@mipmap/like_f_img"/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_5"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:text="3"
|
||||
android:id="@+id/like_number_tv"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
</LinearLayout>
|
||||
82
app/src/main/res/layout/discover_child_item_default.xml
Normal file
82
app/src/main/res/layout/discover_child_item_default.xml
Normal file
@@ -0,0 +1,82 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:gravity="center_vertical"
|
||||
android:padding="@dimen/dp_5"
|
||||
android:id="@+id/big_ly"
|
||||
android:orientation="vertical"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/card_1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:cardCornerRadius="@dimen/dp_10"
|
||||
app:cardElevation="@dimen/dp_0"
|
||||
app:cardBackgroundColor="@color/white">
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<com.dskj.rbchat.widget.CircleImageView
|
||||
android:scaleType="fitXY"
|
||||
android:adjustViewBounds="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:es_shape_type="rectangle"
|
||||
app:ease_radius="@dimen/dp_10"
|
||||
android:src="@color/common_list_custom_divider" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/title_tv"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:maxLines="2"
|
||||
android:ellipsize="end"
|
||||
android:lineSpacingExtra="@dimen/dp_3"
|
||||
android:text=""
|
||||
android:background="@drawable/input_bg"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="@dimen/dp_5"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginBottom="@dimen/dp_5"
|
||||
android:orientation="horizontal">
|
||||
<com.dskj.rbchat.widget.CircleImageView
|
||||
android:layout_width="@dimen/dp_24"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:src="@color/common_list_custom_divider"
|
||||
app:es_shape_type="round"
|
||||
android:id="@+id/head_iv"/>
|
||||
<TextView
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="@dimen/dimen_24_dp"
|
||||
android:id="@+id/user_name_tv"
|
||||
android:layout_marginLeft="@dimen/dp_5"
|
||||
android:layout_marginRight="@dimen/dp_5"
|
||||
android:lines="1"
|
||||
android:background="@drawable/input_bg"
|
||||
android:singleLine="true"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
</LinearLayout>
|
||||
68
app/src/main/res/layout/explore_default_item.xml
Normal file
68
app/src/main/res/layout/explore_default_item.xml
Normal file
@@ -0,0 +1,68 @@
|
||||
<?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"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="120dp"
|
||||
android:id="@+id/big_bg"
|
||||
android:gravity="center_vertical"
|
||||
android:background="@color/transparent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.dskj.rbchat.widget.CircleImageView
|
||||
android:id="@+id/dongtai_portrait"
|
||||
android:layout_width="@dimen/dp_100"
|
||||
android:layout_height="@dimen/dp_100"
|
||||
android:layout_marginLeft="16dp"
|
||||
app:es_shape_type="rectangle"
|
||||
app:ease_radius="@dimen/dp_10"
|
||||
android:src="@color/common_list_custom_divider" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_92"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_marginTop="@dimen/dp_4"
|
||||
android:layout_marginBottom="@dimen/dp_4"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/dongtai_nickname"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_25"
|
||||
android:background="@drawable/input_bg"
|
||||
android:ellipsize="end"
|
||||
android:maxWidth="200dp"
|
||||
android:singleLine="true"
|
||||
android:text=""
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/dongtai_tv_time"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_20"
|
||||
android:layout_below="@id/dongtai_nickname"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:text=""
|
||||
android:background="@drawable/input_bg"
|
||||
|
||||
android:textSize="@dimen/sp_12" />
|
||||
<TextView
|
||||
android:id="@+id/dongtai_tv_time1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_20"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:text=""
|
||||
android:background="@drawable/input_bg"
|
||||
android:textSize="@dimen/sp_12" />
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
39
app/src/main/res/layout/follow_child_item.xml
Normal file
39
app/src/main/res/layout/follow_child_item.xml
Normal file
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_65"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:gravity="center_vertical"
|
||||
android:id="@+id/big_ly"
|
||||
android:orientation="horizontal"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/logo_iv"
|
||||
android:layout_width="@dimen/dp_45"
|
||||
android:layout_height="@dimen/dp_45"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_centerInParent="true"
|
||||
android:background="@mipmap/default_head_img"
|
||||
app:avatarCorner="@dimen/dp_23" />
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_45"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:id="@+id/item_title_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:text="Sandy Kwong Lai Ying"
|
||||
android:layout_weight="1"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
132
app/src/main/res/layout/follow_child_item1.xml
Normal file
132
app/src/main/res/layout/follow_child_item1.xml
Normal file
@@ -0,0 +1,132 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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:id="@+id/big_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_65"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/logo_iv"
|
||||
android:layout_width="@dimen/dp_45"
|
||||
android:layout_height="@dimen/dp_45"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@mipmap/default_head_img"
|
||||
app:avatarCorner="@dimen/dp_23" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/mid_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_45"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_toRightOf="@id/logo_iv"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_name"
|
||||
android:layout_width="@dimen/dp_180"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/item_title_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_16" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/item_title_alias"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:ellipsize="middle"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_16"
|
||||
android:visibility="gone" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/item_chatdraft_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:ellipsize="end"
|
||||
android:gravity="bottom"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/draftTv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/dimen_4_dp"
|
||||
android:text="@string/conversation_draft_tip"
|
||||
android:textColor="@color/color_ff4e54"
|
||||
android:textSize="@dimen/text_size_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/item_chatdraft_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:ellipsize="end"
|
||||
android:gravity="bottom"
|
||||
android:singleLine="true"
|
||||
android:textColor="#ff7f7b81"
|
||||
android:textSize="14sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/item_msg_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:ellipsize="end"
|
||||
android:gravity="bottom"
|
||||
android:singleLine="true"
|
||||
android:text="@string/nmhmylg_txt"
|
||||
android:textColor="#ff7f7b81"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/item_time_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_gravity="top"
|
||||
android:layout_marginTop="@dimen/dp_12"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:textColor="#ff7f7b81"
|
||||
android:textSize="12sp"
|
||||
android:visibility="visible" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/unreadTv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@id/mid_ly"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@drawable/bg_conversation_red_dot"
|
||||
android:gravity="center"
|
||||
android:paddingStart="@dimen/dimen_5_dp"
|
||||
android:paddingEnd="@dimen/dimen_5_dp"
|
||||
android:textColor="@color/color_white"
|
||||
android:textSize="@dimen/text_size_12"
|
||||
android:visibility="gone" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
140
app/src/main/res/layout/follow_child_item2.xml
Normal file
140
app/src/main/res/layout/follow_child_item2.xml
Normal file
@@ -0,0 +1,140 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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:id="@+id/big_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="76dp"
|
||||
android:background="@drawable/fun_conversation_view_holder_selector"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/logo_iv"
|
||||
android:layout_width="@dimen/dp_45"
|
||||
android:layout_height="@dimen/dp_45"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:background="@mipmap/default_head_img"
|
||||
app:avatarCorner="@dimen/dp_23" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/mid_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_45"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:layout_toRightOf="@id/logo_iv"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_name"
|
||||
android:layout_width="@dimen/dp_180"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/item_title_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_16" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/item_title_alias"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:ellipsize="middle"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_16"
|
||||
android:visibility="gone" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/item_chatdraft_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:ellipsize="end"
|
||||
android:gravity="bottom"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/draftTv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/dimen_4_dp"
|
||||
android:text="@string/conversation_draft_tip"
|
||||
android:textColor="@color/color_ff4e54"
|
||||
android:textSize="@dimen/text_size_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/item_chatdraft_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:ellipsize="end"
|
||||
android:gravity="bottom"
|
||||
android:singleLine="true"
|
||||
android:textColor="#ff7f7b81"
|
||||
android:textSize="14sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/item_msg_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:ellipsize="end"
|
||||
android:gravity="bottom"
|
||||
android:singleLine="true"
|
||||
android:text="@string/nmhmylg_txt"
|
||||
android:textColor="#ff7f7b81"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/item_time_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_gravity="top"
|
||||
android:layout_marginTop="@dimen/dp_12"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:text="周四 23:16"
|
||||
android:textColor="#ff7f7b81"
|
||||
android:textSize="12sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/unreadTv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@id/mid_ly"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@drawable/bg_conversation_red_dot"
|
||||
android:gravity="center"
|
||||
android:paddingStart="@dimen/dimen_5_dp"
|
||||
android:paddingEnd="@dimen/dimen_5_dp"
|
||||
android:textColor="@color/color_white"
|
||||
android:textSize="@dimen/text_size_12"
|
||||
android:visibility="gone" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:background="#EDE3E3" />
|
||||
</RelativeLayout>
|
||||
363
app/src/main/res/layout/fragment_chat.xml
Normal file
363
app/src/main/res/layout/fragment_chat.xml
Normal file
@@ -0,0 +1,363 @@
|
||||
<?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"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@android:color/white"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/card_view"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:background="@mipmap/chat_bg_index"
|
||||
app:layout_constraintDimensionRatio="375:146"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<com.dskj.rbchat.widget.StatusLayout
|
||||
android:id="@+id/sss"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_chatfm_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_15"
|
||||
android:text="@string/chat_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_20"
|
||||
android:visibility="invisible"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/sss" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_chatfm_setting"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/dp_30"
|
||||
android:src="@mipmap/ic_chat_list"
|
||||
app:layout_constraintRight_toLeftOf="@+id/iv_chatfm_add"
|
||||
app:layout_constraintTop_toTopOf="@+id/iv_chatfm_add" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_chatfm_add"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/dp_30"
|
||||
android:src="@mipmap/ic_chat_add"
|
||||
app:layout_constraintRight_toLeftOf="@+id/iv_chatfm_friend"
|
||||
app:layout_constraintTop_toTopOf="@+id/iv_chatfm_contact" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_chatfm_friend"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/dp_30"
|
||||
android:src="@mipmap/ic_chat_friend"
|
||||
app:layout_constraintRight_toLeftOf="@+id/iv_chatfm_contact"
|
||||
app:layout_constraintTop_toTopOf="@+id/iv_chatfm_contact" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_chatfm_contact"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_18"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:src="@mipmap/ic_chat_contact"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/sss" />
|
||||
|
||||
<View
|
||||
android:id="@+id/view_settingclick"
|
||||
android:layout_width="@dimen/dp_50"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
app:layout_constraintRight_toLeftOf="@+id/view_addclick"
|
||||
app:layout_constraintTop_toBottomOf="@id/sss" />
|
||||
|
||||
|
||||
<View
|
||||
android:id="@+id/view_addclick"
|
||||
android:layout_width="@dimen/dp_50"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
app:layout_constraintLeft_toRightOf="@+id/iv_chatfm_setting"
|
||||
app:layout_constraintTop_toBottomOf="@id/sss" />
|
||||
|
||||
|
||||
<View
|
||||
android:id="@+id/view_friendgclick"
|
||||
android:layout_width="@dimen/dp_50"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
app:layout_constraintLeft_toRightOf="@+id/iv_chatfm_add"
|
||||
app:layout_constraintTop_toBottomOf="@id/sss" />
|
||||
|
||||
<View
|
||||
android:id="@+id/view_contactclick"
|
||||
android:layout_width="@dimen/dp_0"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
app:layout_constraintLeft_toRightOf="@+id/iv_chatfm_friend"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/sss" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_88"
|
||||
android:paddingRight="@dimen/dp_15"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<include
|
||||
android:id="@+id/layout_chatfm_common_search"
|
||||
layout="@layout/layout_common_search"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/tv_chatfm_title"
|
||||
app:layout_constraintRight_toRightOf="@+id/iv_chatfm_contact"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_chatfm_title" />
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="bottom"
|
||||
android:background="@android:color/white">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/layout_chatfm_all"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:onClick="chatClick"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="parent">
|
||||
|
||||
<View
|
||||
android:id="@+id/view_chatfm_allpoint"
|
||||
android:layout_width="@dimen/dp_8"
|
||||
android:layout_height="@dimen/dp_8"
|
||||
android:layout_marginLeft="-20dp"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:background="@drawable/point_chat_ff4e54"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintLeft_toRightOf="@+id/tv_chatfm_all"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_chatfm_all"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="@dimen/dp_4"
|
||||
android:gravity="center"
|
||||
android:text="@string/tableall_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_chatfm_allindicator"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/dp_2"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:background="@drawable/cornor_c9a3e6_2dp"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/tv_chatfm_all"
|
||||
app:layout_constraintRight_toRightOf="@+id/tv_chatfm_all"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_chatfm_all" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
<View android:layout_width="1dp"
|
||||
android:layout_height="@dimen/dp_20"
|
||||
android:layout_marginBottom="@dimen/dp_16"
|
||||
android:background="#EDE3E3"/>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/layout_chatfm_friends"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:onClick="chatClick"
|
||||
app:layout_constraintLeft_toRightOf="@+id/layout_chatfm_all"
|
||||
app:layout_constraintTop_toTopOf="@+id/layout_chatfm_all">
|
||||
|
||||
<View
|
||||
android:id="@+id/view_chatfm_frinedspoint"
|
||||
android:layout_width="@dimen/dp_8"
|
||||
android:layout_height="@dimen/dp_8"
|
||||
android:layout_marginLeft="-20dp"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:background="@drawable/point_chat_ff4e54"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintLeft_toRightOf="@+id/tv_chatfm_friends"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_chatfm_friends"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="@dimen/dp_4"
|
||||
android:gravity="center"
|
||||
android:text="@string/tablefriend_txt"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="@dimen/sp_16"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_chatfm_friendindicator"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/dp_2"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:background="@drawable/cornor_c9a3e6_2dp"
|
||||
android:visibility="invisible"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/tv_chatfm_friends"
|
||||
app:layout_constraintRight_toRightOf="@+id/tv_chatfm_friends"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_chatfm_friends" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
<View android:layout_width="1dp"
|
||||
android:layout_height="@dimen/dp_20"
|
||||
android:layout_marginBottom="@dimen/dp_16"
|
||||
android:background="#EDE3E3"/>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/layout_chatfm_group"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:onClick="chatClick"
|
||||
app:layout_constraintLeft_toRightOf="@+id/layout_chatfm_friends"
|
||||
app:layout_constraintTop_toTopOf="@+id/layout_chatfm_all">
|
||||
|
||||
<View
|
||||
android:id="@+id/view_chatfm_grouppoint"
|
||||
android:layout_width="@dimen/dp_8"
|
||||
android:layout_height="@dimen/dp_8"
|
||||
android:layout_marginLeft="-20dp"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:background="@drawable/point_chat_ff4e54"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintLeft_toRightOf="@+id/tv_chatfm_group"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_chatfm_group"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="@dimen/dp_4"
|
||||
android:gravity="center"
|
||||
android:text="@string/tableteam_txt"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="@dimen/sp_16"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_chatfm_groupindicator"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/dp_2"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:background="@drawable/cornor_c9a3e6_2dp"
|
||||
android:visibility="invisible"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/tv_chatfm_group"
|
||||
app:layout_constraintRight_toRightOf="@+id/tv_chatfm_group"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_chatfm_group" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<View android:layout_width="1dp"
|
||||
android:layout_height="@dimen/dp_20"
|
||||
android:layout_marginBottom="@dimen/dp_16"
|
||||
android:background="#EDE3E3"/>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/layout_chatfm_follow"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:onClick="chatClick"
|
||||
app:layout_constraintLeft_toRightOf="@+id/layout_chatfm_group"
|
||||
app:layout_constraintTop_toTopOf="@+id/layout_chatfm_all">
|
||||
|
||||
<View
|
||||
android:id="@+id/view_chatfm_follow"
|
||||
android:layout_width="@dimen/dp_8"
|
||||
android:layout_height="@dimen/dp_8"
|
||||
android:layout_marginLeft="-20dp"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:background="@drawable/point_chat_ff4e54"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintLeft_toRightOf="@+id/tv_chatfm_follow"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_chatfm_follow"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="@dimen/dp_4"
|
||||
android:gravity="center"
|
||||
android:text="@string/tebiezhuanzhu_txt"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="@dimen/sp_16"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_chatfm_followindicator"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/dp_2"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:background="@drawable/cornor_c9a3e6_2dp"
|
||||
android:visibility="invisible"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/tv_chatfm_follow"
|
||||
app:layout_constraintRight_toRightOf="@+id/tv_chatfm_follow"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_chatfm_follow" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:background="#EDE3E3"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/errorTv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/color_fceeee"
|
||||
android:gravity="center"
|
||||
android:paddingStart="@dimen/dimen_35_dp"
|
||||
android:paddingTop="@dimen/dimen_10_dp"
|
||||
android:paddingEnd="@dimen/dimen_5_dp"
|
||||
android:paddingBottom="@dimen/dimen_10_dp"
|
||||
android:text="@string/conversation_network_error_tip"
|
||||
android:textColor="@color/color_50_000000"
|
||||
android:textSize="14dp"
|
||||
android:visibility="gone"
|
||||
app:drawableStartCompat="@drawable/ic_error"
|
||||
app:layout_constraintTop_toBottomOf="@+id/layout_chatfm_all" />
|
||||
|
||||
|
||||
<androidx.viewpager2.widget.ViewPager2
|
||||
android:id="@+id/viewpager_fm_chat"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/errorTv" />
|
||||
</LinearLayout>
|
||||
155
app/src/main/res/layout/fragment_chatconversation.xml
Normal file
155
app/src/main/res/layout/fragment_chatconversation.xml
Normal file
@@ -0,0 +1,155 @@
|
||||
<?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"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#FFFBFB">
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_oneroot"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/layout_mycreate"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/layout_conversationtitle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_myteam"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/myteam_create_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_myteamnumber"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/tv_myteam"
|
||||
app:layout_constraintStart_toEndOf="@+id/tv_myteam"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_myteamspull"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="@dimen/dp_3"
|
||||
android:paddingStart="@dimen/dp_15"
|
||||
android:paddingEnd="@dimen/dp_15"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableEndCompat="@mipmap/ic_indexfm_down"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/tv_myteam" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<com.netease.yunxin.kit.conversationkit.ui.view.ConversationView
|
||||
android:id="@+id/conversationView_top"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toBottomOf="@+id/layout_conversationtitle" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/layout_myjoin"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_myjointeam"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/myteam_join_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_myjointeamnumber"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_10"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/tv_myjointeam"
|
||||
app:layout_constraintStart_toEndOf="@+id/tv_myjointeam"
|
||||
app:layout_constraintTop_toTopOf="@+id/tv_myjointeam" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_myjointeamspull"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="@dimen/dp_3"
|
||||
android:paddingStart="@dimen/dp_15"
|
||||
android:paddingEnd="@dimen/dp_15"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableEndCompat="@mipmap/ic_indexfm_down"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/tv_myjointeam" />
|
||||
|
||||
<com.netease.yunxin.kit.conversationkit.ui.view.ConversationView
|
||||
android:id="@+id/conversationView_bottom"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_myjointeam" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/emptyLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_188_dp"
|
||||
android:layout_marginTop="@dimen/dimen_150_dp"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:src="@drawable/fun_ic_conversation_empty" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/empty_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:text="@string/conversation_empty_tip" />
|
||||
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
</FrameLayout>
|
||||
21
app/src/main/res/layout/fragment_chatfriend.xml
Normal file
21
app/src/main/res/layout/fragment_chatfriend.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?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:id="@+id/layoutfriends_fragment_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<com.netease.yunxin.kit.contactkit.ui.view.ContactListView
|
||||
android:id="@+id/contactgroups"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginBottom="@dimen/dp_20"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="parent"
|
||||
app:showIndexBar="true"
|
||||
app:showSelector="false"
|
||||
app:showTopPin="true" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
38
app/src/main/res/layout/fragment_chatgroup.xml
Normal file
38
app/src/main/res/layout/fragment_chatgroup.xml
Normal file
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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">
|
||||
|
||||
<com.netease.yunxin.kit.contactkit.ui.view.ContactListView
|
||||
android:id="@+id/contact_listView_group"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_10" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/empty_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_188_dp"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone"
|
||||
android:layout_centerInParent="true">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dimen_118_dp"
|
||||
android:layout_height="@dimen/dimen_96_dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:src="@drawable/fun_ic_contact_empty" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/empty_tv"
|
||||
android:layout_width="@dimen/dimen_118_dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:gravity="center"
|
||||
android:text="@string/selector_group_empty" />
|
||||
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
109
app/src/main/res/layout/fragment_circle.xml
Normal file
109
app/src/main/res/layout/fragment_circle.xml
Normal file
@@ -0,0 +1,109 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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:id="@+id/big_ry"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
android:orientation="vertical"
|
||||
android:background="@color/color_f7f7f7"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<com.scwang.smart.refresh.layout.SmartRefreshLayout
|
||||
android:id="@+id/refreshLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="visible"
|
||||
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/recyclerview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/dp_5"
|
||||
android:layout_marginRight="@dimen/dp_5"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
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>
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:id="@+id/emtry_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/emtry_iv"
|
||||
android:layout_width="@dimen/dp_180"
|
||||
android:layout_height="@dimen/dp_180"
|
||||
android:layout_marginTop="@dimen/dp_150" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/emtry_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_18"
|
||||
android:text="努力加载中~"
|
||||
android:textColor="@color/color_bcbcbc"
|
||||
android:textSize="16sp" />
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_horizontal"
|
||||
android:visibility="gone"
|
||||
android:id="@+id/dingwei_ry"
|
||||
android:orientation="vertical">
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="164dp"
|
||||
android:src="@mipmap/dingwei_img"/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/kaiqiwzqx_txt"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="17sp"
|
||||
/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_horizontal"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:layout_marginTop="11dp"
|
||||
android:text="@string/kqqx_tips_txt"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
<TextView
|
||||
android:layout_width="136dp"
|
||||
android:layout_height="40dp"
|
||||
android:text="@string/now_open_loc_txt"
|
||||
android:id="@+id/now_open_tv"
|
||||
android:layout_marginTop="@dimen/dp_22"
|
||||
android:gravity="center"
|
||||
android:background="@drawable/logout_btn1"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
16
app/src/main/res/layout/fragment_circle_pic.xml
Normal file
16
app/src/main/res/layout/fragment_circle_pic.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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:foreground="?android:attr/selectableItemBackground"
|
||||
android:orientation="vertical"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@mipmap/default_head_img"
|
||||
android:scaleType="centerInside"
|
||||
android:id="@+id/pic_iv"/>
|
||||
</RelativeLayout>
|
||||
208
app/src/main/res/layout/fragment_comment.xml
Normal file
208
app/src/main/res/layout/fragment_comment.xml
Normal file
@@ -0,0 +1,208 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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:id="@+id/big_ry"
|
||||
android:orientation="vertical"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<com.scwang.smart.refresh.layout.SmartRefreshLayout
|
||||
android:id="@+id/refreshLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:visibility="gone"
|
||||
android:layout_marginBottom="@dimen/dp_95"
|
||||
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/recyclerview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:overScrollMode="never" />
|
||||
|
||||
|
||||
</com.scwang.smart.refresh.layout.SmartRefreshLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center"
|
||||
android:id="@+id/nodianzan_ly"
|
||||
android:layout_marginTop="@dimen/dp_110"
|
||||
android:layout_centerHorizontal="true">
|
||||
<ImageView
|
||||
android:id="@+id/nodianzan_iv"
|
||||
android:layout_width="@dimen/dp_140"
|
||||
android:layout_height="@dimen/dp_140"
|
||||
android:src="@mipmap/no_comment_img"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/zanwupinglun_txt"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_60"
|
||||
android:id="@+id/huifu_ry"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginBottom="@dimen/dp_35"
|
||||
android:background="@color/white"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:background="@drawable/input_bg"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:paddingLeft="@dimen/dp_10"
|
||||
android:paddingRight="@dimen/dp_40" />
|
||||
|
||||
<EditText
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/transparent"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:inputType="text"
|
||||
android:hint="@string/say_somthing_txt"
|
||||
android:textSize="@dimen/sp_14"
|
||||
android:paddingVertical="13dp"
|
||||
android:textColor="@color/color_333333"
|
||||
android:paddingLeft="@dimen/dp_10"
|
||||
android:paddingRight="@dimen/dp_40"
|
||||
android:imeOptions="actionSend"
|
||||
android:id="@+id/comment_et"/>
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dp_20"
|
||||
android:layout_height="@dimen/dp_20"
|
||||
android:layout_centerVertical="true"
|
||||
android:visibility="gone"
|
||||
android:layout_alignRight="@id/comment_et"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:src="@mipmap/emj_img"/>
|
||||
</RelativeLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_259"
|
||||
android:layout_marginBottom="@dimen/dp_30"
|
||||
android:id="@+id/float_ly"
|
||||
android:visibility="gone"
|
||||
android:orientation="vertical"
|
||||
android:layout_alignParentBottom="true">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginBottom="@dimen/dp_m_2"
|
||||
android:background="@drawable/shape_dialog_bg22"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:id="@+id/action_tv"
|
||||
android:ellipsize="end"
|
||||
android:paddingRight="@dimen/dp_15"
|
||||
android:singleLine="true"
|
||||
android:text="终于不再是白鹿虞书欣赵露思王鹤棣丁禹兮张凌赫排列组合了…"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="@dimen/sp_10"
|
||||
/>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@color/color_f4f4f4"/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:id="@+id/huifud_tv"
|
||||
android:ellipsize="end"
|
||||
android:paddingRight="@dimen/dp_15"
|
||||
android:singleLine="true"
|
||||
android:text="@string/huifu_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
/>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@color/color_f4f4f4"/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:id="@+id/copy_tv"
|
||||
android:ellipsize="end"
|
||||
android:paddingRight="@dimen/dp_15"
|
||||
android:singleLine="true"
|
||||
android:text="@string/fuzhi_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
/>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@color/color_f4f4f4"/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:id="@+id/delete_tv"
|
||||
android:ellipsize="end"
|
||||
android:paddingRight="@dimen/dp_15"
|
||||
android:singleLine="true"
|
||||
android:text="@string/delete_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
/>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="5dp"
|
||||
android:background="@color/color_f4f4f4"/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_44"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:id="@+id/cancel_tv"
|
||||
android:ellipsize="end"
|
||||
android:paddingRight="@dimen/dp_15"
|
||||
android:singleLine="true"
|
||||
android:text="@string/cancel_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
49
app/src/main/res/layout/fragment_followlist.xml
Normal file
49
app/src/main/res/layout/fragment_followlist.xml
Normal file
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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">
|
||||
|
||||
<com.scwang.smart.refresh.layout.SmartRefreshLayout
|
||||
android:id="@+id/refreshLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#FFFBFB"
|
||||
android:visibility="visible"
|
||||
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/contact_listView_group"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
</com.scwang.smart.refresh.layout.SmartRefreshLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/empty_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_188_dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:src="@drawable/fun_ic_conversation_empty" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/empty_tv"
|
||||
android:layout_width="@dimen/dimen_118_dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:gravity="center"
|
||||
android:text="@string/zanwutebieguanzhu_txt" />
|
||||
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
681
app/src/main/res/layout/fragment_home_new.xml
Normal file
681
app/src/main/res/layout/fragment_home_new.xml
Normal file
@@ -0,0 +1,681 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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:fitsSystemWindows="false">
|
||||
|
||||
<com.scwang.smart.refresh.layout.SmartRefreshLayout
|
||||
android:id="@+id/refreshLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#8f4feb"
|
||||
android:fitsSystemWindows="false"
|
||||
android:visibility="visible"
|
||||
app:srlAccentColor="@color/white">
|
||||
|
||||
<com.dskj.rbchat.widget.BezierCircleHeader
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#FDF6F6">
|
||||
|
||||
<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="vertical">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/cl_root"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
tools:context=".main.mine.MineInfoActivity">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/card_view"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:background="@mipmap/ic_home_top_bg"
|
||||
app:layout_constraintDimensionRatio="376:276"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintDimensionRatio="376:323"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@drawable/index_user_bg"
|
||||
android:orientation="vertical"
|
||||
app:cardCornerRadius="@dimen/dp_10"
|
||||
app:cardElevation="0dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintDimensionRatio="348:116"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/index_user_bg"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/user_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_7"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/av_indexfra_head"
|
||||
android:layout_width="@dimen/dp_36"
|
||||
android:layout_height="@dimen/dp_36"
|
||||
android:layout_marginLeft="@dimen/dp_11"
|
||||
android:src="@mipmap/default_head_img"
|
||||
app:es_shape_type="round" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/user_name_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_weight="1"
|
||||
android:textColor="#383838"
|
||||
android:textSize="18sp"
|
||||
tools:text="1111" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/to_chuzhi_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:background="@mipmap/index_top_bg"
|
||||
android:gravity="center"
|
||||
android:text="@string/quchuzhi_txt"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_30"
|
||||
android:layout_marginTop="@dimen/dp_6"
|
||||
android:background="#FFE29E"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/jinbi_tv1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableLeft="@mipmap/index_dianshu_img"
|
||||
android:drawableRight="@mipmap/index_wallet_next_img"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:text="@string/cash_dianshu_txt"
|
||||
android:textColor="#ff525252"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="@dimen/dp_1"
|
||||
android:layout_height="@dimen/dp_20"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:background="#49B78C8C" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/yinbi_tv1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableLeft="@mipmap/index_lipinjifen_img"
|
||||
android:drawableRight="@mipmap/index_wallet_next_img"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:text="@string/silver_coins_txt"
|
||||
android:textColor="#ff525252"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="@dimen/dp_1"
|
||||
android:layout_height="@dimen/dp_20"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:background="#49B78C8C" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/tongbi_tv1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableLeft="@mipmap/index_lijin_img"
|
||||
android:drawableRight="@mipmap/index_wallet_next_img"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:text="@string/lijin_txt"
|
||||
android:textColor="#ff525252"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/jinbi_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:autoSizeMaxTextSize="21sp"
|
||||
android:autoSizeMinTextSize="16sp"
|
||||
android:autoSizeTextType="uniform"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center"
|
||||
android:lines="1"
|
||||
android:textColor="#FA6947"
|
||||
android:textStyle="bold"
|
||||
tools:text="8888" />
|
||||
|
||||
<View
|
||||
android:layout_width="@dimen/dp_1"
|
||||
android:layout_height="@dimen/dp_20"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:background="#49B78C8C" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/yinbi_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:autoSizeMaxTextSize="21sp"
|
||||
android:autoSizeMinTextSize="16sp"
|
||||
android:autoSizeTextType="uniform"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center"
|
||||
android:lines="1"
|
||||
android:textColor="#FA6947"
|
||||
android:textStyle="bold"
|
||||
tools:text="8888" />
|
||||
|
||||
<View
|
||||
android:layout_width="@dimen/dp_1"
|
||||
android:layout_height="@dimen/dp_20"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:background="#49B78C8C"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tongbi_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:autoSizeMaxTextSize="21sp"
|
||||
android:autoSizeMinTextSize="16sp"
|
||||
android:autoSizeTextType="uniform"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center"
|
||||
android:lines="1"
|
||||
android:textColor="#FA6947"
|
||||
android:textStyle="bold"
|
||||
android:visibility="gone"
|
||||
tools:text="8888" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_indexfm_topright1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_115"
|
||||
android:layout_marginBottom="@dimen/dp_10"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/saoyisao_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:drawableTop="@mipmap/index_saoyisao_img"
|
||||
android:gravity="center"
|
||||
android:text="@string/saoyisao_txt"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/shoukuan_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:drawableTop="@mipmap/index_fukuanma_img1"
|
||||
android:gravity="center"
|
||||
android:text="@string/wdewm_txt"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/zaixiankefu_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:drawableTop="@mipmap/index_kefu_img"
|
||||
android:gravity="center"
|
||||
android:text="@string/zaixiankefu_txt"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/iv_indexfm_notifytop"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:drawableTop="@mipmap/index_tongzhi_img"
|
||||
android:gravity="center"
|
||||
android:text="@string/tongzhixiaoxi_txt"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/view_chatfm_frinedspoint"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="16dp"
|
||||
android:layout_alignRight="@id/iv_indexfm_notifytop"
|
||||
android:background="@drawable/point_chat_ff4e54"
|
||||
android:gravity="center"
|
||||
android:minWidth="@dimen/dp_16"
|
||||
android:paddingLeft="@dimen/dp_5"
|
||||
android:paddingRight="@dimen/dp_5"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="12sp"
|
||||
android:visibility="gone" />
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_12"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/hezuoshangjia_tv"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginLeft="@dimen/dimen_14_dp"
|
||||
android:layout_marginRight="@dimen/dp_6"
|
||||
android:background="@mipmap/taoleting_bg2"
|
||||
android:orientation="vertical"
|
||||
app:cardCornerRadius="10dp"
|
||||
app:cardElevation="@dimen/dp_0"
|
||||
app:layout_constraintDimensionRatio="639:414"
|
||||
app:layout_constraintEnd_toStartOf="@+id/fukuan_tv"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@mipmap/taoleting_bg2"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="11dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:text="@string/hezuoshangjia_txt"
|
||||
android:textColor="#FFF5F5"
|
||||
android:textSize="15sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="11dp"
|
||||
android:layout_marginTop="35dp"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:text="@string/hezuoshangjia_txt1"
|
||||
android:textColor="#FDE8DC"
|
||||
android:textSize="13sp" />
|
||||
</RelativeLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/fukuan_tv"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginLeft="@dimen/dp_6"
|
||||
android:layout_marginRight="@dimen/dimen_14_dp"
|
||||
android:background="@mipmap/taoleting_bg1"
|
||||
android:orientation="vertical"
|
||||
app:cardCornerRadius="10dp"
|
||||
app:cardElevation="@dimen/dp_0"
|
||||
app:layout_constraintDimensionRatio="639:414"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/hezuoshangjia_tv"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@mipmap/taoleting_bg1"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="11dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:text="@string/jifenduihuan_txt1"
|
||||
android:textColor="#FFF5F5"
|
||||
android:textSize="15sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="11dp"
|
||||
android:layout_marginTop="35dp"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:text="@string/haolitiantianling_txt"
|
||||
android:textColor="#FDE8DC"
|
||||
android:textSize="13sp" />
|
||||
</RelativeLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dimen_14_dp"
|
||||
android:layout_marginTop="@dimen/dp_12"
|
||||
android:layout_marginRight="@dimen/dimen_14_dp"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/wawaji_ly"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
app:cardCornerRadius="10dp"
|
||||
app:cardElevation="@dimen/dp_0"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintDimensionRatio="1053:303"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@mipmap/taoleting_bg"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="11dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:text="@string/taoleting_txt1"
|
||||
android:textColor="#FFF5F5"
|
||||
android:textSize="15sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="11dp"
|
||||
android:layout_marginTop="35dp"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:text="@string/zhuaqutongzhenkuaile_txt"
|
||||
android:textColor="#FDE8DC"
|
||||
android:textSize="13sp" />
|
||||
</RelativeLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_11"
|
||||
android:background="@color/white"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="@dimen/dimen_6_dp"
|
||||
android:paddingTop="10dp"
|
||||
android:paddingRight="@dimen/dimen_6_dp"
|
||||
android:paddingBottom="100dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_8"
|
||||
android:text="@string/gengduohuodong_txt"
|
||||
android:textColor="#ff525252"
|
||||
android:textSize="15sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_4"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_margin="@dimen/dp_8"
|
||||
android:orientation="vertical"
|
||||
app:cardBackgroundColor="@color/white"
|
||||
app:cardCornerRadius="@dimen/dp_10"
|
||||
app:cardElevation="@dimen/dp_0"
|
||||
app:layout_constraintDimensionRatio="345:160"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<com.youth.banner.Banner
|
||||
android:id="@+id/banner"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="visible"
|
||||
app:indicator_drawable_selected="@drawable/dot_btn_true"
|
||||
app:indicator_drawable_unselected="@drawable/dot_btn_false"
|
||||
app:indicator_height="6dp"
|
||||
app:indicator_width="6dp" />
|
||||
</androidx.cardview.widget.CardView>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
tools:context=".main.mine.MineInfoActivity">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:background="@mipmap/top_new_title"
|
||||
android:gravity="bottom"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintDimensionRatio="1125:264"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/tv_chatfm_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:scaleType="fitStart"
|
||||
android:src="@mipmap/ic_home_top"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_userrank"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@android:color/white"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:textSize="@dimen/sp_12" />
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</com.scwang.smart.refresh.layout.SmartRefreshLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_113"
|
||||
android:layout_alignParentBottom="true"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/robit_ry"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:background="@mipmap/robit_bg"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintDimensionRatio="1125:197"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_128"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:text="@string/ainame_txt"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginLeft="@dimen/dp_128"
|
||||
android:layout_marginBottom="@dimen/dp_8"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:text="@string/xiaomeng_des_tv"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="13sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/layout_indexfm_aichat"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="24dp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginTop="@dimen/dp_6"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:background="@drawable/logout_btn2_index"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="@dimen/dp_12"
|
||||
android:paddingRight="@dimen/dp_12"
|
||||
android:text="@string/quqiuzhu_txt"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="14sp" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/recordLottieView"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@drawable/kefu_loading"
|
||||
android:visibility="visible"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
400
app/src/main/res/layout/fragment_index.xml
Normal file
400
app/src/main/res/layout/fragment_index.xml
Normal file
@@ -0,0 +1,400 @@
|
||||
<?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="@android:color/white">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_indexfm_topright"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/av_indexfra_head"
|
||||
android:layout_width="37dp"
|
||||
android:layout_height="@dimen/dp_32"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/layout_indexfm_topright" />
|
||||
<include
|
||||
android:id="@+id/layout_indexfm_search"
|
||||
layout="@layout/layout_common_search"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="@dimen/dp_32"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/tv_indexfra_nick"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/av_indexfra_head" />
|
||||
|
||||
|
||||
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_indexfm_notifytop"
|
||||
android:layout_width="@dimen/dp_20"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@mipmap/ic_index_notify"
|
||||
app:layout_constraintRight_toLeftOf="@+id/iv_indexfm_addfriendtop"
|
||||
app:layout_constraintTop_toTopOf="@+id/iv_indexfm_settingtop" />
|
||||
<View
|
||||
android:id="@+id/view_chatfm_frinedspoint"
|
||||
android:layout_width="@dimen/dp_8"
|
||||
android:layout_height="@dimen/dp_8"
|
||||
android:layout_marginBottom="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_6"
|
||||
android:layout_marginLeft="-8dp"
|
||||
android:visibility="gone"
|
||||
android:background="@drawable/point_chat_ff4e54"
|
||||
/>
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_indexfm_addfriendtop"
|
||||
android:layout_width="@dimen/dp_20"
|
||||
android:layout_marginLeft="@dimen/dp_25"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="visible"
|
||||
android:src="@mipmap/ic_index_addfriends"
|
||||
app:layout_constraintRight_toLeftOf="@+id/iv_indexfm_settingtop"
|
||||
app:layout_constraintTop_toTopOf="@+id/iv_indexfm_settingtop" />
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_indexfm_settingtop"
|
||||
android:layout_width="@dimen/dp_20"
|
||||
android:visibility="gone"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@mipmap/ic_index_setting"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_indexfm_topright1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dimen_20_dp"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/layout_indexfm_topright"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/layout_indexfm_topright">
|
||||
<TextView
|
||||
android:id="@+id/saoyisao_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:text="@string/saoyisao_txt"
|
||||
android:drawablePadding="@dimen/dp_10"
|
||||
android:drawableTop="@mipmap/index_saoyisao_img"
|
||||
android:textSize="@dimen/sp_14"
|
||||
android:textColor="@color/color_333333"/>
|
||||
<TextView
|
||||
android:id="@+id/zhuanzhang_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:text="@string/zhuanzhang_title_txt"
|
||||
android:drawablePadding="@dimen/dp_10"
|
||||
android:drawableTop="@mipmap/index_zhuanzhang_img"
|
||||
android:textSize="@dimen/sp_14"
|
||||
android:textColor="@color/color_333333"/>
|
||||
<TextView
|
||||
android:id="@+id/fukuan_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:text="@string/fukuanma_txt"
|
||||
android:drawablePadding="@dimen/dp_10"
|
||||
android:drawableTop="@mipmap/index_fukuanma_img"
|
||||
android:textSize="@dimen/sp_14"
|
||||
android:textColor="@color/color_333333"/>
|
||||
<TextView
|
||||
android:id="@+id/shoukuan_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:text="@string/shoukuanma_txt"
|
||||
android:drawablePadding="@dimen/dp_10"
|
||||
android:drawableTop="@mipmap/index_shoukuanma_img"
|
||||
android:textSize="@dimen/sp_14"
|
||||
android:textColor="@color/color_333333"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:id="@+id/line1"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
app:layout_constraintTop_toBottomOf="@+id/layout_indexfm_topright1"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
android:background="#EDEDED"/>
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:scrollbars="none"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/line1"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/line1">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_indexfm_aichat"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/aichat_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/layout_indexfm_aichat"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginBottom="@dimen/dp_10"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_indexfm_aichat">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/iv_indexfm_aihead"
|
||||
android:layout_width="@dimen/dp_45"
|
||||
android:layout_height="@dimen/dp_45"
|
||||
app:avatarCorner="@dimen/dp_45" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_toEndOf="@+id/iv_indexfm_aihead"
|
||||
android:text="@string/ainame_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@+id/iv_indexfm_aihead"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_toEndOf="@+id/iv_indexfm_aihead"
|
||||
android:text="@string/aihint_txt"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
android:id="@+id/tebieguanzhu_ly"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/layout_indexfm_aichat"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:id="@+id/tv_indexfm_tbgztitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/tebiezhuanzhu_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/layout_indexfm_aichat" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_indexfm_tbgzpull"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="@dimen/dp_3"
|
||||
android:paddingStart="@dimen/dp_15"
|
||||
android:paddingEnd="@dimen/dp_15"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableEndCompat="@mipmap/ic_indexfm_up"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/tv_indexfm_friendstitle"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/tv_indexfm_friendstitle" />
|
||||
</LinearLayout>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/contacttbgz"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_indexfm_tbgztitle"
|
||||
app:showIndexBar="false"
|
||||
app:showSelector="false"
|
||||
app:showTopPin="false" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_indexfm_friendstitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/haoyou_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tebieguanzhu_ly" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_indexfm_friendspull"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="@dimen/dp_3"
|
||||
android:paddingStart="@dimen/dp_15"
|
||||
android:paddingEnd="@dimen/dp_15"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableEndCompat="@mipmap/ic_indexfm_up"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/tv_indexfm_friendstitle"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/tv_indexfm_friendstitle" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/layout_indexfm_addfriends"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginBottom="@dimen/dp_10"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_indexfm_friendstitle">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_indexfm_addfriends"
|
||||
android:layout_width="@dimen/dp_45"
|
||||
android:layout_height="@dimen/dp_45"
|
||||
app:srcCompat="@mipmap/ic_indexfm_addfriend" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_toEndOf="@+id/iv_indexfm_addfriends"
|
||||
android:text="@string/add_friend"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@+id/iv_indexfm_addfriends"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_toEndOf="@+id/iv_indexfm_addfriends"
|
||||
android:text="@string/addfrineds_hint_text"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
</RelativeLayout>
|
||||
|
||||
<com.netease.yunxin.kit.contactkit.ui.view.ContactListView
|
||||
android:id="@+id/contactfriends"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
app:layout_constraintTop_toBottomOf="@+id/layout_indexfm_addfriends"
|
||||
app:showIndexBar="false"
|
||||
app:showSelector="false"
|
||||
app:showTopPin="false" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_indexfm_grouptitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/group_text"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/contactfriends" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_indexfm_grouppull"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="@dimen/dp_3"
|
||||
android:paddingStart="@dimen/dp_15"
|
||||
android:paddingEnd="@dimen/dp_15"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableEndCompat="@mipmap/ic_indexfm_up"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/tv_indexfm_grouptitle"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/tv_indexfm_grouptitle" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/layout_indexfm_addgroup"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_indexfm_grouptitle">
|
||||
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_indexfm_addgroup"
|
||||
android:layout_width="@dimen/dp_45"
|
||||
android:layout_height="@dimen/dp_45"
|
||||
app:srcCompat="@mipmap/ic_indexfm_addgroup" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_toEndOf="@+id/iv_indexfm_addgroup"
|
||||
android:text="@string/creategroup_text"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@+id/iv_indexfm_addgroup"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_toEndOf="@+id/iv_indexfm_addgroup"
|
||||
android:text="@string/creategroup_hint_text"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
</RelativeLayout>
|
||||
|
||||
<com.netease.yunxin.kit.contactkit.ui.view.ContactListView
|
||||
android:id="@+id/contactgroups"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginBottom="@dimen/dp_20"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/layout_indexfm_addgroup"
|
||||
app:showIndexBar="false"
|
||||
app:showSelector="false"
|
||||
app:showTopPin="false" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
433
app/src/main/res/layout/fragment_index2.xml
Normal file
433
app/src/main/res/layout/fragment_index2.xml
Normal file
@@ -0,0 +1,433 @@
|
||||
<?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="@android:color/white">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_indexfm_topright"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/av_indexfra_head"
|
||||
android:layout_width="@dimen/dp_32"
|
||||
android:layout_height="@dimen/dp_32"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/layout_indexfm_topright" />
|
||||
|
||||
<include
|
||||
android:id="@+id/layout_indexfm_search"
|
||||
layout="@layout/layout_common_search1"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/dp_32"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:layout_weight="1"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/tv_indexfra_nick"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/av_indexfra_head" />
|
||||
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_indexfm_notifytop"
|
||||
android:layout_width="@dimen/dp_20"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@mipmap/ic_index_notify"
|
||||
android:tint="@color/white"
|
||||
app:layout_constraintRight_toLeftOf="@+id/iv_indexfm_addfriendtop"
|
||||
app:layout_constraintTop_toTopOf="@+id/iv_indexfm_settingtop" />
|
||||
|
||||
<View
|
||||
android:id="@+id/view_chatfm_frinedspoint"
|
||||
android:layout_width="@dimen/dp_8"
|
||||
android:layout_height="@dimen/dp_8"
|
||||
android:layout_marginLeft="-8dp"
|
||||
android:layout_marginTop="@dimen/dp_6"
|
||||
android:layout_marginBottom="@dimen/dp_15"
|
||||
android:background="@drawable/point_chat_ff4e54"
|
||||
android:visibility="gone" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_indexfm_addfriendtop"
|
||||
android:layout_width="@dimen/dp_20"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/dp_25"
|
||||
android:src="@mipmap/ic_index_addfriends"
|
||||
android:tint="@color/white"
|
||||
android:visibility="visible"
|
||||
app:layout_constraintRight_toLeftOf="@+id/iv_indexfm_settingtop"
|
||||
app:layout_constraintTop_toTopOf="@+id/iv_indexfm_settingtop" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_indexfm_settingtop"
|
||||
android:layout_width="@dimen/dp_20"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@mipmap/ic_index_setting"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_indexfm_topright1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dimen_20_dp"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/layout_indexfm_topright"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/layout_indexfm_topright">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/saoyisao_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:drawableTop="@mipmap/index_saoyisao_img"
|
||||
android:drawablePadding="@dimen/dp_10"
|
||||
android:gravity="center"
|
||||
android:text="@string/saoyisao_txt"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/zhuanzhang_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:drawableTop="@mipmap/wallet_taoleting_item_img1"
|
||||
android:drawablePadding="@dimen/dp_10"
|
||||
android:gravity="center"
|
||||
android:text="@string/taoleting_txt"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/fukuan_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:drawableTop="@mipmap/yinbi_shop_img1"
|
||||
android:drawablePadding="@dimen/dp_10"
|
||||
android:gravity="center"
|
||||
android:text="@string/jifenduihuan_txt"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/shoukuan_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:drawableTop="@mipmap/index_fukuanma_img1"
|
||||
android:drawablePadding="@dimen/dp_10"
|
||||
android:gravity="center"
|
||||
android:text="@string/wdewm_txt"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/line1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:background="@color/transparent"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/layout_indexfm_topright1" />
|
||||
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:background="@drawable/index_main_bg"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:paddingTop="@dimen/dp_10"
|
||||
android:paddingRight="@dimen/dp_15"
|
||||
android:scrollbars="none"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/line1"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/line1">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/wawaji_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:orientation="vertical"
|
||||
android:src="@mipmap/wallet_taoleting_img"
|
||||
app:layout_constraintDimensionRatio="345:80"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_indexfm_aichat"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/aichat_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/wawaji_ly" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/layout_indexfm_aichat"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginBottom="@dimen/dp_10"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_indexfm_aichat">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/iv_indexfm_aihead"
|
||||
android:layout_width="@dimen/dp_45"
|
||||
android:layout_height="@dimen/dp_45"
|
||||
app:avatarCorner="@dimen/dp_45" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_toEndOf="@+id/iv_indexfm_aihead"
|
||||
android:text="@string/ainame_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_indexfm_aicontent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@+id/iv_indexfm_aihead"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_toEndOf="@+id/iv_indexfm_aihead"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:text="@string/aihint_txt"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/tebieguanzhu_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/layout_indexfm_aichat">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_indexfm_tbgztitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/tebiezhuanzhu_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/layout_indexfm_aichat" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_indexfm_tbgzpull"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="@dimen/dp_3"
|
||||
android:paddingStart="@dimen/dp_15"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
android:visibility="gone"
|
||||
app:drawableEndCompat="@mipmap/ic_indexfm_down"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/tv_indexfm_friendstitle"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/tv_indexfm_friendstitle" />
|
||||
</LinearLayout>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/contacttbgz"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_indexfm_tbgztitle"
|
||||
app:showIndexBar="false"
|
||||
app:showSelector="false"
|
||||
app:showTopPin="false" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_indexfm_friendstitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/haoyou_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tebieguanzhu_ly" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_indexfm_friendspull"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="@dimen/dp_3"
|
||||
android:paddingStart="@dimen/dp_15"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
android:visibility="gone"
|
||||
app:drawableEndCompat="@mipmap/ic_indexfm_down"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/tv_indexfm_friendstitle"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/tv_indexfm_friendstitle" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/layout_indexfm_addfriends"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginBottom="@dimen/dp_10"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_indexfm_friendstitle">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_indexfm_addfriends"
|
||||
android:layout_width="@dimen/dp_45"
|
||||
android:layout_height="@dimen/dp_45"
|
||||
app:srcCompat="@mipmap/ic_indexfm_addfriend" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_toEndOf="@+id/iv_indexfm_addfriends"
|
||||
android:text="@string/add_friend"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@+id/iv_indexfm_addfriends"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_toEndOf="@+id/iv_indexfm_addfriends"
|
||||
android:text="@string/addfrineds_hint_text"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
</RelativeLayout>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/contactfriends"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
app:layout_constraintTop_toBottomOf="@+id/layout_indexfm_addfriends" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_indexfm_grouptitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/group_text"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/contactfriends" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_indexfm_grouppull"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="@dimen/dp_3"
|
||||
android:paddingStart="@dimen/dp_15"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
android:visibility="gone"
|
||||
app:drawableEndCompat="@mipmap/ic_indexfm_down"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/tv_indexfm_grouptitle"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/tv_indexfm_grouptitle" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/layout_indexfm_addgroup"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_indexfm_grouptitle">
|
||||
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_indexfm_addgroup"
|
||||
android:layout_width="@dimen/dp_45"
|
||||
android:layout_height="@dimen/dp_45"
|
||||
app:srcCompat="@mipmap/ic_indexfm_addgroup" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_toEndOf="@+id/iv_indexfm_addgroup"
|
||||
android:text="@string/creategroup_text"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@+id/iv_indexfm_addgroup"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_toEndOf="@+id/iv_indexfm_addgroup"
|
||||
android:text="@string/creategroup_hint_text"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/contactgroups"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginBottom="@dimen/dp_20"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/layout_indexfm_addgroup" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
462
app/src/main/res/layout/fragment_index2_bf.xml
Normal file
462
app/src/main/res/layout/fragment_index2_bf.xml
Normal file
@@ -0,0 +1,462 @@
|
||||
<?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_6b3689">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_indexfm_topright"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/av_indexfra_head"
|
||||
android:layout_width="@dimen/dp_32"
|
||||
android:layout_height="@dimen/dp_32"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/layout_indexfm_topright" />
|
||||
|
||||
<include
|
||||
android:id="@+id/layout_indexfm_search"
|
||||
layout="@layout/layout_common_search1"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/dp_32"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:layout_weight="1"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/tv_indexfra_nick"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/av_indexfra_head" />
|
||||
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_indexfm_notifytop"
|
||||
android:layout_width="@dimen/dp_20"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@mipmap/ic_index_notify"
|
||||
android:tint="@color/white"
|
||||
app:layout_constraintRight_toLeftOf="@+id/iv_indexfm_addfriendtop"
|
||||
app:layout_constraintTop_toTopOf="@+id/iv_indexfm_settingtop" />
|
||||
|
||||
<View
|
||||
android:id="@+id/view_chatfm_frinedspoint"
|
||||
android:layout_width="@dimen/dp_8"
|
||||
android:layout_height="@dimen/dp_8"
|
||||
android:layout_marginLeft="-8dp"
|
||||
android:layout_marginTop="@dimen/dp_6"
|
||||
android:layout_marginBottom="@dimen/dp_15"
|
||||
android:background="@drawable/point_chat_ff4e54"
|
||||
android:visibility="gone" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_indexfm_addfriendtop"
|
||||
android:layout_width="@dimen/dp_20"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/dp_25"
|
||||
android:src="@mipmap/ic_index_addfriends"
|
||||
android:tint="@color/white"
|
||||
android:visibility="visible"
|
||||
app:layout_constraintRight_toLeftOf="@+id/iv_indexfm_settingtop"
|
||||
app:layout_constraintTop_toTopOf="@+id/iv_indexfm_settingtop" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_indexfm_settingtop"
|
||||
android:layout_width="@dimen/dp_20"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@mipmap/ic_index_setting"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_indexfm_topright1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dimen_20_dp"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/layout_indexfm_topright"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/layout_indexfm_topright">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/saoyisao_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:drawableTop="@mipmap/index_saoyisao_img"
|
||||
android:drawablePadding="@dimen/dp_10"
|
||||
android:gravity="center"
|
||||
android:text="@string/saoyisao_txt"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/zhuanzhang_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:drawableTop="@mipmap/index_zhuanzhang_img"
|
||||
android:drawablePadding="@dimen/dp_10"
|
||||
android:gravity="center"
|
||||
android:text="@string/zhuanzhang_title_txt"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/fukuan_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:drawableTop="@mipmap/index_fukuanma_img"
|
||||
android:drawablePadding="@dimen/dp_10"
|
||||
android:gravity="center"
|
||||
android:text="@string/fukuanma_txt"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/shoukuan_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:drawableTop="@mipmap/index_shoukuanma_img"
|
||||
android:drawablePadding="@dimen/dp_10"
|
||||
android:gravity="center"
|
||||
android:text="@string/shoukuanma_txt"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/line1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:background="@color/transparent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/layout_indexfm_topright1" />
|
||||
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:background="@drawable/index_main_bg"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:paddingTop="@dimen/dp_20"
|
||||
android:paddingRight="@dimen/dp_15"
|
||||
android:scrollbars="none"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.0"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/line1"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/line1"
|
||||
app:layout_constraintVertical_bias="1.0">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/top_action_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/other_servie_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/taoleting_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginBottom="@dimen/dp_20"
|
||||
android:drawableTop="@mipmap/wallet_taoleting_item_img"
|
||||
android:drawablePadding="@dimen/dp_6"
|
||||
android:gravity="center"
|
||||
android:text="@string/taoleting_txt"
|
||||
android:textColor="@color/color_7e7b84"
|
||||
android:textSize="@dimen/sp_12" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/yinbi_shop_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_48"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginBottom="@dimen/dp_20"
|
||||
android:drawableTop="@mipmap/yinbi_shop_img"
|
||||
android:drawablePadding="@dimen/dp_6"
|
||||
android:gravity="center"
|
||||
android:text="@string/yinbi_shop_txt"
|
||||
|
||||
android:textColor="@color/color_7e7b84"
|
||||
android:textSize="@dimen/sp_12" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_indexfm_aichat"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/aichat_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/top_action_ly" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/layout_indexfm_aichat"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginBottom="@dimen/dp_10"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_indexfm_aichat">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/iv_indexfm_aihead"
|
||||
android:layout_width="@dimen/dp_45"
|
||||
android:layout_height="@dimen/dp_45"
|
||||
app:avatarCorner="@dimen/dp_45" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_toEndOf="@+id/iv_indexfm_aihead"
|
||||
android:text="@string/ainame_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_indexfm_aicontent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@+id/iv_indexfm_aihead"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_toEndOf="@+id/iv_indexfm_aihead"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:text="@string/aihint_txt"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/tebieguanzhu_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/layout_indexfm_aichat">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_indexfm_tbgztitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/tebiezhuanzhu_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/layout_indexfm_aichat" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_indexfm_tbgzpull"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="@dimen/dp_3"
|
||||
android:paddingStart="@dimen/dp_15"
|
||||
android:paddingEnd="@dimen/dp_15"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableEndCompat="@mipmap/ic_indexfm_down"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/tv_indexfm_friendstitle"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/tv_indexfm_friendstitle" />
|
||||
</LinearLayout>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/contacttbgz"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_indexfm_tbgztitle"
|
||||
app:showIndexBar="false"
|
||||
app:showSelector="false"
|
||||
app:showTopPin="false" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_indexfm_friendstitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/haoyou_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tebieguanzhu_ly" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_indexfm_friendspull"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="@dimen/dp_3"
|
||||
android:paddingStart="@dimen/dp_15"
|
||||
android:paddingEnd="@dimen/dp_15"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableEndCompat="@mipmap/ic_indexfm_down"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/tv_indexfm_friendstitle"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/tv_indexfm_friendstitle" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/layout_indexfm_addfriends"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginBottom="@dimen/dp_10"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_indexfm_friendstitle">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_indexfm_addfriends"
|
||||
android:layout_width="@dimen/dp_45"
|
||||
android:layout_height="@dimen/dp_45"
|
||||
app:srcCompat="@mipmap/ic_indexfm_addfriend" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_toEndOf="@+id/iv_indexfm_addfriends"
|
||||
android:text="@string/add_friend"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@+id/iv_indexfm_addfriends"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_toEndOf="@+id/iv_indexfm_addfriends"
|
||||
android:text="@string/addfrineds_hint_text"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
</RelativeLayout>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/contactfriends"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
app:layout_constraintTop_toBottomOf="@+id/layout_indexfm_addfriends" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_indexfm_grouptitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/group_text"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/contactfriends" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_indexfm_grouppull"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="@dimen/dp_3"
|
||||
android:paddingStart="@dimen/dp_15"
|
||||
android:paddingEnd="@dimen/dp_15"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableEndCompat="@mipmap/ic_indexfm_down"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/tv_indexfm_grouptitle"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/tv_indexfm_grouptitle" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/layout_indexfm_addgroup"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_indexfm_grouptitle">
|
||||
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_indexfm_addgroup"
|
||||
android:layout_width="@dimen/dp_45"
|
||||
android:layout_height="@dimen/dp_45"
|
||||
app:srcCompat="@mipmap/ic_indexfm_addgroup" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_toEndOf="@+id/iv_indexfm_addgroup"
|
||||
android:text="@string/creategroup_text"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@+id/iv_indexfm_addgroup"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_toEndOf="@+id/iv_indexfm_addgroup"
|
||||
android:text="@string/creategroup_hint_text"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/contactgroups"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginBottom="@dimen/dp_20"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/layout_indexfm_addgroup" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
62
app/src/main/res/layout/fragment_like.xml
Normal file
62
app/src/main/res/layout/fragment_like.xml
Normal file
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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:id="@+id/big_ry"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
android:orientation="vertical"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<com.scwang.smart.refresh.layout.SmartRefreshLayout
|
||||
android:id="@+id/refreshLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:visibility="gone"
|
||||
android:layout_marginBottom="@dimen/dp_40"
|
||||
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/recyclerview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:overScrollMode="never" />
|
||||
|
||||
<com.scwang.smart.refresh.footer.ClassicsFooter
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:srlAccentColor="@color/color_6b3689" />
|
||||
</com.scwang.smart.refresh.layout.SmartRefreshLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center"
|
||||
android:id="@+id/nodianzan_ly"
|
||||
android:layout_marginTop="@dimen/dp_110"
|
||||
android:layout_centerHorizontal="true">
|
||||
<ImageView
|
||||
android:id="@+id/nodianzan_iv"
|
||||
android:layout_width="@dimen/dp_140"
|
||||
android:layout_height="@dimen/dp_140"
|
||||
android:src="@mipmap/no_like_img"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/zanwudianzan_txt"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
460
app/src/main/res/layout/fragment_mine.xml
Normal file
460
app/src/main/res/layout/fragment_mine.xml
Normal file
@@ -0,0 +1,460 @@
|
||||
<?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:orientation="vertical">
|
||||
<com.dskj.rbchat.widget.StatusLayout
|
||||
android:layout_width="match_parent"
|
||||
android:background="@color/white"
|
||||
android:layout_height="wrap_content"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:background="@color/white"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_chatfm_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/mine_text"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_20" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#F4F4F4"
|
||||
android:scrollbars="none">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:background="@color/white"
|
||||
android:paddingTop="10dp"
|
||||
android:paddingBottom="@dimen/dp_10"
|
||||
tools:ignore="MissingConstraints">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/cavIcon"
|
||||
android:layout_width="@dimen/dp_48"
|
||||
android:layout_height="@dimen/dp_48"
|
||||
android:layout_marginStart="20dp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivRightArrow"
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="16dp"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:src="@drawable/ic_frame_mine_right_arrow"
|
||||
app:layout_constraintBottom_toBottomOf="@id/cavIcon"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/cavIcon" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/tvName"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/dp_48"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:background="@color/transparent"
|
||||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintEnd_toStartOf="@id/ivRightArrow"
|
||||
app:layout_constraintStart_toEndOf="@id/cavIcon"
|
||||
app:layout_constraintTop_toTopOf="@id/cavIcon"
|
||||
tools:ignore="SpUsage" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvAccount"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:gravity="start"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16dp"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintEnd_toStartOf="@id/ivRightArrow"
|
||||
app:layout_constraintStart_toEndOf="@id/cavIcon"
|
||||
app:layout_constraintTop_toBottomOf="@id/tvName"
|
||||
tools:ignore="SpUsage"
|
||||
tools:text="111111111111" />
|
||||
|
||||
<View
|
||||
android:id="@+id/userInfoClick"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintBottom_toBottomOf="@id/cavIcon"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/cavIcon"
|
||||
app:layout_constraintTop_toTopOf="@id/cavIcon" />
|
||||
|
||||
<View
|
||||
android:id="@+id/divideForBasic"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="6dp"
|
||||
android:layout_marginTop="47dp"
|
||||
android:background="@color/color_eff1f4"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/cavIcon" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
《
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="37dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/user_info_title"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/white"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/safe_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_60"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
tools:ignore="SpUsage">
|
||||
|
||||
<Button
|
||||
android:id="@+id/safe_tv"
|
||||
style="@style/settings_item_bg_group_full_2019"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:drawablePadding="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/account_and_security_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableLeftCompat="@mipmap/icon_safa"
|
||||
app:drawableRightCompat="@drawable/ic_frame_mine_right_arrow" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="#D8D8D8" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_60"
|
||||
android:background="@color/white"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Button
|
||||
android:id="@+id/pay_setting_tv"
|
||||
style="@style/settings_item_bg_group_full_2019"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:drawablePadding="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/pay_setting_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableLeftCompat="@mipmap/wallet_pay_setting_img"
|
||||
app:drawableRightCompat="@drawable/ic_frame_mine_right_arrow" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="37dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/changgui_txt"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/white"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/new_message_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_60"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
tools:ignore="SpUsage">
|
||||
|
||||
<Button
|
||||
android:id="@+id/new_message_tv"
|
||||
style="@style/settings_item_bg_group_full_2019"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:drawablePadding="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/setting_notify_info"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableLeftCompat="@mipmap/icon_tongzhi"
|
||||
app:drawableRightCompat="@drawable/ic_frame_mine_right_arrow" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="#D8D8D8" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/friend_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_60"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
tools:ignore="SpUsage">
|
||||
|
||||
<Button
|
||||
android:id="@+id/friend_tv"
|
||||
style="@style/settings_item_bg_group_full_2019"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
|
||||
android:drawablePadding="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/haoyouquanxian_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableLeftCompat="@mipmap/icon_friend_quanxian"
|
||||
app:drawableRightCompat="@drawable/ic_frame_mine_right_arrow" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="#D8D8D8" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/yuyan_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_60"
|
||||
android:background="@color/white"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
tools:ignore="SpUsage">
|
||||
|
||||
<Button
|
||||
android:id="@+id/yuyan_tv"
|
||||
style="@style/settings_item_bg_group_full_2019"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
|
||||
android:layout_weight="1"
|
||||
android:drawablePadding="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/yuyanzhongxin_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableLeftCompat="@mipmap/icon_laulgen" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/yuyan_desc_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/jtzw_txt"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="@dimen/sp_12"
|
||||
app:drawableRightCompat="@drawable/ic_frame_mine_right_arrow" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="37dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/app_info_txt"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/white"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/private_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_60"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
tools:ignore="SpUsage">
|
||||
|
||||
<Button
|
||||
android:id="@+id/private_tv"
|
||||
style="@style/settings_item_bg_group_full_2019"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
|
||||
android:drawablePadding="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/yinsizhengche_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableLeftCompat="@mipmap/icon_yszc_left"
|
||||
app:drawableRightCompat="@drawable/ic_frame_mine_right_arrow" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="#D8D8D8" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/help_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_60"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
tools:ignore="SpUsage">
|
||||
|
||||
<Button
|
||||
android:id="@+id/help_tv"
|
||||
style="@style/settings_item_bg_group_full_2019"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
|
||||
android:drawablePadding="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/help_center_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableLeftCompat="@mipmap/icon_bangzhu_left"
|
||||
app:drawableRightCompat="@drawable/ic_frame_mine_right_arrow" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="#D8D8D8" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/version_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_60"
|
||||
android:background="@color/white"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
tools:ignore="SpUsage">
|
||||
|
||||
<Button
|
||||
android:id="@+id/version_tv"
|
||||
style="@style/settings_item_bg_group_full_2019"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
|
||||
android:layout_weight="1"
|
||||
android:drawablePadding="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/now_version_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableLeftCompat="@mipmap/icon_dangqian_left" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/version_desc_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="v1.0.0"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="@dimen/sp_12"
|
||||
app:drawableRightCompat="@drawable/ic_frame_mine_right_arrow" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvLogout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_16"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:layout_marginBottom="@dimen/dp_16"
|
||||
android:background="@drawable/index_user_bg4"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:text="@string/tab_mine_logout"
|
||||
android:textColor="@color/colorWhite"
|
||||
android:textSize="@dimen/dp_16"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/notify_message_ll"
|
||||
tools:ignore="NotSibling,SpUsage" />
|
||||
</LinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
</LinearLayout>
|
||||
756
app/src/main/res/layout/fragment_mine_new.xml
Normal file
756
app/src/main/res/layout/fragment_mine_new.xml
Normal file
@@ -0,0 +1,756 @@
|
||||
<?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:orientation="vertical">
|
||||
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#FDF6F6"
|
||||
android:scrollbars="none">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/cl_root"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
tools:context=".main.mine.MineInfoActivity">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/card_view"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:background="@mipmap/user_info_bg1"
|
||||
app:layout_constraintDimensionRatio="375:175"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_59"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:ignore="MissingConstraints">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/cavIcon"
|
||||
android:layout_width="@dimen/dp_68"
|
||||
android:layout_height="@dimen/dp_68"
|
||||
android:layout_marginStart="15dp"
|
||||
app:avatarCorner="@dimen/dp_34"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintBottom_toBottomOf="@id/cavIcon"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/cavIcon"
|
||||
app:layout_constraintTop_toTopOf="@id/cavIcon">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_user_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvName"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_48"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_16"
|
||||
app:layout_constraintEnd_toStartOf="@id/ivRightArrow"
|
||||
app:layout_constraintStart_toEndOf="@id/cavIcon"
|
||||
app:layout_constraintTop_toTopOf="@id/cavIcon"
|
||||
tools:ignore="SpUsage"
|
||||
tools:text="1111111111111111" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivRightArrow"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:src="@drawable/ic_frame_mine_right_arrow"
|
||||
app:layout_constraintBottom_toBottomOf="@id/cavIcon"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/cavIcon"
|
||||
app:tint="@color/white" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_action_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:src="@mipmap/level_img"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="1"
|
||||
android:textColor="#ffc6ffc5"
|
||||
android:textSize="13sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<View
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="10dp"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:layout_marginRight="@dimen/dp_12"
|
||||
android:background="#49CCDEFE"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_merchant"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dimen_10_dp"
|
||||
android:src="@mipmap/shangjia_img"
|
||||
android:visibility="visible" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="10dp"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/to_merchant_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:background="@drawable/index_user_bg2"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="@dimen/dp_10"
|
||||
android:paddingTop="@dimen/dp_3"
|
||||
android:paddingRight="@dimen/dp_10"
|
||||
android:paddingBottom="@dimen/dp_3"
|
||||
android:text="@string/shanghuguanli_txt"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="14sp"
|
||||
android:visibility="visible" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/userInfoClick"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintBottom_toBottomOf="@id/cavIcon"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/cavIcon"
|
||||
app:layout_constraintTop_toTopOf="@id/cavIcon" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintDimensionRatio="375:210"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@drawable/index_user_bg"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintDimensionRatio="348:70"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/index_user_bg1"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/jinbi_tv1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableLeft="@mipmap/index_dianshu_img"
|
||||
android:drawableRight="@mipmap/index_wallet_next_img"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:text="@string/cash_dianshu_txt"
|
||||
android:textColor="#ff525252"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="@dimen/dp_1"
|
||||
android:layout_height="@dimen/dp_20"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:background="#49B78C8C" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/yinbi_tv1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableLeft="@mipmap/index_lipinjifen_img"
|
||||
android:drawableRight="@mipmap/index_wallet_next_img"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:text="@string/silver_coins_txt"
|
||||
android:textColor="#ff525252"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="@dimen/dp_1"
|
||||
android:layout_height="@dimen/dp_20"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:background="#49B78C8C" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/tongbi_tv1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:visibility="gone"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableLeft="@mipmap/index_lijin_img"
|
||||
android:drawableRight="@mipmap/index_wallet_next_img"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:text="@string/lijin_txt"
|
||||
android:textColor="#ff525252"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/jinbi_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:autoSizeMaxTextSize="21sp"
|
||||
android:autoSizeMinTextSize="16sp"
|
||||
android:autoSizeTextType="uniform"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center"
|
||||
android:lines="1"
|
||||
android:textColor="#FA6947"
|
||||
android:textStyle="bold"
|
||||
tools:text="8888" />
|
||||
|
||||
<View
|
||||
android:layout_width="@dimen/dp_1"
|
||||
android:layout_height="@dimen/dp_20"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:background="#49B78C8C" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/yinbi_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:autoSizeMaxTextSize="21sp"
|
||||
android:autoSizeMinTextSize="16sp"
|
||||
android:autoSizeTextType="uniform"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center"
|
||||
android:lines="1"
|
||||
android:textColor="#FA6947"
|
||||
android:textStyle="bold"
|
||||
tools:text="8888" />
|
||||
|
||||
<View
|
||||
android:layout_width="@dimen/dp_1"
|
||||
android:layout_height="@dimen/dp_20"
|
||||
android:visibility="gone"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:background="#49B78C8C" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tongbi_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:visibility="gone"
|
||||
android:autoSizeMaxTextSize="21sp"
|
||||
android:autoSizeMinTextSize="16sp"
|
||||
android:autoSizeTextType="uniform"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center"
|
||||
android:lines="1"
|
||||
android:textColor="#FA6947"
|
||||
android:textStyle="bold"
|
||||
tools:text="8888" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_12"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@drawable/index_user_bg"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/user_info_title"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="#D8D8D8" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/safe_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_57"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
tools:ignore="SpUsage">
|
||||
|
||||
<Button
|
||||
android:id="@+id/safe_tv"
|
||||
style="@style/settings_item_bg_group_full_2019"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:drawablePadding="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/account_and_security_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableLeftCompat="@mipmap/icon_safa"
|
||||
app:drawableRightCompat="@drawable/ic_frame_mine_right_arrow" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="#D8D8D8" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_57"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Button
|
||||
android:id="@+id/pay_setting_tv"
|
||||
style="@style/settings_item_bg_group_full_20191"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:drawablePadding="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/pay_setting_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableLeftCompat="@mipmap/wallet_pay_setting_img"
|
||||
app:drawableRightCompat="@drawable/ic_frame_mine_right_arrow" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="#D8D8D8" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_57"
|
||||
android:gravity="center_vertical"
|
||||
android:visibility="visible"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Button
|
||||
android:id="@+id/myphoto_tv"
|
||||
style="@style/settings_item_bg_group_full_20191"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:drawablePadding="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/myphoto_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableLeftCompat="@mipmap/ic_info_myphoto"
|
||||
app:drawableRightCompat="@drawable/ic_frame_mine_right_arrow" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_12"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@drawable/index_user_bg"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/changgui_txt"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="#D8D8D8" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/new_message_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_57"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
tools:ignore="SpUsage">
|
||||
|
||||
<Button
|
||||
android:id="@+id/new_message_tv"
|
||||
style="@style/settings_item_bg_group_full_2019"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:drawablePadding="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/setting_notify_info"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableLeftCompat="@mipmap/icon_tongzhi"
|
||||
app:drawableRightCompat="@drawable/ic_frame_mine_right_arrow" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="#D8D8D8" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/friend_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_57"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
tools:ignore="SpUsage">
|
||||
|
||||
<Button
|
||||
android:id="@+id/friend_tv"
|
||||
style="@style/settings_item_bg_group_full_2019"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
|
||||
android:drawablePadding="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/haoyouquanxian_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableLeftCompat="@mipmap/icon_friend_quanxian"
|
||||
app:drawableRightCompat="@drawable/ic_frame_mine_right_arrow" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="#D8D8D8" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/yuyan_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_57"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
tools:ignore="SpUsage">
|
||||
|
||||
<Button
|
||||
android:id="@+id/yuyan_tv"
|
||||
style="@style/settings_item_bg_group_full_20191"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:drawablePadding="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/yuyanzhongxin_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableLeftCompat="@mipmap/icon_laulgen" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/yuyan_desc_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/jtzw_txt"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="@dimen/sp_12"
|
||||
app:drawableRightCompat="@drawable/ic_frame_mine_right_arrow" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_12"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@drawable/index_user_bg"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/app_info_txt"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="#D8D8D8" />
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/private_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_57"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
tools:ignore="SpUsage">
|
||||
|
||||
<Button
|
||||
android:id="@+id/private_tv"
|
||||
style="@style/settings_item_bg_group_full_2019"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
|
||||
android:drawablePadding="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/yinsizhengche_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableLeftCompat="@mipmap/icon_yszc_left"
|
||||
app:drawableRightCompat="@drawable/ic_frame_mine_right_arrow" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="#D8D8D8" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/help_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_57"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
tools:ignore="SpUsage">
|
||||
|
||||
<Button
|
||||
android:id="@+id/help_tv"
|
||||
style="@style/settings_item_bg_group_full_2019"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
|
||||
android:drawablePadding="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/help_center_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableLeftCompat="@mipmap/icon_bangzhu_left"
|
||||
app:drawableRightCompat="@drawable/ic_frame_mine_right_arrow" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="#D8D8D8" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/version_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_57"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
tools:ignore="SpUsage">
|
||||
|
||||
<Button
|
||||
android:id="@+id/version_tv"
|
||||
style="@style/settings_item_bg_group_full_20191"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:drawablePadding="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/now_version_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableLeftCompat="@mipmap/icon_dangqian_left" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/version_desc_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="v1.0.0"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="@dimen/sp_12"
|
||||
app:drawableRightCompat="@drawable/ic_frame_mine_right_arrow" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvLogout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_16"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:layout_marginBottom="@dimen/dp_16"
|
||||
android:background="@drawable/index_user_bg"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:text="@string/tab_mine_logout"
|
||||
android:textColor="@color/color_ff2b2b"
|
||||
android:textSize="@dimen/dp_16"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/notify_message_ll"
|
||||
tools:ignore="NotSibling,SpUsage" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="20dp" />
|
||||
</LinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
</LinearLayout>
|
||||
37
app/src/main/res/layout/fragment_setresouce_photo.xml
Normal file
37
app/src/main/res/layout/fragment_setresouce_photo.xml
Normal file
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.appcompat.widget.LinearLayoutCompat 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:orientation="vertical"
|
||||
android:background="@android:color/white">
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone"
|
||||
android:id="@+id/recyclerssss"/>
|
||||
<LinearLayout
|
||||
android:id="@+id/nodate_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/nodate_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/ic_no_message" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/nodate_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="@string/nodate_txt"
|
||||
android:textColor="@color/color_adb5bd"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
145
app/src/main/res/layout/fragment_teamconversation.xml
Normal file
145
app/src/main/res/layout/fragment_teamconversation.xml
Normal file
@@ -0,0 +1,145 @@
|
||||
<?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"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_teamroot"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/layout_mycreate"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_myteam"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/myteam_create_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_myteamnumber"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/tv_myteam"
|
||||
app:layout_constraintStart_toEndOf="@+id/tv_myteam"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_myteamspull"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="@dimen/dp_3"
|
||||
android:paddingStart="@dimen/dp_15"
|
||||
android:paddingEnd="@dimen/dp_15"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableEndCompat="@mipmap/ic_indexfm_down"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/tv_myteam" />
|
||||
|
||||
<com.netease.yunxin.kit.conversationkit.ui.view.ConversationView
|
||||
android:id="@+id/conversationView_myteam"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_myteam" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/layout_myjoin"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_myjointeam"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/myteam_join_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_myjointeamnumber"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_10"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/tv_myjointeam"
|
||||
app:layout_constraintStart_toEndOf="@+id/tv_myjointeam"
|
||||
app:layout_constraintTop_toTopOf="@+id/tv_myjointeam" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_myjointeamspull"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="@dimen/dp_3"
|
||||
android:paddingStart="@dimen/dp_15"
|
||||
android:paddingEnd="@dimen/dp_15"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableEndCompat="@mipmap/ic_indexfm_down"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/tv_myjointeam" />
|
||||
|
||||
<com.netease.yunxin.kit.conversationkit.ui.view.ConversationView
|
||||
android:id="@+id/conversationView_myjointeam"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_myjointeam" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/emptyLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_188_dp"
|
||||
android:layout_marginTop="@dimen/dimen_150_dp"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:src="@drawable/fun_ic_conversation_empty" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/empty_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:text="@string/conversation_empty_tip" />
|
||||
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
</FrameLayout>
|
||||
83
app/src/main/res/layout/fragment_voom.xml
Normal file
83
app/src/main/res/layout/fragment_voom.xml
Normal file
@@ -0,0 +1,83 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<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:orientation="vertical"
|
||||
android:background="@color/color_f7f7f7"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<com.dskj.rbchat.widget.StatusLayout
|
||||
android:layout_width="match_parent"
|
||||
android:background="@color/white"
|
||||
android:layout_height="wrap_content"/>
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:background="@color/white"
|
||||
android:layout_height="?actionBarSize">
|
||||
|
||||
<com.google.android.material.tabs.TabLayout
|
||||
android:id="@+id/tablayout"
|
||||
android:layout_width="@dimen/dp_200"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@color/transparent"
|
||||
app:tabIndicator="@drawable/tab_line1"
|
||||
app:tabIndicatorColor="@color/color_c9a3e6"
|
||||
app:tabIndicatorHeight="11dp"
|
||||
app:tabBackground="@color/transparent"
|
||||
app:tabMaxWidth="@dimen/dp_60"
|
||||
app:tabMinWidth="@dimen/dp_60"
|
||||
app:tabMode="fixed"
|
||||
app:tabPaddingBottom="@dimen/dp_3"
|
||||
app:tabPaddingEnd="0dp"
|
||||
app:tabPaddingStart="0dp"
|
||||
app:tabRippleColor="@null"
|
||||
app:tabSelectedTextColor="@color/color_333333"
|
||||
app:tabTextAppearance="@style/MyBgTablayoutstyle"
|
||||
app:tabTextColor="@color/color_7f7b81" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/add_cir_iv"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:src="@mipmap/cir_not_img"
|
||||
android:scaleType="centerInside"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="@dimen/dp_5" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/not_cir_iv"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:scaleType="centerInside"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_toLeftOf="@id/add_cir_iv"
|
||||
android:src="@mipmap/add_cir_img" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/main_alarms_list_item_flagNumView"
|
||||
style="@style/text_view_number_style"
|
||||
android:layout_gravity="top|right"
|
||||
android:layout_marginBottom="0dip"
|
||||
android:layout_alignRight="@id/not_cir_iv"
|
||||
android:layout_marginLeft="0dip"
|
||||
android:layout_marginRight="2dip"
|
||||
android:layout_alignTop="@id/not_cir_iv"
|
||||
android:layout_marginTop="8dp"
|
||||
android:text="1"
|
||||
android:visibility="gone"/>
|
||||
|
||||
</RelativeLayout>
|
||||
<androidx.viewpager2.widget.ViewPager2
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:overScrollMode="never"
|
||||
android:id="@+id/viewpager"/>
|
||||
</LinearLayout>
|
||||
182
app/src/main/res/layout/fragment_wallet.xml
Normal file
182
app/src/main/res/layout/fragment_wallet.xml
Normal file
@@ -0,0 +1,182 @@
|
||||
<?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="@drawable/wallet_page_bg"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_chatfm_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/usercenter_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_20" />
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/kefu_img"
|
||||
android:layout_width="@dimen/dp_20"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginEnd="@dimen/dp_30"
|
||||
android:src="@mipmap/kefu_img" />
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_indexfm_settingtop"
|
||||
android:layout_width="@dimen/dp_20"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:src="@mipmap/ic_index_setting" />
|
||||
</LinearLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/item_yinbi_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_132"
|
||||
android:background="@mipmap/wallet_yb_bg_img"
|
||||
android:orientation="vertical"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@mipmap/push_add_img"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/item_jinbi_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="68dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:src="@mipmap/push_add_img"
|
||||
app:layout_constraintDimensionRatio="345:68"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dimen_24_dp"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:src="@mipmap/wallet_jinbi_img" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_5"
|
||||
android:text="@string/species_txt"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/jinbi_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:layout_weight="1"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/sp_20"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dimen_24_dp"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:src="@drawable/ic_frame_mine_right_arrow"
|
||||
app:tint="@color/white" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/yinbi_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="68dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:src="@mipmap/push_add_img"
|
||||
android:layout_marginTop="68dp"
|
||||
android:background="@mipmap/wallet_tb_bg_img"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintDimensionRatio="345:68"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent">
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dimen_24_dp"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:src="@mipmap/wallet_yinbi_img" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_5"
|
||||
android:text="@string/silver_coins_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/yinbi_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:layout_weight="1"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_20"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dimen_24_dp"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:src="@drawable/ic_frame_mine_right_arrow" />
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/pay_setting_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableLeft="@mipmap/wallet_pay_setting_img"
|
||||
android:drawablePadding="@dimen/dp_6"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/pay_setting_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dimen_24_dp"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:src="@drawable/ic_frame_mine_right_arrow" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
259
app/src/main/res/layout/fragment_wallet_bf.xml
Normal file
259
app/src/main/res/layout/fragment_wallet_bf.xml
Normal file
@@ -0,0 +1,259 @@
|
||||
<?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="@drawable/wallet_page_bg"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_chatfm_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/wallet_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_20" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_indexfm_settingtop"
|
||||
android:layout_width="@dimen/dp_20"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:src="@mipmap/ic_index_setting" />
|
||||
</LinearLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/item_yinbi_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_132"
|
||||
android:background="@mipmap/wallet_yb_bg_img"
|
||||
android:orientation="vertical"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@mipmap/push_add_img"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/item_jinbi_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="68dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:src="@mipmap/push_add_img"
|
||||
app:layout_constraintDimensionRatio="345:68"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dimen_24_dp"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:src="@mipmap/wallet_jinbi_img" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_5"
|
||||
android:text="@string/species_txt"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/jinbi_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:layout_weight="1"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/sp_20"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dimen_24_dp"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:src="@drawable/ic_frame_mine_right_arrow"
|
||||
app:tint="@color/white" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/yinbi_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="68dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:src="@mipmap/push_add_img"
|
||||
android:layout_marginTop="68dp"
|
||||
android:background="@mipmap/wallet_tb_bg_img"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintDimensionRatio="345:68"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent">
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dimen_24_dp"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:src="@mipmap/wallet_yinbi_img" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_5"
|
||||
android:text="@string/silver_coins_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/yinbi_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:layout_weight="1"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_20"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dimen_24_dp"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:src="@drawable/ic_frame_mine_right_arrow" />
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_22"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_22"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/shoufukuan_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableTop="@mipmap/wallet_shoufukuan_img"
|
||||
android:drawablePadding="@dimen/dp_6"
|
||||
android:gravity="center"
|
||||
android:text="@string/shoufukuan_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/saoyisao_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableTop="@mipmap/wallet_saoyisao_img"
|
||||
android:drawablePadding="@dimen/dp_6"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:gravity="center"
|
||||
android:text="@string/saoyisao_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/pay_setting_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_30"
|
||||
android:drawableTop="@mipmap/wallet_pay_setting_img"
|
||||
android:drawablePadding="@dimen/dp_6"
|
||||
android:gravity="center"
|
||||
android:text="@string/pay_setting_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
</LinearLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/wawaji_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:orientation="vertical"
|
||||
android:src="@mipmap/wallet_taoleting_img"
|
||||
app:layout_constraintDimensionRatio="345:80"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:text="@string/other_servie_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/taoleting_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginBottom="@dimen/dp_20"
|
||||
android:drawableTop="@mipmap/wallet_taoleting_item_img"
|
||||
android:drawablePadding="@dimen/dp_6"
|
||||
android:gravity="center"
|
||||
android:text="@string/taoleting_txt"
|
||||
android:textColor="@color/color_7e7b84"
|
||||
android:textSize="@dimen/sp_12" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/yinbi_shop_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_48"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginBottom="@dimen/dp_20"
|
||||
android:drawableTop="@mipmap/yinbi_shop_img"
|
||||
android:drawablePadding="@dimen/dp_6"
|
||||
android:gravity="center"
|
||||
android:text="@string/yinbi_shop_txt"
|
||||
|
||||
android:textColor="@color/color_7e7b84"
|
||||
android:textSize="@dimen/sp_12" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
105
app/src/main/res/layout/fragment_wallet_info.xml
Normal file
105
app/src/main/res/layout/fragment_wallet_info.xml
Normal file
@@ -0,0 +1,105 @@
|
||||
<?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:id="@+id/big_bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/index_user_bg"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_47"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/type_name_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/jinbimingxi_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/type_tv1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:drawableLeft="@mipmap/shaisuanss"
|
||||
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/shaixuan_txt"
|
||||
android:textColor="#ff5d5d5d"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1px"
|
||||
android:background="#ededed"
|
||||
android:visibility="visible" />
|
||||
|
||||
<com.scwang.smart.refresh.layout.SmartRefreshLayout
|
||||
android:id="@+id/refreshLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="visible"
|
||||
|
||||
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/recyclerview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:overScrollMode="never">
|
||||
|
||||
</androidx.recyclerview.widget.RecyclerView>
|
||||
|
||||
<com.scwang.smart.refresh.footer.ClassicsFooter
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:srlAccentColor="@color/color_adb5bd" />
|
||||
</com.scwang.smart.refresh.layout.SmartRefreshLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/nodate_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/nodate_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/pyq_nodate" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/nodate_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="@string/nodate_txt"
|
||||
android:textColor="@color/color_adb5bd"
|
||||
android:layout_marginBottom="@dimen/dp_20"
|
||||
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
105
app/src/main/res/layout/fragment_wallet_info1.xml
Normal file
105
app/src/main/res/layout/fragment_wallet_info1.xml
Normal file
@@ -0,0 +1,105 @@
|
||||
<?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:id="@+id/big_bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/index_user_bg"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_47"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/type_name_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/tongbimingxi_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/type_tv1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:drawableLeft="@mipmap/shaisuanss"
|
||||
android:gravity="center_vertical"
|
||||
|
||||
android:text="@string/shaixuan_txt"
|
||||
android:textColor="#ff5d5d5d"
|
||||
android:textSize="16sp"
|
||||
android:visibility="invisible" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1px"
|
||||
android:background="#ededed"
|
||||
android:visibility="visible" />
|
||||
|
||||
<com.scwang.smart.refresh.layout.SmartRefreshLayout
|
||||
android:id="@+id/refreshLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="visible"
|
||||
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/recyclerview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:overScrollMode="never">
|
||||
|
||||
</androidx.recyclerview.widget.RecyclerView>
|
||||
|
||||
<com.scwang.smart.refresh.footer.ClassicsFooter
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:srlAccentColor="@color/color_adb5bd" />
|
||||
</com.scwang.smart.refresh.layout.SmartRefreshLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/nodate_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/nodate_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/pyq_nodate" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/nodate_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="@string/nodate_txt"
|
||||
android:textColor="@color/color_adb5bd"
|
||||
android:layout_marginBottom="@dimen/dp_20"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
156
app/src/main/res/layout/friend_permissions_activity.xml
Normal file
156
app/src/main/res/layout/friend_permissions_activity.xml
Normal file
@@ -0,0 +1,156 @@
|
||||
<?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/haoyouquanxian_txt"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/white"
|
||||
android:orientation="vertical">
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<Button
|
||||
style="@style/settings_item_bg_group_full_2019"
|
||||
android:text="@string/add_me_friend_need_verify_txt" />
|
||||
|
||||
<androidx.appcompat.widget.SwitchCompat
|
||||
android:id="@+id/yanzheng_switch"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dimen_24_dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:clickable="false"
|
||||
android:layout_gravity="end|center_vertical"
|
||||
android:thumb="@drawable/switch_thumb_selector"
|
||||
app:track="@drawable/switch_track_selector" />
|
||||
</FrameLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:visibility="gone"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<Button
|
||||
style="@style/settings_item_bg_group_full_2019"
|
||||
android:text="@string/allow_temporary_session_txt" />
|
||||
|
||||
<androidx.appcompat.widget.SwitchCompat
|
||||
android:id="@+id/mosheng_switch"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dimen_24_dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:clickable="false"
|
||||
android:layout_gravity="end|center_vertical"
|
||||
android:thumb="@drawable/switch_thumb_selector"
|
||||
app:track="@drawable/switch_track_selector" />
|
||||
</FrameLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<Button
|
||||
style="@style/settings_item_bg_group_full_2019"
|
||||
android:text="@string/allow_phone_search_txt" />
|
||||
|
||||
<androidx.appcompat.widget.SwitchCompat
|
||||
android:id="@+id/shoujihao_switch"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dimen_24_dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:clickable="false"
|
||||
android:layout_gravity="end|center_vertical"
|
||||
android:thumb="@drawable/switch_thumb_selector"
|
||||
app:track="@drawable/switch_track_selector" />
|
||||
</FrameLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<Button
|
||||
style="@style/settings_item_bg_group_full_2019"
|
||||
android:text="@string/allow_search_id_txt" />
|
||||
<androidx.appcompat.widget.SwitchCompat
|
||||
android:id="@+id/id_switch"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dimen_24_dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:clickable="false"
|
||||
android:layout_gravity="end|center_vertical"
|
||||
android:thumb="@drawable/switch_thumb_selector"
|
||||
app:track="@drawable/switch_track_selector" />
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<Button
|
||||
style="@style/settings_item_bg_group_full_2019"
|
||||
android:text="@string/allow_add_me_at_group_txt" />
|
||||
|
||||
<androidx.appcompat.widget.SwitchCompat
|
||||
android:id="@+id/group_add_switch"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dimen_24_dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:clickable="false"
|
||||
android:layout_gravity="end|center_vertical"
|
||||
android:thumb="@drawable/switch_thumb_selector"
|
||||
app:track="@drawable/switch_track_selector" />
|
||||
</FrameLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/black_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_54"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
tools:ignore="SpUsage">
|
||||
|
||||
<Button
|
||||
android:id="@+id/black_tv"
|
||||
style="@style/settings_item_bg_group_full_2019"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:drawablePadding="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/black_list_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:drawableRightCompat="@drawable/ic_frame_mine_right_arrow" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
91
app/src/main/res/layout/item_activitymessage_list.xml
Normal file
91
app/src/main/res/layout/item_activitymessage_list.xml
Normal file
@@ -0,0 +1,91 @@
|
||||
<?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:id="@+id/big_bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:background="@android:color/white"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="@dimen/dp_10"
|
||||
android:paddingRight="@dimen/dp_15"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/tv_msg_title"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/tv_msg_title" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_msg_title"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_5"
|
||||
android:layout_marginTop="@dimen/dp_15"
|
||||
android:layout_marginEnd="@dimen/dp_10"
|
||||
android:ellipsize="end"
|
||||
android:maxLines="2"
|
||||
android:textColor="@color/color_383838"
|
||||
android:textSize="@dimen/sp_14"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toStartOf="@+id/tv_msg_time"
|
||||
app:layout_constraintStart_toEndOf="@+id/iv_icon"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_msg_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="@dimen/sp_12"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/tv_msg_title"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/tv_msg_title" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_msg_content"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:ellipsize="end"
|
||||
android:maxLines="2"
|
||||
android:minHeight="@dimen/dp_40"
|
||||
android:paddingStart="@dimen/dp_5"
|
||||
android:textColor="@color/color_383838"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintEnd_toStartOf="@+id/iv_msg_img"
|
||||
app:layout_constraintStart_toStartOf="@+id/iv_icon"
|
||||
app:layout_constraintTop_toBottomOf="@+id/iv_icon" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_25"
|
||||
android:layout_marginBottom="@dimen/dp_15"
|
||||
android:paddingStart="@dimen/dp_5"
|
||||
android:text="@string/tv_checkmore"
|
||||
android:textColor="@color/color_6d80ff"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_msg_content" />
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/iv_msg_img"
|
||||
android:layout_width="@dimen/dp_80"
|
||||
android:layout_height="@dimen/dp_80"
|
||||
android:layout_marginBottom="@dimen/dp_15"
|
||||
app:avatarCorner="@dimen/dp_4"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/tv_msg_content" />
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
29
app/src/main/res/layout/item_add_photo.xml
Normal file
29
app/src/main/res/layout/item_add_photo.xml
Normal file
@@ -0,0 +1,29 @@
|
||||
<?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="wrap_content"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/item_image_iv"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:scaleType="centerCrop"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/colose_iv"
|
||||
android:layout_width="@dimen/dp_20"
|
||||
android:layout_height="@dimen/dp_20"
|
||||
android:layout_margin="@dimen/dp_5"
|
||||
android:src="@mipmap/quan_guanbi_img"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
96
app/src/main/res/layout/item_bill_list.xml
Normal file
96
app/src/main/res/layout/item_bill_list.xml
Normal file
@@ -0,0 +1,96 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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="@dimen/dp_60"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:id="@+id/big_bg"
|
||||
android:background="@drawable/ripple_with_color_mask"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/logo_iv"
|
||||
android:layout_width="@dimen/dp_40"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_12"
|
||||
android:src="@mipmap/default_head_img"
|
||||
|
||||
app:es_shape_type="round" />
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:id="@+id/price_ly"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignTop="@id/logo_iv"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:gravity="right"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/price_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="-22.00"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/status_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="已全额退款"
|
||||
android:textColor="#fff35543"
|
||||
android:textSize="12sp"
|
||||
android:visibility="gone" />
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginRight="@dimen/dp_4"
|
||||
android:layout_toLeftOf="@id/price_ly"
|
||||
android:layout_toRightOf="@id/logo_iv"
|
||||
android:ellipsize="end"
|
||||
android:lines="1"
|
||||
android:text="长沙市天心区叮叮商场店"
|
||||
android:textColor="#3D3D3D"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_toRightOf="@id/logo_iv"
|
||||
android:text="6月16日"
|
||||
android:layout_alignBottom="@id/logo_iv"
|
||||
android:id="@+id/time_tv"
|
||||
android:textColor="@color/color_adb5bd"
|
||||
android:textSize="@dimen/sp_12" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="6月16日"
|
||||
android:layout_alignBottom="@id/logo_iv"
|
||||
android:id="@+id/balan_tv"
|
||||
android:layout_alignParentRight="true"
|
||||
android:textColor="@color/color_adb5bd"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
|
||||
android:textSize="@dimen/sp_12" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1px"
|
||||
android:layout_marginLeft="@dimen/dp_33"
|
||||
android:layout_marginRight="@dimen/dp_33"
|
||||
android:background="#ededed"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:visibility="visible" />
|
||||
</RelativeLayout>
|
||||
33
app/src/main/res/layout/item_bill_top.xml
Normal file
33
app/src/main/res/layout/item_bill_top.xml
Normal file
@@ -0,0 +1,33 @@
|
||||
<?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="@dimen/dp_80"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical"
|
||||
android:id="@+id/big_bg"
|
||||
android:layout_margin="7.5dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/input_bg_t"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
tools:text="10"
|
||||
android:gravity="center"
|
||||
android:textColor="#654C35"
|
||||
android:id="@+id/title_tv"
|
||||
android:textSize="24sp"
|
||||
/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:text="NT$ 10"
|
||||
android:id="@+id/des_tv"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:textColor="#916D4B"
|
||||
android:textSize="16sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
16
app/src/main/res/layout/item_chatai.xml
Normal file
16
app/src/main/res/layout/item_chatai.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_chatcontent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="@dimen/dp_10"
|
||||
android:paddingTop="@dimen/dp_10"
|
||||
android:text="fefeeeeeeeeeeeeeeeeeeeeefeeeeeeee"
|
||||
android:paddingRight="@dimen/dp_10"
|
||||
android:paddingBottom="@dimen/dp_10" />
|
||||
</RelativeLayout>
|
||||
123
app/src/main/res/layout/item_comment_list.xml
Normal file
123
app/src/main/res/layout/item_comment_list.xml
Normal file
@@ -0,0 +1,123 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:id="@+id/big_bg"
|
||||
android:paddingTop="@dimen/dp_5"
|
||||
android:paddingBottom="@dimen/dp_5"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<com.dskj.rbchat.widget.CircleImageView
|
||||
android:id="@+id/logo_iv"
|
||||
android:layout_width="@dimen/dp_32"
|
||||
android:layout_height="@dimen/dp_32"
|
||||
android:scaleType="centerCrop"
|
||||
app:es_shape_type="round"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:src="@mipmap/default_head_img" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/title_ly"
|
||||
android:layout_marginRight="@dimen/dp_4"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_toRightOf="@id/logo_iv"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:id="@+id/title_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:lines="1"
|
||||
android:ellipsize="end"
|
||||
android:text="111"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="@dimen/sp_12" />
|
||||
<TextView
|
||||
android:id="@+id/zuozhe_iv1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_16"
|
||||
android:paddingLeft="@dimen/dp_5"
|
||||
android:paddingRight="@dimen/dp_5"
|
||||
android:visibility="gone"
|
||||
android:text="@string/zuozhe_txt"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="@dimen/sp_10"
|
||||
android:background="@drawable/user_type_bg"
|
||||
android:layout_marginLeft="@dimen/dp_5" />
|
||||
<TextView
|
||||
android:id="@+id/huifu_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:lines="1"
|
||||
android:layout_marginLeft="@dimen/dp_5"
|
||||
android:ellipsize="end"
|
||||
android:visibility="gone"
|
||||
android:text="@string/huifu_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_12" />
|
||||
<TextView
|
||||
android:id="@+id/title_tv1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:lines="1"
|
||||
android:visibility="gone"
|
||||
android:layout_marginLeft="@dimen/dp_5"
|
||||
android:ellipsize="end"
|
||||
android:text="22222222"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="@dimen/sp_12" />
|
||||
<TextView
|
||||
android:id="@+id/zuozhe_iv2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_16"
|
||||
android:paddingLeft="@dimen/dp_5"
|
||||
android:paddingRight="@dimen/dp_5"
|
||||
android:visibility="gone"
|
||||
android:text="@string/zuozhe_txt"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="@dimen/sp_10"
|
||||
android:background="@drawable/user_type_bg"
|
||||
android:layout_marginLeft="@dimen/dp_5" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/time_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:layout_below="@id/des_tv"
|
||||
android:layout_toRightOf="@id/logo_iv"
|
||||
android:text="6月16日"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="@dimen/sp_12" />
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/huifu_txt"
|
||||
android:textColor="#ff6b3689"
|
||||
android:id="@+id/rep_tv"
|
||||
android:layout_toRightOf="@id/time_tv"
|
||||
android:layout_alignTop="@id/time_tv"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
<TextView
|
||||
android:id="@+id/des_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/title_ly"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:layout_toRightOf="@id/logo_iv"
|
||||
android:text="你也很潇洒啊"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp" />
|
||||
|
||||
</RelativeLayout>
|
||||
132
app/src/main/res/layout/item_contactlist.xml
Normal file
132
app/src/main/res/layout/item_contactlist.xml
Normal file
@@ -0,0 +1,132 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/root_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/view_normal_selector">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/avatar_view"
|
||||
android:layout_width="@dimen/dimen_45_dp"
|
||||
android:layout_height="@dimen/dimen_45_dp"
|
||||
android:layout_marginTop="@dimen/dimen_10_dp"
|
||||
android:layout_marginBottom="@dimen/dimen_10_dp"
|
||||
app:avatarCorner="@dimen/dimen_45_dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_name"
|
||||
android:layout_width="@dimen/dp_180"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dimen_12_dp"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintBottom_toTopOf="@+id/messageLayout"
|
||||
app:layout_constraintLeft_toRightOf="@+id/avatar_view"
|
||||
app:layout_constraintTop_toTopOf="@+id/avatar_view">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="middle"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_16" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_alias"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:ellipsize="middle"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_16"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_myteamtype"
|
||||
android:layout_width="@dimen/dp_35"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_5"
|
||||
android:background="@drawable/cornor_6877fe_20dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/mini_txt"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/sp_12"
|
||||
android:visibility="gone" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="top"
|
||||
android:layout_marginEnd="@dimen/dimen_15_dp"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="12sp"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/ll_name"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/ll_name" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/messageLayout"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/dimen_15_dp"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/avatar_view"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/ll_name"
|
||||
app:layout_constraintRight_toRightOf="parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/aitTv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/dimen_4_dp"
|
||||
android:ellipsize="end"
|
||||
android:maxLines="1"
|
||||
android:text="@string/conversation_ait_tip"
|
||||
android:textColor="@color/color_ff4e54"
|
||||
android:textSize="@dimen/text_size_14"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_hint"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="end"
|
||||
android:maxLines="1"
|
||||
android:textColor="@color/fun_conversation_item_sub_title_text_color"
|
||||
android:textSize="@dimen/text_size_14" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/unreadTv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_marginBottom="@dimen/dimen_15_dp"
|
||||
android:background="@drawable/bg_conversation_red_dot"
|
||||
android:gravity="center"
|
||||
android:paddingStart="@dimen/dimen_5_dp"
|
||||
android:paddingEnd="@dimen/dimen_5_dp"
|
||||
android:textColor="@color/color_white"
|
||||
android:textSize="@dimen/text_size_12"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent" />
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
||||
47
app/src/main/res/layout/item_country.xml
Normal file
47
app/src/main/res/layout/item_country.xml
Normal file
@@ -0,0 +1,47 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.appcompat.widget.LinearLayoutCompat 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:id="@+id/item_bg1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_60"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/item_bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingStart="@dimen/dp_15"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/item_areacode"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="3"
|
||||
android:gravity="center_vertical|right"
|
||||
android:paddingEnd="@dimen/dp_15"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/bot_line"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@color/color_d8d8d8" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
39
app/src/main/res/layout/item_help_list.xml
Normal file
39
app/src/main/res/layout/item_help_list.xml
Normal file
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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="49dp"
|
||||
android:background="@color/white"
|
||||
android:id="@+id/item_ry"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/item_title_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:text="5月1日 10:45"
|
||||
android:layout_marginRight="50dp"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/item_content_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="20dp"
|
||||
android:src="@drawable/ic_frame_mine_right_arrow" />
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:background="#F2F2F2"/>
|
||||
|
||||
</RelativeLayout>
|
||||
33
app/src/main/res/layout/item_help_list_t.xml
Normal file
33
app/src/main/res/layout/item_help_list_t.xml
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.appcompat.widget.LinearLayoutCompat 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:id="@+id/item_ry"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="2dp"
|
||||
android:paddingRight="@dimen/dp_2"
|
||||
android:background="@color/white"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.dskj.rbchat.widget.CircleImageView
|
||||
android:layout_width="@dimen/dp_48"
|
||||
android:layout_height="@dimen/dp_48"
|
||||
android:id="@+id/item_iv"
|
||||
android:scaleType="fitXY"
|
||||
app:es_shape_type="round"
|
||||
android:src="@mipmap/default_head_img" />
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="账号绑定"
|
||||
android:id="@+id/item_tv"
|
||||
android:lines="1"
|
||||
android:ellipsize="end"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="14sp"
|
||||
android:layout_marginBottom="@dimen/dp_15"
|
||||
/>
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
44
app/src/main/res/layout/item_like_list.xml
Normal file
44
app/src/main/res/layout/item_like_list.xml
Normal file
@@ -0,0 +1,44 @@
|
||||
<?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="@dimen/dp_62"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:id="@+id/big_bg"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<com.dskj.rbchat.widget.CircleImageView
|
||||
android:id="@+id/logo_iv"
|
||||
android:layout_width="@dimen/dp_42"
|
||||
android:layout_height="@dimen/dp_42"
|
||||
android:scaleType="centerCrop"
|
||||
app:es_shape_type="round"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:src="@mipmap/default_head_img" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:lines="1"
|
||||
android:ellipsize="end"
|
||||
android:text="111"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
<TextView
|
||||
android:id="@+id/zuozhe_iv1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_16"
|
||||
android:paddingLeft="@dimen/dp_5"
|
||||
android:paddingRight="@dimen/dp_5"
|
||||
android:visibility="visible"
|
||||
android:text="@string/haoyou_txt"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="@dimen/sp_10"
|
||||
android:background="@drawable/user_type_bg"
|
||||
android:layout_marginLeft="@dimen/dp_10" />
|
||||
|
||||
</LinearLayout>
|
||||
88
app/src/main/res/layout/item_message_list.xml
Normal file
88
app/src/main/res/layout/item_message_list.xml
Normal file
@@ -0,0 +1,88 @@
|
||||
<?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="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:paddingRight="@dimen/dp_15"
|
||||
android:background="@android:color/white"
|
||||
android:id="@+id/big_bg"
|
||||
android:layout_marginBottom="@dimen/dp_5"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_62"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
<com.dskj.rbchat.widget.CircleImageView
|
||||
android:layout_width="@dimen/dp_42"
|
||||
android:layout_height="@dimen/dp_42"
|
||||
android:id="@+id/item_head_civ"
|
||||
app:es_shape_type="round"
|
||||
android:src="@mipmap/default_head_img"/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text=""
|
||||
android:id="@+id/item_title_tv"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
<TextView
|
||||
android:id="@+id/item_time_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="上午9:11"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:id="@+id/conent_tv"
|
||||
android:textColor="#ff999999"
|
||||
android:layout_marginBottom="@dimen/dp_10"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
<LinearLayout
|
||||
android:id="@+id/big_item"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_52"
|
||||
android:background="@drawable/input_bg"
|
||||
android:layout_marginBottom="@dimen/dp_15"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
<com.dskj.rbchat.widget.CircleImageView
|
||||
android:id="@+id/big_iv"
|
||||
android:layout_width="@dimen/dp_42"
|
||||
android:layout_height="@dimen/dp_42"
|
||||
app:es_shape_type="rectangle"
|
||||
app:ease_radius="@dimen/dp_4"
|
||||
android:scaleType="centerCrop"
|
||||
android:layout_marginLeft="@dimen/dp_5"
|
||||
android:src="@mipmap/ic_launcher"/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:singleLine="true"
|
||||
android:id="@+id/text_tv"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:ellipsize="end"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:visibility="gone"
|
||||
android:background="#F4F4F4"/>
|
||||
</LinearLayout>
|
||||
45
app/src/main/res/layout/item_post_circle.xml
Normal file
45
app/src/main/res/layout/item_post_circle.xml
Normal file
@@ -0,0 +1,45 @@
|
||||
<?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="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:padding="@dimen/dp_8"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<com.dskj.rbchat.widget.CircleImageView
|
||||
android:id="@+id/item_image_iv"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
app:ease_radius="@dimen/dp_10"
|
||||
app:es_shape_type="rectangle"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@mipmap/push_add_img" />
|
||||
<ImageView
|
||||
android:id="@+id/item_image_iv1"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:visibility="gone"
|
||||
android:background="@drawable/add_cir_pic_bg_true"
|
||||
android:src="@mipmap/push_add_img"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:scaleType="centerInside" />
|
||||
<ImageView
|
||||
android:id="@+id/colose_iv"
|
||||
android:layout_width="@dimen/dp_20"
|
||||
android:layout_height="@dimen/dp_20"
|
||||
android:layout_margin="@dimen/dp_5"
|
||||
android:src="@mipmap/quan_guanbi_img"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"/>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
77
app/src/main/res/layout/item_red_list.xml
Normal file
77
app/src/main/res/layout/item_red_list.xml
Normal file
@@ -0,0 +1,77 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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:id="@+id/big_bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_66"
|
||||
android:background="@drawable/ripple_with_color_mask"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/logo_iv"
|
||||
android:layout_width="@dimen/dp_46"
|
||||
android:layout_height="@dimen/dp_46"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:src="@mipmap/default_head_img"
|
||||
|
||||
app:es_shape_type="round" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/time_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@id/logo_iv"
|
||||
android:layout_toRightOf="@id/logo_iv"
|
||||
android:text="6月16日"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_price"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentRight="true"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/price_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:text="-22.00"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/item_type_iv"
|
||||
android:layout_width="@dimen/dp_24"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:src="@mipmap/wallet_jinbi_img" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignTop="@id/logo_iv"
|
||||
android:layout_marginRight="@dimen/dp_4"
|
||||
android:layout_toLeftOf="@id/layout_price"
|
||||
android:layout_toRightOf="@id/logo_iv"
|
||||
android:text="长沙市天心区叮叮商场店"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1px"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginLeft="@dimen/dp_56"
|
||||
android:background="#EDE5E5"
|
||||
android:visibility="visible" />
|
||||
</RelativeLayout>
|
||||
40
app/src/main/res/layout/item_share_list.xml
Normal file
40
app/src/main/res/layout/item_share_list.xml
Normal file
@@ -0,0 +1,40 @@
|
||||
<?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="@dimen/dp_78"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:id="@+id/big_bg"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
<RelativeLayout
|
||||
android:layout_width="@dimen/dp_42"
|
||||
android:layout_height="@dimen/dp_42">
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/logo_iv"
|
||||
android:layout_width="@dimen/dp_42"
|
||||
android:layout_height="@dimen/dp_42"
|
||||
android:src="@mipmap/default_head_img" />
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/dialog_item_quan"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:id="@+id/select_iv"/>
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:lines="1"
|
||||
android:ellipsize="end"
|
||||
android:text="111"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="@dimen/sp_12" />
|
||||
|
||||
</LinearLayout>
|
||||
227
app/src/main/res/layout/item_tiktok_layout.xml
Normal file
227
app/src/main/res/layout/item_tiktok_layout.xml
Normal file
@@ -0,0 +1,227 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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:id="@+id/mRootView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<com.dskj.rbchat.voom.comm.CusVideoView
|
||||
android:id="@+id/mVideoView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:clickable="false"
|
||||
android:focusable="false" />
|
||||
<ImageView
|
||||
android:id="@+id/mThumb"
|
||||
android:layout_width="@dimen/dp_50"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:adjustViewBounds="true"
|
||||
android:clickable="false"
|
||||
android:focusable="false"
|
||||
android:scaleType="fitXY"
|
||||
android:layout_centerInParent="true"
|
||||
android:visibility="gone" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/show_pic_ry"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/black">
|
||||
<androidx.viewpager2.widget.ViewPager2
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/viewPager"/>
|
||||
<com.google.android.material.tabs.TabLayout
|
||||
android:id="@+id/tablayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="4dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginBottom="@dimen/dp_45"
|
||||
app:tabBackground="@drawable/tab_line2"
|
||||
app:tabIndicatorHeight="0dp"
|
||||
app:tabMode="fixed"
|
||||
app:tabRippleColor="@color/transparent"
|
||||
app:tabSelectedTextColor="@color/transparent"
|
||||
app:tabTextAppearance="@style/MyBgTablayoutstyle"
|
||||
app:tabTextColor="@color/transparent" />
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<com.dskj.rbchat.widget.CircleImageView
|
||||
android:layout_width="@dimen/dp_48"
|
||||
android:layout_height="@dimen/dp_48"
|
||||
android:layout_alignParentTop="true"
|
||||
android:src="@mipmap/default_head_img"
|
||||
app:es_shape_type="round"
|
||||
android:id="@+id/item_head_civ"
|
||||
app:ease_border_width="@dimen/dp_1"
|
||||
app:ease_border_color="@color/white" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_25"
|
||||
android:drawableTop="@mipmap/heart_icon"
|
||||
android:gravity="center"
|
||||
android:text="8.88w"
|
||||
android:drawablePadding="@dimen/dp_m_10"
|
||||
android:id="@+id/item_like_tv"
|
||||
android:textSize="@dimen/sp_12"
|
||||
android:textColor="@android:color/white" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_25"
|
||||
android:drawableTop="@mipmap/msg_icon"
|
||||
android:gravity="center"
|
||||
android:text="9.99w"
|
||||
android:id="@+id/item_comment_tv"
|
||||
android:drawablePadding="@dimen/dp_m_10"
|
||||
|
||||
android:textSize="@dimen/sp_12"
|
||||
android:textColor="@android:color/white" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_25"
|
||||
android:drawableTop="@mipmap/share_icon"
|
||||
android:gravity="center"
|
||||
android:id="@+id/item_share_tv"
|
||||
android:text="@string/share_txt"
|
||||
android:textColor="@android:color/white" />
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:drawableTop="@mipmap/tiktok_more_img"
|
||||
android:gravity="center"
|
||||
android:visibility="gone"
|
||||
android:id="@+id/item_more_tv"
|
||||
android:textColor="@android:color/white" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginRight="@dimen/dp_60"
|
||||
android:layout_marginBottom="80dp"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableLeft="@mipmap/map_pin_fill"
|
||||
android:text="湖南省长沙市"
|
||||
android:id="@+id/loc_tv"
|
||||
android:visibility="gone"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:background="@drawable/map_txt_bg"
|
||||
android:padding="@dimen/dp_5"
|
||||
android:maxWidth="@dimen/dp_300"
|
||||
android:ellipsize="end"
|
||||
android:lines="1"
|
||||
android:layout_marginBottom="@dimen/dp_10"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
<TextView
|
||||
android:id="@+id/mTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:lineSpacingExtra="5dp"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="16sp"
|
||||
tools:text="111111111" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_height="wrap_content">
|
||||
<TextView
|
||||
android:id="@+id/mTitle1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:lineSpacingExtra="5dp"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="14sp"
|
||||
android:ellipsize="end"
|
||||
tools:text="测试测试数据哈哈哈哈家里几个垃圾了个两个垃圾\nkdskgjdsfjkhgjfdagjajkfdsgjkdsgsadjk" />
|
||||
|
||||
</RelativeLayout>
|
||||
<TextView
|
||||
android:id="@+id/mTitle2"
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:lineSpacingExtra="5dp"
|
||||
android:layout_marginTop="@dimen/dp_3"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="14sp"
|
||||
android:text="@string/full_text_txt"
|
||||
android:layout_alignBottom="@id/mTitle1"
|
||||
android:layout_alignRight="@id/mTitle1"/>
|
||||
|
||||
</LinearLayout>
|
||||
<SeekBar
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="4dp"
|
||||
android:visibility="visible"
|
||||
android:id="@+id/progress"
|
||||
android:progress="0"
|
||||
android:max="100"
|
||||
android:layout_marginLeft="-20dp"
|
||||
android:layout_marginRight="-20dp"
|
||||
android:progressDrawable="@drawable/seek_bar_bg"
|
||||
android:thumb="@drawable/seek_bar_thumb1"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginBottom="@dimen/dp_40"
|
||||
style="@style/Widget.AppCompat.ProgressBar.Horizontal"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/mPlay"
|
||||
android:layout_width="84dp"
|
||||
android:layout_height="84dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:alpha="0"
|
||||
android:scaleType="centerInside"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:src="@mipmap/play_arrow" />
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="30dp"
|
||||
android:id="@+id/daodile_txt"
|
||||
android:visibility="gone"
|
||||
android:text="@string/yjddl_txt"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/color_999999"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginBottom="@dimen/dp_10"
|
||||
android:background="@color/black"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
42
app/src/main/res/layout/item_type.xml
Normal file
42
app/src/main/res/layout/item_type.xml
Normal file
@@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.appcompat.widget.LinearLayoutCompat 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="50dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="@dimen/dp_16"
|
||||
android:paddingRight="@dimen/dp_16"
|
||||
android:id="@+id/item_bg1"
|
||||
|
||||
tools:ignore="MissingDefaultResource">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="horizontal"
|
||||
android:layout_weight="1">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:id="@+id/item_bg"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_16"
|
||||
>
|
||||
</TextView>
|
||||
<ImageView
|
||||
android:id="@+id/duigou_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginRight="@dimen/dp_8"
|
||||
android:src="@mipmap/dialog_gou_tt"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:background="#F2F2F2"/>
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
94
app/src/main/res/layout/item_useralbum_list.xml
Normal file
94
app/src/main/res/layout/item_useralbum_list.xml
Normal file
@@ -0,0 +1,94 @@
|
||||
<?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"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="@dimen/dimen_5_dp">
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/cardview_useralbum"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
app:cardCornerRadius="@dimen/dp_4"
|
||||
app:cardElevation="@dimen/dp_0"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_useralbum_img"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:scaleType="centerCrop" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_useralbum_add"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:drawableTop="@mipmap/ic_add_useralbum"
|
||||
android:gravity="center"
|
||||
android:paddingTop="@dimen/dp_10"
|
||||
android:text="@string/userphoto_newcreate_titile"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="@dimen/sp_14"
|
||||
android:visibility="gone" />
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/layout_useralbum_inputpwd"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/color_000000_alpha50"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:drawableTop="@mipmap/ic_useralbum_pwd"
|
||||
android:drawablePadding="@dimen/dp_10"
|
||||
android:gravity="center"
|
||||
android:text="@string/userphoto_create_private"
|
||||
android:textColor="@color/color_ededed"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_useralbum_number"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom|right"
|
||||
android:background="@drawable/cornor_80000000_4dp"
|
||||
android:drawableStart="@mipmap/ic_useralbum_img"
|
||||
android:drawablePadding="@dimen/dp_4"
|
||||
android:padding="@dimen/dp_5"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/sp_12" />
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_useralbum_type"
|
||||
android:layout_width="@dimen/dp_40"
|
||||
android:layout_height="@dimen/dp_32"
|
||||
android:layout_marginTop="-3dp"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/cardview_useralbum" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_useralbum_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
app:layout_constraintTop_toBottomOf="@+id/cardview_useralbum" />
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
18
app/src/main/res/layout/item_watch_images.xml
Normal file
18
app/src/main/res/layout/item_watch_images.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
|
||||
<com.luck.picture.lib.photoview.PhotoView
|
||||
android:id="@+id/watch_image_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="fitXY" />
|
||||
|
||||
</RelativeLayout>
|
||||
49
app/src/main/res/layout/kenengrenshi_child_item.xml
Normal file
49
app/src/main/res/layout/kenengrenshi_child_item.xml
Normal file
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_65"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:gravity="center_vertical"
|
||||
android:id="@+id/big_ly"
|
||||
android:orientation="horizontal"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/logo_iv"
|
||||
android:layout_width="@dimen/dp_45"
|
||||
android:layout_height="@dimen/dp_45"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_centerInParent="true"
|
||||
android:background="@mipmap/default_head_img"
|
||||
app:avatarCorner="@dimen/dp_23" />
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_45"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:id="@+id/item_title_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Sandy Kwong Lai Ying"
|
||||
android:layout_weight="1"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/tongxunluhaoyou_txt"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="@dimen/sp_14"
|
||||
/>
|
||||
</LinearLayout>
|
||||
<ImageView
|
||||
android:id="@+id/add_friend_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:src="@mipmap/add_friend_txl_img"/>
|
||||
|
||||
</LinearLayout>
|
||||
45
app/src/main/res/layout/layout_common_search.xml
Normal file
45
app/src/main/res/layout/layout_common_search.xml
Normal file
@@ -0,0 +1,45 @@
|
||||
<?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"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/cornor_f4f4f4_6dp">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/ic_common_search"
|
||||
android:layout_width="@dimen/dp_16"
|
||||
android:layout_height="@dimen/dp_16"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:src="@mipmap/ic_chat_search1"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_common_searchcontent"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginStart="@dimen/dp_5"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:background="@android:color/transparent"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="@string/addfriend_search_text"
|
||||
android:textColorHint="@color/color_cccccc"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toRightOf="@+id/ic_common_search"
|
||||
app:layout_constraintRight_toLeftOf="@+id/iv_commonsearch_scan"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_commonsearch_scan"
|
||||
android:layout_width="@dimen/dp_30"
|
||||
android:layout_height="match_parent"
|
||||
android:scaleType="centerInside"
|
||||
android:layout_marginEnd="@dimen/dp_5"
|
||||
android:src="@mipmap/ic_chat_scan"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
47
app/src/main/res/layout/layout_common_search1.xml
Normal file
47
app/src/main/res/layout/layout_common_search1.xml
Normal file
@@ -0,0 +1,47 @@
|
||||
<?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"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/cornor_33ffffff_6dp">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/ic_common_search"
|
||||
android:layout_width="@dimen/dp_16"
|
||||
android:layout_height="@dimen/dp_16"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:src="@mipmap/ic_chat_search"
|
||||
android:tint="@color/white"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_common_searchcontent"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginStart="@dimen/dp_5"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:background="@android:color/transparent"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="@string/addfriend_search_text"
|
||||
android:textColorHint="@color/white"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toRightOf="@+id/ic_common_search"
|
||||
app:layout_constraintRight_toLeftOf="@+id/iv_commonsearch_scan"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_commonsearch_scan"
|
||||
android:layout_width="@dimen/dp_30"
|
||||
android:layout_height="match_parent"
|
||||
android:scaleType="centerInside"
|
||||
android:layout_marginEnd="@dimen/dp_5"
|
||||
android:src="@mipmap/ic_chat_scan"
|
||||
android:tint="@color/white"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
88
app/src/main/res/layout/link_image.xml
Normal file
88
app/src/main/res/layout/link_image.xml
Normal file
@@ -0,0 +1,88 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
>
|
||||
<LinearLayout android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="@dimen/dp_10"
|
||||
android:id="@+id/big_bg"
|
||||
android:background="@drawable/fun_message_send_bg">
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/card_1"
|
||||
android:layout_width="169dp"
|
||||
android:layout_height="wrap_content"
|
||||
app:cardCornerRadius="@dimen/dp_10"
|
||||
app:cardElevation="@dimen/dp_0"
|
||||
app:cardBackgroundColor="@color/white">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<ImageView
|
||||
android:id="@+id/pic_ic"
|
||||
android:scaleType="fitXY"
|
||||
android:adjustViewBounds="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/ic_launcher"/>
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dp_20"
|
||||
android:layout_height="@dimen/dp_20"
|
||||
android:layout_margin="@dimen/dp_10"
|
||||
android:id="@+id/video_tag"
|
||||
android:visibility="gone"
|
||||
android:src="@mipmap/circle_video_img"/>
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/title_tv"
|
||||
android:layout_margin="@dimen/dp_5"
|
||||
android:maxLines="2"
|
||||
android:ellipsize="end"
|
||||
android:lineSpacingExtra="@dimen/dp_3"
|
||||
android:text="神仙姐姐的古装热剧推荐"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="@dimen/dp_5"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginBottom="@dimen/dp_5"
|
||||
android:orientation="horizontal">
|
||||
<com.dskj.rbchat.widget.CircleImageView
|
||||
android:layout_width="@dimen/dp_24"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@mipmap/default_head_img"
|
||||
app:es_shape_type="round"
|
||||
android:id="@+id/head_iv"/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="@dimen/dimen_24_dp"
|
||||
android:text="比昂"
|
||||
android:id="@+id/user_name_tv"
|
||||
android:layout_marginLeft="@dimen/dp_5"
|
||||
android:layout_marginRight="@dimen/dp_5"
|
||||
android:lines="1"
|
||||
android:singleLine="true"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||
</LinearLayout>
|
||||
|
||||
</merge>
|
||||
21
app/src/main/res/layout/pay_number_item.xml
Normal file
21
app/src/main/res/layout/pay_number_item.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/top_name1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="58dp"
|
||||
android:layout_marginTop="1dp"
|
||||
android:layout_marginLeft="0.5dp"
|
||||
android:layout_marginRight="0.5dp"
|
||||
android:background="@color/white"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/top_name"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="25sp" />
|
||||
|
||||
</LinearLayout>
|
||||
294
app/src/main/res/layout/report_activity.xml
Normal file
294
app/src/main/res/layout/report_activity.xml
Normal file
@@ -0,0 +1,294 @@
|
||||
<?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"
|
||||
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/main_about_titleBar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/color_fcfcfc"
|
||||
app:titleText="@string/teamsetting_jubao"/>
|
||||
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:id="@+id/step_1_lyf"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/step_1_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:visibility="visible">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/jubao_type_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_54"
|
||||
android:background="@color/white"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/jubao_txt"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:text="@string/report_type_txt"
|
||||
android:textColor="#ff303336"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/user_head_iv"
|
||||
android:layout_width="@dimen/dp_24"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:layout_marginLeft="@dimen/dp_4" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/name_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:text="阿尼亚"
|
||||
android:textColor="#ff0f1828"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/dongtai_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginTop="@dimen/dp_15"
|
||||
android:text="@string/report_updates_txt"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="14sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/card_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_52"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:visibility="gone"
|
||||
android:layout_marginBottom="@dimen/dp_10"
|
||||
app:cardBackgroundColor="@color/color_f4f4f4"
|
||||
app:cardCornerRadius="@dimen/dp_10"
|
||||
app:cardElevation="0dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/left_ry"
|
||||
android:layout_width="@dimen/dp_42"
|
||||
android:layout_marginLeft="@dimen/dp_5"
|
||||
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_height="@dimen/dp_42">
|
||||
|
||||
<com.dskj.rbchat.widget.CircleImageView
|
||||
android:id="@+id/big_iv"
|
||||
android:layout_width="@dimen/dp_42"
|
||||
android:layout_height="@dimen/dp_42"
|
||||
app:es_shape_type="rectangle"
|
||||
app:ease_radius="@dimen/dp_4"
|
||||
android:src="@mipmap/ic_launcher"/>
|
||||
<ImageView
|
||||
android:id="@+id/video_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:src="@mipmap/message_play_img"
|
||||
android:visibility="gone" />
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/text_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:ellipsize="end"
|
||||
android:maxLines="2"
|
||||
android:text="茶言茶语:激励自己的不是心灵鸡汤励志语录,而是那些比自己优秀的人还在努力。所以请努力到无能为力,拼搏到感动..."
|
||||
android:textColor="#7E7B84"
|
||||
android:textSize="12sp" />
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
<View
|
||||
android:id="@+id/jubao_v1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="15dp"
|
||||
android:background="@color/white"
|
||||
android:visibility="gone" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="10dp"
|
||||
android:background="#F6F5F7"
|
||||
android:visibility="visible" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="44dp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="@dimen/dp_20"
|
||||
android:text="@string/report_reason_txt"
|
||||
android:textColor="#303336"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recylerview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="44dp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="@dimen/dp_20"
|
||||
android:text="@string/report_sau_remarks_txt"
|
||||
android:textColor="#303336"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_120">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/qianming_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:background="@drawable/input_bg_t"
|
||||
android:gravity="top"
|
||||
android:hint="@string/report_edit_hint_txt"
|
||||
android:maxLength="100"
|
||||
android:padding="15dp"
|
||||
android:paddingLeft="@dimen/dp_23"
|
||||
android:paddingRight="@dimen/dp_18"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="@color/color_adb5bd"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/number_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginRight="30dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:text="0/100"
|
||||
android:textColor="#ffadb5bd"
|
||||
android:textSize="10sp" />
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tupianzhenming_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="44dp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="@dimen/dp_20"
|
||||
android:text="@string/tupianzhengming_txt"
|
||||
android:textColor="#303336"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:text="@string/report_pic_des_txt"
|
||||
android:textColor="#ffadb5bd"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recylerview1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="13dp"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:layout_marginRight="13dp" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tijiao_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_52"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:layout_marginBottom="@dimen/dp_34"
|
||||
android:background="@drawable/index_user_bg3"
|
||||
android:gravity="center"
|
||||
android:text="@string/sumbit_txt"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
<LinearLayout
|
||||
android:id="@+id/step_2_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="100dp"
|
||||
android:layout_marginTop="112dp"
|
||||
android:src="@mipmap/success_img"
|
||||
android:visibility="visible" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="12dp"
|
||||
android:text="@string/sumbit_success_txt"
|
||||
android:textColor="#ff303336"
|
||||
android:textSize="24sp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="30dp"
|
||||
android:layout_marginTop="27dp"
|
||||
android:layout_marginRight="30dp"
|
||||
android:text="@string/report_succ_tips_des_txt"
|
||||
android:textColor="#ADB5BD"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="68dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/back_tv"
|
||||
android:layout_width="310dp"
|
||||
android:layout_height="52dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:background="@drawable/index_user_bg3"
|
||||
android:gravity="center"
|
||||
android:text="@string/sure_txt"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
31
app/src/main/res/layout/report_item.xml
Normal file
31
app/src/main/res/layout/report_item.xml
Normal file
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/top_name1"
|
||||
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
<ImageView
|
||||
android:id="@+id/gou_iv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="30dp"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:src="@mipmap/dialog_gou_ff"/>
|
||||
<TextView
|
||||
android:id="@+id/top_name"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="#00000000"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="#000000"
|
||||
android:paddingLeft="7dp"
|
||||
android:textSize="14sp"/>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
40
app/src/main/res/layout/ring_child_item.xml
Normal file
40
app/src/main/res/layout/ring_child_item.xml
Normal file
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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:id="@+id/layout_ringroot"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_54"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_ringtitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:background="@android:color/transparent"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_ringselected"
|
||||
android:layout_width="@dimen/dp_20"
|
||||
android:layout_height="@dimen/dp_20"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:background="@mipmap/ic_ring_selected"
|
||||
android:visibility="gone" />
|
||||
|
||||
<View
|
||||
android:id="@+id/line_ring"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_1"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:background="@color/color_f4f4f4" />
|
||||
</RelativeLayout>
|
||||
37
app/src/main/res/layout/scankit_layout.xml
Normal file
37
app/src/main/res/layout/scankit_layout.xml
Normal file
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_top"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_gravity="center_horizontal|bottom"
|
||||
android:layout_marginBottom="@dimen/dp_240"
|
||||
android:gravity="center"
|
||||
android:clickable="true"
|
||||
android:paddingLeft="@dimen/dp_20"
|
||||
android:paddingRight="@dimen/dp_20"
|
||||
android:onClick="showQrcode"
|
||||
android:id="@+id/layout_hide"
|
||||
android:background="@drawable/saoma_btn1"
|
||||
android:layout_height="@dimen/dp_40">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/wdewm_txt"
|
||||
android:gravity="center_vertical"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:drawableLeft="@mipmap/saoma_img"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_14"
|
||||
/>
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
||||
150
app/src/main/res/layout/scankit_zxl_capture.xml
Normal file
150
app/src/main/res/layout/scankit_zxl_capture.xml
Normal file
@@ -0,0 +1,150 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><!--
|
||||
Copyright (C) 2008 ZXing authors
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:my_view="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<FrameLayout
|
||||
android:background="#000000"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<TextureView
|
||||
android:id="@+id/surfaceView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
/>
|
||||
|
||||
<com.huawei.hms.scankit.ViewfinderView
|
||||
android:id="@+id/viewfinderView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:textAllCaps="false"
|
||||
my_view:scankit_cornerColor="#FFFFFF"
|
||||
my_view:scankit_frameColor="#00FFFFFF"
|
||||
my_view:scankit_labelText="@string/scankit_scan_tip"
|
||||
my_view:scankit_labelTextColor="#FFFFFF"
|
||||
my_view:scankit_labelTextSize="12sp" />
|
||||
</FrameLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/scan_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="56dp"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title_scan"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="10sp"
|
||||
android:layout_toRightOf="@+id/back_img_in"
|
||||
android:contentDescription="@string/scankit_title"
|
||||
android:gravity="center_vertical"
|
||||
android:textAllCaps="false"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textSize="20sp"
|
||||
android:textStyle="bold" />
|
||||
<!-- android:text="@string/scankit_title"-->
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/back_img_in"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:padding="12dp"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_marginStart="12dp"
|
||||
android:contentDescription="@string/scankit_talkback_back"
|
||||
android:layout_marginTop="4dp"
|
||||
android:gravity="center"
|
||||
android:src="@mipmap/user_colose_img"
|
||||
/>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/flash_light_ll"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_marginBottom="48dp"
|
||||
android:layout_marginLeft="48dp"
|
||||
android:visibility="gone"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
style="@style/Scankit_OnClick"
|
||||
android:id="@+id/ivFlash"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:contentDescription="@string/scankit_light"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:src="@drawable/scankit_flash_selected_selector2"
|
||||
android:visibility="visible" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/flash_light_text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/scankit_light"
|
||||
android:textAllCaps="false"
|
||||
android:textColor="#ffffff"
|
||||
android:textSize="12sp"
|
||||
android:visibility="gone"/>
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="14sp"
|
||||
android:layout_gravity="bottom|center_horizontal"
|
||||
android:layout_marginBottom="104dp"
|
||||
android:textColor="#FFFFFF"
|
||||
android:visibility="invisible"
|
||||
android:contentDescription="@string/scankit_scan_tip"
|
||||
android:text="@string/scankit_scan_tip"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/img_btn"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="36dp"
|
||||
android:layout_gravity="bottom|right"
|
||||
android:layout_marginBottom="@dimen/dp_220"
|
||||
android:layout_marginRight="48dp"
|
||||
android:gravity="center"
|
||||
android:contentDescription="@string/scankit_talkback_photo"
|
||||
android:src="@drawable/scankit_photo" />
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_200"
|
||||
android:layout_gravity="bottom|right"
|
||||
android:paddingLeft="@dimen/dp_20"
|
||||
android:paddingRight="@dimen/dp_20"
|
||||
android:id="@+id/bot_ly"
|
||||
android:background="@color/white">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="@dimen/dp_60"
|
||||
android:text="@string/saoyisao_tips_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
||||
222
app/src/main/res/layout/scankit_zxl_capture_new.xml
Normal file
222
app/src/main/res/layout/scankit_zxl_capture_new.xml
Normal file
@@ -0,0 +1,222 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><!--
|
||||
Copyright (C) 2008 ZXing authors
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:my_view="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/scan_parent_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:clipChildren="false">
|
||||
<FrameLayout
|
||||
android:id="@+id/layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#000000">
|
||||
|
||||
<TextureView
|
||||
android:id="@+id/surfaceView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
</FrameLayout>
|
||||
|
||||
<com.huawei.hms.scankit.ViewfinderView
|
||||
android:id="@+id/viewfinderView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:textAllCaps="false"
|
||||
my_view:scankit_line_anim="false" />
|
||||
<LinearLayout
|
||||
android:id="@+id/scanLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
<FrameLayout
|
||||
android:id="@+id/scankit_title_frame"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:orientation="vertical"
|
||||
android:layout_weight="2">
|
||||
<RelativeLayout
|
||||
android:id="@+id/scan_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/back_layout"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_marginStart="12dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:background="@drawable/scankit_appbar_pressed_selected">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/back_img_in"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_margin="12dp"
|
||||
android:clickable="false"
|
||||
android:contentDescription="@string/scankit_talkback_back"
|
||||
android:gravity="center"
|
||||
android:src="@mipmap/user_colose_img" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
</FrameLayout>
|
||||
<ImageView
|
||||
android:id="@+id/ivScan"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_weight="3" />
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/flash_light_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="2">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/flash_light_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="invisible"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivFlash"
|
||||
style="@style/Scankit_OnClick"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="24dp"
|
||||
android:contentDescription="@string/scankit_light"
|
||||
android:src="@drawable/scankit_flash_selector"
|
||||
android:visibility="visible" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/flash_light_text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="4dp"
|
||||
android:gravity="center"
|
||||
android:fontFamily="sans-serif"
|
||||
android:shadowColor="#4d000000"
|
||||
android:shadowRadius="4.0"
|
||||
android:text="@string/scankit_light"
|
||||
android:textAllCaps="false"
|
||||
android:textColor="#ffffff"
|
||||
android:textSize="14sp"
|
||||
android:visibility="visible" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
||||
</LinearLayout>
|
||||
<include layout="@layout/scankit_title_landscape" />
|
||||
<LinearLayout
|
||||
android:id="@+id/scan_title_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="80dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginStart="24dp"
|
||||
android:layout_marginEnd="24dp"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:id="@+id/title_scan"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:shadowColor="#4d000000"
|
||||
android:shadowRadius="4.0"
|
||||
android:visibility="invisible"
|
||||
android:text="@string/scankit_title_all"
|
||||
android:textAllCaps="false"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textSize="18sp"
|
||||
android:gravity="center_horizontal"
|
||||
android:layout_gravity="center" />
|
||||
<TextView
|
||||
android:id="@+id/title_scan_level_two"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:shadowColor="#4d000000"
|
||||
android:shadowRadius="4.0"
|
||||
android:visibility="invisible"
|
||||
android:text="@string/scankit_title_all_level_two"
|
||||
android:textAllCaps="false"
|
||||
android:textColor="#99ffffff"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="normal"
|
||||
android:gravity="center_horizontal"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginStart="24dp"
|
||||
android:layout_marginEnd="24dp" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_200"
|
||||
android:layout_gravity="bottom|right"
|
||||
android:paddingLeft="@dimen/dp_20"
|
||||
android:paddingRight="@dimen/dp_20"
|
||||
android:id="@+id/bot_ly"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:background="@color/white">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="@dimen/dp_60"
|
||||
android:text="@string/saoyisao_tips_txt"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/sp_14"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/gallery_Layout"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_marginEnd="12dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_marginBottom="@dimen/dp_240"
|
||||
android:background="@drawable/scankit_appbar_pressed_selected">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/img_btn"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_margin="12dp"
|
||||
android:clickable="false"
|
||||
android:contentDescription="@string/scankit_talkback_photo"
|
||||
android:gravity="center"
|
||||
android:src="@drawable/scankit_ic_photo" />
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
84
app/src/main/res/layout/search_location_view_holder.xml
Normal file
84
app/src/main/res/layout/search_location_view_holder.xml
Normal file
@@ -0,0 +1,84 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (c) 2022 NetEase, Inc. All rights reserved. -->
|
||||
<!-- Use of this source code is governed by a MIT license that can be -->
|
||||
<!-- found in the LICENSE file. -->
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="@dimen/dimen_12_dp"
|
||||
android:paddingRight="@dimen/dimen_12_dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/location_icon"
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="@dimen/dimen_18_dp"
|
||||
android:visibility="visible"
|
||||
android:layout_marginTop="@dimen/dimen_16_dp"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
<ImageView
|
||||
android:id="@+id/logo_iv"
|
||||
android:layout_width="@dimen/dp_30"
|
||||
android:layout_height="@dimen/dp_30"
|
||||
android:padding="@dimen/dp_5"
|
||||
android:visibility="gone"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:src="@drawable/ic_location"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/location_title"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dimen_4_dp"
|
||||
android:layout_marginRight="@dimen/dimen_4_dp"
|
||||
|
||||
android:ellipsize="end"
|
||||
android:lines="1"
|
||||
android:text="1111111111"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_16"
|
||||
app:layout_constraintBottom_toBottomOf="@id/location_icon"
|
||||
app:layout_constraintLeft_toRightOf="@id/location_icon"
|
||||
app:layout_constraintRight_toLeftOf="@+id/location_selected"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/location_icon" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/location_desc"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_6_dp"
|
||||
android:layout_marginRight="@dimen/dimen_4_dp"
|
||||
android:ellipsize="end"
|
||||
android:text="22222222222222"
|
||||
android:lines="1"
|
||||
android:textColor="@color/color_b3b7bc"
|
||||
android:textSize="@dimen/text_size_14"
|
||||
app:layout_constraintLeft_toLeftOf="@id/location_title"
|
||||
app:layout_constraintRight_toLeftOf="@+id/location_selected"
|
||||
app:layout_constraintTop_toBottomOf="@id/location_title" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/location_selected"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_location_selected1"
|
||||
android:visibility="gone"
|
||||
android:layout_marginTop="@dimen/dimen_8_dp"
|
||||
android:layout_marginRight="@dimen/dimen_15_dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1px"
|
||||
android:layout_marginTop="@dimen/dimen_16_dp"
|
||||
android:visibility="gone"
|
||||
android:background="@color/color_e9eff5"
|
||||
app:layout_constraintTop_toBottomOf="@id/location_desc" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
54
app/src/main/res/layout/server_config_activity.xml
Normal file
54
app/src/main/res/layout/server_config_activity.xml
Normal file
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:orientation="vertical"
|
||||
android:background="@color/color_eff1f4">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/type_select_title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_55_dp"
|
||||
app:titleText="@string/server_config"
|
||||
tools:ignore="MissingConstraints" />
|
||||
<com.netease.yunxin.kit.common.ui.widgets.RoundFrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/color_white"
|
||||
app:corner_radius="@dimen/dp_8"
|
||||
android:layout_marginStart="@dimen/dimen_20_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_20_dp">
|
||||
<RadioGroup android:id="@+id/server_radio_group"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginStart="@dimen/dimen_20_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_20_dp">
|
||||
<RadioButton
|
||||
android:id="@+id/server_china_config"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_36_dp"
|
||||
android:button="@null"
|
||||
android:drawableStart="@drawable/app_radio_blue_selector"
|
||||
android:drawablePadding="@dimen/dp_8"
|
||||
android:text="@string/server_config_china_text"/>
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/server_oversea_config"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_36_dp"
|
||||
android:button="@null"
|
||||
android:drawableStart="@drawable/app_radio_blue_selector"
|
||||
android:drawablePadding="@dimen/dp_8"
|
||||
android:text="@string/server_config_oversea_text"/>
|
||||
</RadioGroup>
|
||||
</com.netease.yunxin.kit.common.ui.widgets.RoundFrameLayout>
|
||||
|
||||
</LinearLayout>
|
||||
62
app/src/main/res/layout/team_members_view_holder.xml
Normal file
62
app/src/main/res/layout/team_members_view_holder.xml
Normal file
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/root_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/ic_delete"
|
||||
android:layout_width="@dimen/dp_20"
|
||||
android:layout_height="@dimen/dp_20"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/avatar_view"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/avatar_view" />
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/avatar_view"
|
||||
android:layout_width="@dimen/dimen_45_dp"
|
||||
android:layout_height="@dimen/dimen_45_dp"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginBottom="@dimen/dp_20"
|
||||
app:avatarCorner="@dimen/dimen_45_dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/ic_delete"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_goneMarginStart="0dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_name"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:ellipsize="end"
|
||||
android:maxLines="1"
|
||||
android:text="dfff"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_16"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toTopOf="@+id/tv_name_activetime"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/avatar_view"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_name_activetime"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingStart="@dimen/dp_5"
|
||||
android:paddingEnd="@dimen/dp_5"
|
||||
android:textSize="@dimen/sp_12"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/avatar_view"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/tv_name" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
38
app/src/main/res/layout/type_select_activity.xml
Normal file
38
app/src/main/res/layout/type_select_activity.xml
Normal file
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/llyRoot"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:orientation="vertical"
|
||||
android:background="@color/color_eff1f4">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/type_select_title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_55_dp"
|
||||
tools:ignore="MissingConstraints" />
|
||||
<com.netease.yunxin.kit.common.ui.widgets.RoundFrameLayout
|
||||
android:id="@+id/rfLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/color_white"
|
||||
app:corner_radius="@dimen/dp_8"
|
||||
android:layout_marginLeft="@dimen/dimen_20_dp"
|
||||
android:layout_marginRight="@dimen/dimen_20_dp">
|
||||
<RadioGroup android:id="@+id/type_radio_group"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginStart="@dimen/dimen_20_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_20_dp">
|
||||
</RadioGroup>
|
||||
</com.netease.yunxin.kit.common.ui.widgets.RoundFrameLayout>
|
||||
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user