Commit 9feb461b by 刘鹏

feat : 设置页加入滑动

parent b35dc9d7
...@@ -10,197 +10,210 @@ ...@@ -10,197 +10,210 @@
android:id="@+id/tb_title" android:id="@+id/tb_title"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="@dimen/title_bar_height" android:layout_height="@dimen/title_bar_height"
app:pa_left_start_icon="@drawable/platform_common_back"
android:background="@color/platform_white" android:background="@color/platform_white"
app:pa_left_start_icon="@drawable/platform_common_back"
app:pa_title_text="设置" /> app:pa_title_text="设置" />
<ImageView
android:layout_width="match_parent"
android:layout_height="@dimen/divide_line_stroke_width"
android:layout_marginTop="14dp"
android:background="#EDEDED" />
<com.ydl.ydlcommon.view.JumpTextView
android:id="@+id/jtv_phone"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
app:pa_jump_tv_left_text="手机"
app:pa_jump_tv_right_color="#333333"
app:pa_jump_tv_right_text="" />
<LinearLayout <androidx.core.widget.NestedScrollView
android:id="@+id/ll_change_password"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="match_parent">
android:orientation="vertical">
<ImageView
android:layout_width="match_parent"
android:layout_height="@dimen/divide_line_stroke_width"
android:background="#EDEDED" />
<com.ydl.ydlcommon.view.JumpTextView <LinearLayout
android:id="@+id/jtv_change_password"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
app:pa_jump_tv_left_text="登录密码"
app:pa_jump_tv_right_color="#333333" />
</LinearLayout>
<ImageView
android:layout_width="match_parent"
android:layout_height="@dimen/divide_line_stroke_width"
android:background="#EDEDED" />
<com.ydl.ydlcommon.view.JumpTextView
android:id="@+id/person_notify_setting"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
app:pa_jump_tv_left_text="消息设置"
app:pa_jump_tv_right_color="#333333" />
<ImageView
android:layout_width="match_parent"
android:layout_height="@dimen/divide_line_stroke_width"
android:background="#EDEDED" />
<com.ydl.ydlcommon.view.JumpTextView
android:id="@+id/person_black_setting"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
app:pa_jump_tv_left_text="黑名单管理"
app:pa_jump_tv_right_color="#333333" />
<com.ydl.ydlcommon.view.JumpTextView
android:id="@+id/personalize_setting"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
app:pa_jump_tv_left_text="个性化选项"
app:pa_jump_tv_right_color="#333333" />
<ImageView
android:layout_width="match_parent"
android:layout_height="@dimen/divide_line_stroke_width"
android:background="#EDEDED" />
<ImageView
android:layout_width="match_parent"
android:layout_height="@dimen/divide_line_stroke_width"
android:layout_marginTop="14dp"
android:background="#EDEDED" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="55dp"
android:background="#ffffff">
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_marginLeft="15dp" android:orientation="vertical">
android:ellipsize="end" <ImageView
android:gravity="center_vertical" android:layout_width="match_parent"
android:singleLine="true" android:layout_height="@dimen/divide_line_stroke_width"
android:text="听筒模式" /> android:layout_marginTop="14dp"
android:background="#EDEDED" />
<ToggleButton
android:id="@+id/tb_eare" <com.ydl.ydlcommon.view.JumpTextView
android:layout_width="70dp" android:id="@+id/jtv_phone"
android:layout_height="30dp" android:layout_width="match_parent"
android:layout_alignParentRight="true" android:layout_height="wrap_content"
android:layout_centerVertical="true" android:background="@color/white"
android:layout_marginRight="13dp" app:pa_jump_tv_left_text="手机"
android:background="@drawable/user_mine_notify_bg" app:pa_jump_tv_right_color="#333333"
android:textOff=" " app:pa_jump_tv_right_text="" />
android:textOn=" " />
</RelativeLayout>
<LinearLayout
<ImageView android:id="@+id/ll_change_password"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="@dimen/divide_line_stroke_width" android:layout_height="wrap_content"
android:background="#EDEDED" /> android:orientation="vertical">
<ImageView <ImageView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="@dimen/divide_line_stroke_width" android:layout_height="@dimen/divide_line_stroke_width"
android:layout_marginTop="14dp" android:background="#EDEDED" />
android:background="#EDEDED" />
<com.ydl.ydlcommon.view.JumpTextView
<com.ydl.ydlcommon.view.JumpTextView android:id="@+id/jtv_change_password"
android:id="@+id/jtv_wechat" android:layout_width="match_parent"
android:layout_width="match_parent" android:layout_height="wrap_content"
android:layout_height="wrap_content" android:background="@color/white"
android:background="@color/white" app:pa_jump_tv_left_text="登录密码"
app:pa_jump_tv_left_text="微信" app:pa_jump_tv_right_color="#333333" />
app:pa_jump_tv_right_color="#333333" </LinearLayout>
app:pa_jump_tv_right_text="未绑定" />
<ImageView
<ImageView android:layout_width="match_parent"
android:layout_width="match_parent" android:layout_height="@dimen/divide_line_stroke_width"
android:layout_height="@dimen/divide_line_stroke_width" android:background="#EDEDED" />
android:background="#EDEDED" />
<com.ydl.ydlcommon.view.JumpTextView
<com.ydl.ydlcommon.view.JumpTextView android:id="@+id/person_notify_setting"
android:id="@+id/jtv_qq" android:layout_width="match_parent"
android:layout_width="match_parent" android:layout_height="wrap_content"
android:layout_height="wrap_content" android:background="@color/white"
android:background="@color/white" app:pa_jump_tv_left_text="消息设置"
android:visibility="gone" app:pa_jump_tv_right_color="#333333" />
app:pa_jump_tv_left_text="QQ"
app:pa_jump_tv_right_color="#333333" <ImageView
app:pa_jump_tv_right_text="未绑定" android:layout_width="match_parent"
tools:visibility="visible" /> android:layout_height="@dimen/divide_line_stroke_width"
android:background="#EDEDED" />
<ImageView
android:layout_width="match_parent" <com.ydl.ydlcommon.view.JumpTextView
android:layout_height="@dimen/divide_line_stroke_width" android:id="@+id/person_black_setting"
android:background="#EDEDED" /> android:layout_width="match_parent"
android:layout_height="wrap_content"
<View android:background="@color/white"
android:layout_width="match_parent" app:pa_jump_tv_left_text="黑名单管理"
android:layout_height="@dimen/divide_line_stroke_width" app:pa_jump_tv_right_color="#333333" />
android:layout_marginTop="14dp"
android:background="#EDEDED" /> <com.ydl.ydlcommon.view.JumpTextView
android:id="@+id/personalize_setting"
<com.ydl.ydlcommon.view.JumpTextView android:layout_width="match_parent"
android:id="@+id/tv_account_unregister" android:layout_height="wrap_content"
android:layout_width="match_parent" android:background="@color/white"
android:layout_height="wrap_content" app:pa_jump_tv_left_text="个性化选项"
android:background="@color/white" app:pa_jump_tv_right_color="#333333" />
app:pa_jump_tv_left_text="注销账号"
app:pa_jump_tv_right_color="#333333" /> <ImageView
android:layout_width="match_parent"
<ImageView android:layout_height="@dimen/divide_line_stroke_width"
android:layout_width="match_parent" android:background="#EDEDED" />
android:layout_height="@dimen/divide_line_stroke_width"
android:background="#EDEDED" /> <ImageView
android:layout_width="match_parent"
<ImageView android:layout_height="@dimen/divide_line_stroke_width"
android:layout_width="match_parent" android:layout_marginTop="14dp"
android:layout_height="@dimen/divide_line_stroke_width" android:background="#EDEDED" />
android:layout_marginTop="14dp"
android:background="#EDEDED" /> <RelativeLayout
android:layout_width="match_parent"
android:layout_height="55dp"
<com.ydl.ydlcommon.view.RoundCornerButton android:background="#ffffff">
android:id="@+id/rcb_exit"
style="?android:attr/borderlessButtonStyle" <TextView
android:layout_width="match_parent" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="match_parent"
android:text="退出" android:layout_marginLeft="15dp"
app:pa_round_btn_bg="@color/white" /> android:ellipsize="end"
android:gravity="center_vertical"
<ImageView android:singleLine="true"
android:layout_width="match_parent" android:text="听筒模式" />
android:layout_height="@dimen/divide_line_stroke_width"
android:background="#EDEDED" /> <ToggleButton
android:id="@+id/tb_eare"
android:layout_width="70dp"
android:layout_height="30dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="13dp"
android:background="@drawable/user_mine_notify_bg"
android:textOff=" "
android:textOn=" " />
</RelativeLayout>
<ImageView
android:layout_width="match_parent"
android:layout_height="@dimen/divide_line_stroke_width"
android:background="#EDEDED" />
<ImageView
android:layout_width="match_parent"
android:layout_height="@dimen/divide_line_stroke_width"
android:layout_marginTop="14dp"
android:background="#EDEDED" />
<com.ydl.ydlcommon.view.JumpTextView
android:id="@+id/jtv_wechat"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
app:pa_jump_tv_left_text="微信"
app:pa_jump_tv_right_color="#333333"
app:pa_jump_tv_right_text="未绑定" />
<ImageView
android:layout_width="match_parent"
android:layout_height="@dimen/divide_line_stroke_width"
android:background="#EDEDED" />
<com.ydl.ydlcommon.view.JumpTextView
android:id="@+id/jtv_qq"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:visibility="gone"
app:pa_jump_tv_left_text="QQ"
app:pa_jump_tv_right_color="#333333"
app:pa_jump_tv_right_text="未绑定"
tools:visibility="visible" />
<ImageView
android:layout_width="match_parent"
android:layout_height="@dimen/divide_line_stroke_width"
android:background="#EDEDED" />
<View
android:layout_width="match_parent"
android:layout_height="@dimen/divide_line_stroke_width"
android:layout_marginTop="14dp"
android:background="#EDEDED" />
<com.ydl.ydlcommon.view.JumpTextView
android:id="@+id/tv_account_unregister"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
app:pa_jump_tv_left_text="注销账号"
app:pa_jump_tv_right_color="#333333" />
<ImageView
android:layout_width="match_parent"
android:layout_height="@dimen/divide_line_stroke_width"
android:background="#EDEDED" />
<ImageView
android:layout_width="match_parent"
android:layout_height="@dimen/divide_line_stroke_width"
android:layout_marginTop="14dp"
android:background="#EDEDED" />
<com.ydl.ydlcommon.view.RoundCornerButton
android:id="@+id/rcb_exit"
style="?android:attr/borderlessButtonStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="退出"
app:pa_round_btn_bg="@color/white" />
<ImageView
android:layout_width="match_parent"
android:layout_height="@dimen/divide_line_stroke_width"
android:background="#EDEDED" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</LinearLayout> </LinearLayout>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment