143 lines
6.6 KiB
XML
143 lines
6.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:orientation="vertical"
|
|
android:background="@color/color_FAFAFC"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rv_angle_list"
|
|
android:background="@color/color_FFFFFF"
|
|
android:paddingTop="@dimen/angle_set_title_mt"
|
|
android:layout_width="@dimen/angle_list_width"
|
|
android:layout_height="match_parent"/>
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_toRightOf="@+id/rv_angle_list">
|
|
<TextView
|
|
android:textSize="@dimen/theme_18sp"
|
|
android:textColor="@color/theme_txt"
|
|
android:gravity="center"
|
|
android:id="@+id/tv_setting_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="@dimen/round_button_width"
|
|
android:layout_marginTop="@dimen/btn_back_margin_top"
|
|
android:text="@string/v_slider"
|
|
android:layout_centerHorizontal="true"/>
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:id="@+id/layout_engine"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true">
|
|
<RelativeLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/match_25"
|
|
android:layout_weight="1">
|
|
<ImageView
|
|
android:id="@+id/im_engine_clockwise"
|
|
android:layout_width="@dimen/engine_clockwise_w_h"
|
|
android:layout_height="@dimen/engine_clockwise_w_h"
|
|
android:layout_centerHorizontal="true"/>
|
|
<TextView
|
|
android:textSize="@dimen/theme_16sp"
|
|
android:textColor="@color/bg_596F80"
|
|
android:ellipsize="end"
|
|
android:gravity="center"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/match_12"
|
|
android:text="@string/engine_rotate_clockwise"
|
|
android:singleLine="true"
|
|
android:layout_below="@+id/im_engine_clockwise"
|
|
android:layout_centerHorizontal="true"/>
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/match_25"
|
|
android:layout_weight="1">
|
|
<ImageView
|
|
android:id="@+id/im_engine_anticlockwise"
|
|
android:layout_width="@dimen/engine_clockwise_w_h"
|
|
android:layout_height="@dimen/engine_clockwise_w_h"
|
|
android:layout_centerHorizontal="true"/>
|
|
<TextView
|
|
android:textSize="@dimen/theme_16sp"
|
|
android:textColor="@color/bg_596F80"
|
|
android:ellipsize="end"
|
|
android:gravity="center"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/match_12"
|
|
android:text="@string/engine_rotate_anticlockwise"
|
|
android:singleLine="true"
|
|
android:layout_below="@+id/im_engine_anticlockwise"
|
|
android:layout_centerHorizontal="true"/>
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
<TextView
|
|
android:textSize="@dimen/txt_size_18"
|
|
android:textColor="@color/bg_596F80"
|
|
android:gravity="center"
|
|
android:paddingLeft="@dimen/match_12"
|
|
android:paddingRight="@dimen/match_12"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/match_25"
|
|
android:text="@string/engine_rotate_clockwise_hint"
|
|
android:layout_below="@+id/layout_engine"
|
|
android:layout_centerHorizontal="true"/>
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
|
android:id="@+id/rl_angle_title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/btn_back_margin_top">
|
|
<ImageView
|
|
android:id="@+id/im_back"
|
|
android:layout_width="@dimen/round_button_width"
|
|
android:layout_height="@dimen/round_button_width"
|
|
android:layout_marginLeft="@dimen/btn_back_margin_top"
|
|
android:layout_centerVertical="true"/>
|
|
<ImageView
|
|
android:id="@+id/angle_affirm"
|
|
android:layout_width="@dimen/round_button_width"
|
|
android:layout_height="@dimen/round_button_width"
|
|
android:layout_marginRight="10dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"/>
|
|
<ImageView
|
|
android:id="@+id/im_delete"
|
|
android:layout_width="@dimen/round_button_width"
|
|
android:layout_height="@dimen/round_button_width"
|
|
android:layout_marginRight="10dp"
|
|
android:layout_toLeftOf="@+id/angle_affirm"
|
|
android:layout_centerVertical="true"/>
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
|
android:id="@+id/layout_default_page"
|
|
android:background="@color/bg_FAFAFA"
|
|
android:visibility="gone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_toRightOf="@+id/rv_angle_list">
|
|
<ImageView
|
|
android:id="@+id/im_select_engine"
|
|
android:background="@mipmap/select_engine"
|
|
android:layout_width="@dimen/select_engine_width"
|
|
android:layout_height="@dimen/select_engine_width"
|
|
android:layout_centerInParent="true"/>
|
|
<TextView
|
|
android:textSize="@dimen/txt_size_18"
|
|
android:textColor="@color/txt_798487"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/select_engine_top"
|
|
android:text="@string/select_engine_txt"
|
|
android:layout_below="@+id/im_select_engine"
|
|
android:layout_centerHorizontal="true"/>
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|