Files
iFish7/iFish7/src/main/res/layout/mysetting_activity.xml
T

298 lines
12 KiB
XML

<?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"
android:background="@color/color_F2F2F2"
android:orientation="vertical">
<include
android:id="@+id/in_daohang"
layout="@layout/title_layout" />
<RelativeLayout
android:id="@+id/rl_changenum"
android:layout_width="fill_parent"
android:layout_height="@dimen/mine_fragment_item"
android:layout_marginTop="@dimen/mine_fragment_gray_size"
android:background="@drawable/minefragment_bg_select">
<ImageView
android:id="@+id/iv_iv_phone"
android:layout_width="@dimen/ic_mine_size"
android:layout_height="@dimen/ic_mine_size"
android:layout_centerVertical="true"
android:layout_marginLeft="@dimen/ic_mine_fragment_right"
android:layout_marginRight="@dimen/ic_mine_fragment_right"
android:src="@drawable/ic_mine_changenum" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toRightOf="@+id/iv_iv_phone"
android:text="更换手机"
android:textColor="@color/shoplist_text_item"
android:textSize="17sp" />
<ImageView
android:layout_width="@dimen/mine_fragment_ic_size"
android:layout_height="@dimen/mine_fragment_ic_size"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="@dimen/mine_fragment_ic_right"
android:src="@drawable/ic_back_right_black" />
<View
android:layout_width="fill_parent"
android:layout_height="0.1dp"
android:layout_alignParentBottom="true"
android:background="@color/line_black" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/rl_changepsw"
android:layout_width="fill_parent"
android:layout_height="@dimen/mine_fragment_item"
android:background="@drawable/minefragment_bg_select">
<ImageView
android:id="@+id/iv_iv_password"
android:layout_width="@dimen/ic_mine_size"
android:layout_height="@dimen/ic_mine_size"
android:layout_centerVertical="true"
android:layout_marginLeft="@dimen/ic_mine_fragment_right"
android:layout_marginRight="@dimen/ic_mine_fragment_right"
android:src="@drawable/ic_mine_changepsw" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toRightOf="@+id/iv_iv_password"
android:text="修改密码"
android:textColor="@color/shoplist_text_item"
android:textSize="17sp" />
<ImageView
android:layout_width="@dimen/mine_fragment_ic_size"
android:layout_height="@dimen/mine_fragment_ic_size"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="@dimen/mine_fragment_ic_right"
android:src="@drawable/ic_back_right_black" />
<View
android:layout_width="fill_parent"
android:layout_height="0.1dp"
android:layout_alignParentBottom="true"
android:background="@color/line_black" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/rl_devicerestart"
android:layout_width="fill_parent"
android:layout_height="@dimen/mine_fragment_item"
android:visibility="gone"
android:background="@drawable/minefragment_bg_select">
<ImageView
android:id="@+id/iv_iv3"
android:layout_width="@dimen/ic_mine_size"
android:layout_height="@dimen/ic_mine_size"
android:layout_centerVertical="true"
android:layout_marginLeft="@dimen/ic_mine_fragment_right"
android:layout_marginRight="@dimen/ic_mine_fragment_right"
android:src="@drawable/devicerestart" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toRightOf="@+id/iv_iv3"
android:text="设备重启"
android:textColor="@color/shoplist_text_item"
android:textSize="17sp" />
<ImageView
android:layout_width="@dimen/mine_fragment_ic_size"
android:layout_height="@dimen/mine_fragment_ic_size"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="@dimen/mine_fragment_ic_right"
android:src="@drawable/ic_back_right_black" />
<View
android:layout_width="fill_parent"
android:layout_height="0.1dp"
android:layout_alignParentBottom="true"
android:background="@color/line_black" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/rl_devicereset"
android:layout_width="fill_parent"
android:layout_height="@dimen/mine_fragment_item"
android:background="@drawable/minefragment_bg_select">
<ImageView
android:id="@+id/iv_iv4"
android:layout_width="@dimen/ic_mine_size"
android:layout_height="@dimen/ic_mine_size"
android:layout_centerVertical="true"
android:layout_marginLeft="@dimen/ic_mine_fragment_right"
android:layout_marginRight="@dimen/ic_mine_fragment_right"
android:src="@drawable/devicerefresh" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toRightOf="@+id/iv_iv4"
android:text="恢复出厂设置"
android:textColor="@color/shoplist_text_item"
android:textSize="17sp" />
<ImageView
android:layout_width="@dimen/mine_fragment_ic_size"
android:layout_height="@dimen/mine_fragment_ic_size"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="@dimen/mine_fragment_ic_right"
android:src="@drawable/ic_back_right_black" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/rl_update"
android:layout_width="fill_parent"
android:layout_height="@dimen/mine_fragment_item"
android:layout_marginTop="@dimen/mine_fragment_gray_size"
android:background="@drawable/minefragment_bg_select">
<ImageView
android:id="@+id/iv_iv_check_update"
android:layout_width="@dimen/ic_mine_size"
android:layout_height="@dimen/ic_mine_size"
android:layout_centerVertical="true"
android:layout_marginLeft="@dimen/ic_mine_fragment_right"
android:layout_marginRight="@dimen/ic_mine_fragment_right"
android:src="@drawable/ic_mine_update" />
<TextView
android:id="@+id/tv_check_update"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toRightOf="@+id/iv_iv_check_update"
android:text="检查更新"
android:textColor="@color/shoplist_text_item"
android:textSize="17sp" />
<TextView
android:id="@+id/tv_current_version"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toRightOf="@+id/tv_check_update"
android:layout_marginLeft="10dp"
android:text="当前版本: V1.0.0"
android:textColor="@color/text_hint_login"
android:textSize="13sp"/>
<ImageView
android:layout_width="@dimen/mine_fragment_ic_size"
android:layout_height="@dimen/mine_fragment_ic_size"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="@dimen/mine_fragment_ic_right"
android:src="@drawable/ic_back_right_black" />
<View
android:layout_width="fill_parent"
android:layout_height="0.1dp"
android:layout_alignParentBottom="true"
android:background="@color/line_black" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/rl_logout"
android:layout_width="fill_parent"
android:layout_height="@dimen/mine_fragment_item"
android:background="@drawable/minefragment_bg_select">
<ImageView
android:id="@+id/iv_iv_change_account"
android:layout_width="@dimen/ic_mine_size"
android:layout_height="@dimen/ic_mine_size"
android:layout_centerVertical="true"
android:layout_marginLeft="@dimen/ic_mine_fragment_right"
android:layout_marginRight="@dimen/ic_mine_fragment_right"
android:src="@drawable/ic_mine_logout" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toRightOf="@+id/iv_iv_change_account"
android:text="切换账号"
android:textColor="@color/shoplist_text_item"
android:textSize="17sp" />
<ImageView
android:layout_width="@dimen/mine_fragment_ic_size"
android:layout_height="@dimen/mine_fragment_ic_size"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="@dimen/mine_fragment_ic_right"
android:src="@drawable/ic_back_right_black" />
<View
android:layout_width="fill_parent"
android:layout_height="0.1dp"
android:layout_alignParentBottom="true"
android:background="@color/line_black" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/rl_bindphone"
android:layout_width="fill_parent"
android:layout_height="@dimen/mine_fragment_item"
android:background="@drawable/minefragment_bg_select">
<ImageView
android:id="@+id/iv_iv"
android:layout_width="@dimen/ic_mine_size"
android:layout_height="@dimen/ic_mine_size"
android:layout_centerVertical="true"
android:layout_marginLeft="@dimen/ic_mine_fragment_right"
android:layout_marginRight="@dimen/ic_mine_fragment_right"
android:src="@drawable/bindphoneimg" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toRightOf="@+id/iv_iv"
android:text="手机绑定"
android:textColor="@color/shoplist_text_item"
android:textSize="17sp" />
<ImageView
android:layout_width="@dimen/mine_fragment_ic_size"
android:layout_height="@dimen/mine_fragment_ic_size"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="@dimen/mine_fragment_ic_right"
android:src="@drawable/ic_back_right_black" />
</RelativeLayout>
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/tv_debug"
android:layout_width="fill_parent"
android:layout_height="@dimen/mine_fragment_item"
android:layout_marginTop="@dimen/mine_fragment_gray_size"
android:text="手机环境"
android:visibility="gone"
android:textSize="17sp"
android:gravity="center"
android:background="@drawable/minefragment_bg_select"/>
</LinearLayout>