2019-02-24 15:36:12 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<ScrollView android:id="@+id/sv_control"
|
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/ll_control_panel"
|
|
|
|
|
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:padding="8dp"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/iv_power"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="64dp"
|
|
|
|
|
android:src="@mipmap/button_power"
|
|
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:paddingBottom="16dp"
|
|
|
|
|
android:contentDescription="@string/button_power"
|
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
|
style="?android:buttonBarButtonStyle"/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="1dp"
|
|
|
|
|
android:layout_margin="4dp"
|
|
|
|
|
android:background="#7F7F7F" />
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:padding="8dp"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/iv_back"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="64dp"
|
|
|
|
|
android:src="@mipmap/button_back"
|
|
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:paddingBottom="16dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
|
android:contentDescription="@string/button_back"
|
|
|
|
|
style="?android:buttonBarButtonStyle"/>
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/iv_home"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="64dp"
|
|
|
|
|
android:src="@mipmap/button_home"
|
|
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:paddingBottom="16dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
|
android:contentDescription="@string/button_home"
|
|
|
|
|
style="?android:buttonBarButtonStyle"/>
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/iv_menu"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="64dp"
|
|
|
|
|
android:src="@mipmap/button_menu"
|
|
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:paddingBottom="16dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
|
android:contentDescription="@string/button_menu"
|
|
|
|
|
style="?android:buttonBarButtonStyle"/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:padding="8dp"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_empty_top_left"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="64dp"
|
|
|
|
|
android:layout_weight="1"/>
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/iv_up"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="64dp"
|
|
|
|
|
android:src="@mipmap/button_up"
|
|
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:paddingBottom="16dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
|
android:contentDescription="@string/button_up"
|
|
|
|
|
style="?android:buttonBarButtonStyle"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_empty_top_right"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="64dp"
|
|
|
|
|
android:layout_weight="1"/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:padding="8dp"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/iv_left"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="64dp"
|
|
|
|
|
android:src="@mipmap/button_left"
|
|
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:paddingBottom="16dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
|
android:contentDescription="@string/button_left"
|
|
|
|
|
style="?android:buttonBarButtonStyle"/>
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/iv_ok"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="64dp"
|
|
|
|
|
android:src="@mipmap/button_ok"
|
|
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:paddingBottom="16dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
|
android:contentDescription="@string/button_ok"
|
|
|
|
|
style="?android:buttonBarButtonStyle"/>
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/iv_right"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="64dp"
|
|
|
|
|
android:src="@mipmap/button_right"
|
|
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:paddingBottom="16dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
|
android:contentDescription="@string/button_right"
|
|
|
|
|
style="?android:buttonBarButtonStyle"/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:padding="8dp"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_empty_bottom_left"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="64dp"
|
|
|
|
|
android:layout_weight="1"/>
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/iv_down"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="64dp"
|
|
|
|
|
android:src="@mipmap/button_down"
|
|
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:paddingBottom="16dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
|
android:contentDescription="@string/button_down"
|
|
|
|
|
style="?android:buttonBarButtonStyle"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_empty_bottom_right"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="64dp"
|
|
|
|
|
android:layout_weight="1"/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="1dp"
|
|
|
|
|
android:layout_margin="4dp"
|
|
|
|
|
android:background="#7F7F7F" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:padding="8dp"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/iv_minus"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="64dp"
|
|
|
|
|
android:src="@mipmap/button_minus"
|
|
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:paddingBottom="16dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
|
android:contentDescription="@string/button_minus"
|
|
|
|
|
style="?android:buttonBarButtonStyle"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_empty_center"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="64dp"
|
|
|
|
|
android:layout_weight="1"/>
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/iv_plus"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="64dp"
|
|
|
|
|
android:src="@mipmap/button_plus"
|
|
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:paddingBottom="16dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
|
android:contentDescription="@string/button_plus"
|
|
|
|
|
style="?android:buttonBarButtonStyle"/>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
2017-05-09 11:36:49 +08:00
|
|
|
</ScrollView>
|