Initial commit
This commit is contained in:
92
resources/res/layout/servo_mode_setting_des.xml
Normal file
92
resources/res/layout/servo_mode_setting_des.xml
Normal file
@@ -0,0 +1,92 @@
|
||||
<?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="match_parent">
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/padding_20"
|
||||
android:layout_marginRight="@dimen/padding_20">
|
||||
<RelativeLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1">
|
||||
<ImageView
|
||||
android:id="@+id/iv_angle_des"
|
||||
android:layout_width="@dimen/servo_mode_des"
|
||||
android:layout_height="@dimen/servo_mode_des"
|
||||
android:src="@drawable/ic_angle_des"
|
||||
android:layout_centerHorizontal="true"/>
|
||||
<TextView
|
||||
android:textSize="@dimen/theme_14sp"
|
||||
android:textColor="@color/theme_txt"
|
||||
android:id="@+id/tv_angle_mode_des"
|
||||
android:layout_width="@dimen/servo_mode_des"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/servo_mode_text_top"
|
||||
android:text="@string/servo_mode_angle"
|
||||
android:layout_below="@+id/iv_angle_des"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:textAlignment="center"/>
|
||||
<TextView
|
||||
android:textSize="@dimen/theme_12sp"
|
||||
android:textColor="@color/theme_txt_light"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="@dimen/padding_20"
|
||||
android:paddingRight="@dimen/padding_20"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/servo_mode_text_top"
|
||||
android:text="@string/servo_mode_angle_detail"
|
||||
android:layout_below="@+id/tv_angle_mode_des"
|
||||
android:layout_centerHorizontal="true"/>
|
||||
</RelativeLayout>
|
||||
<RelativeLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1">
|
||||
<ImageView
|
||||
android:id="@+id/iv_turn_des"
|
||||
android:layout_width="@dimen/servo_mode_des"
|
||||
android:layout_height="@dimen/servo_mode_des"
|
||||
android:src="@drawable/ic_turn_des"
|
||||
android:layout_centerHorizontal="true"/>
|
||||
<TextView
|
||||
android:textSize="@dimen/theme_14sp"
|
||||
android:textColor="@color/theme_txt"
|
||||
android:id="@+id/tv_turn_mode_des"
|
||||
android:layout_width="@dimen/servo_mode_des"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/servo_mode_text_top"
|
||||
android:text="@string/servo_mode_turn"
|
||||
android:layout_below="@+id/iv_turn_des"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:textAlignment="center"/>
|
||||
<TextView
|
||||
android:textSize="@dimen/theme_12sp"
|
||||
android:textColor="@color/theme_txt_light"
|
||||
android:paddingLeft="@dimen/padding_20"
|
||||
android:paddingRight="@dimen/padding_20"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/servo_mode_text_top"
|
||||
android:text="@string/servo_mode_turn_detail"
|
||||
android:layout_below="@+id/tv_turn_mode_des"
|
||||
android:layout_centerHorizontal="true"/>
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
<com.ubtech.view.widget.UButton
|
||||
android:textSize="@dimen/theme_btn_txt"
|
||||
android:textColor="@color/theme_btn_txt"
|
||||
android:gravity="center"
|
||||
android:id="@+id/btn_mode_config"
|
||||
android:background="@drawable/sel_common_btn"
|
||||
android:layout_width="@dimen/servo_mode_btn_width"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/servo_mode_btn_bottom"
|
||||
android:text="@string/servo_mode_config"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:textAllCaps="false"/>
|
||||
</RelativeLayout>
|
||||
Reference in New Issue
Block a user