android:clickable="true">
<LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical" >
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingTop="6sp"
+ android:orientation="vertical">
<LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
- <ImageButton
- android:id="@+id/button0"
+ <LinearLayout
android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/zfig0" />
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:gravity="center_vertical">
- <ImageButton
- android:id="@+id/button1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/zfig1" />
+ <ImageButton style="@style/btn"
+ android:id="@+id/menu"
+ android:src="@mipmap/menu" />
- <ImageButton
- android:id="@+id/button2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/zfig2" />
+ <ImageButton style="@style/btn"
+ android:id="@+id/config"
+ android:src="@mipmap/config" />
+ </LinearLayout>
- <ImageButton
- android:id="@+id/button3"
+ <LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/zfig3" />
+ android:orientation="vertical">
- <ImageButton
- android:id="@+id/button4"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/zfig4" />
- </LinearLayout>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_horizontal">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
+ <ImageButton style="@style/btn"
+ android:id="@+id/media_up"
+ android:src="@mipmap/media_up" />
+ </LinearLayout>
- <ImageButton
- android:id="@+id/button5"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/zfig5" />
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:gravity="center_horizontal">
- <ImageButton
- android:id="@+id/button6"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/zfig6" />
+ <ImageButton style="@style/btn"
+ android:id="@+id/media_lt"
+ android:src="@mipmap/media_lt" />
- <ImageButton
- android:id="@+id/button7"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/zfig7" />
+ <ImageButton style="@style/btn"
+ android:id="@+id/pause"
+ android:src="@mipmap/pause" />
- <ImageButton
- android:id="@+id/button8"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/zfig8" />
+ <ImageButton style="@style/btn"
+ android:id="@+id/media_rt"
+ android:src="@mipmap/media_rt" />
+ </LinearLayout>
- <ImageButton
- android:id="@+id/button9"
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_horizontal">
+
+ <ImageButton style="@style/btn"
+ android:id="@+id/media_dn"
+ android:src="@mipmap/media_dn" />
+
+ </LinearLayout>
+ </LinearLayout>
+
+ <LinearLayout
android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/zfig9" />
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:gravity="center_vertical">
+
+ <ImageButton style="@style/btn"
+ android:id="@+id/power"
+ android:src="@mipmap/power" />
+
+ <ImageButton style="@style/btn"
+ android:id="@+id/suspend"
+ android:src="@mipmap/suspend" />
+ </LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
- android:layout_height="wrap_content">
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:paddingTop="20sp"
+ android:gravity="center_vertical">
- <ImageButton
- android:id="@+id/buttonA"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/zfiga" />
+ <ImageButton style="@style/btn"
+ android:id="@+id/fast_lt"
+ android:src="@mipmap/fast_lt" />
- <ImageButton
- android:id="@+id/buttonB"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/zfigb" />
+ <ImageButton style="@style/btn"
+ android:id="@+id/rplay"
+ android:src="@mipmap/rev" />
- <ImageButton
- android:id="@+id/buttonC"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/zfigc" />
+ <ImageButton style="@style/btn"
+ android:id="@+id/stop"
+ android:src="@mipmap/stop" />
- <ImageButton
- android:id="@+id/buttonD"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/zfigd" />
+ <ImageButton style="@style/btn"
+ android:id="@+id/play"
+ android:src="@mipmap/play" />
- <ImageButton
- android:id="@+id/buttonE"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/zfige" />
+ <ImageButton style="@style/btn"
+ android:id="@+id/fast_rt"
+ android:src="@mipmap/fast_rt" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
- android:layout_height="wrap_content">
+ android:layout_height="wrap_content"
+ android:gravity="center_horizontal">
- <ImageButton
- android:id="@+id/buttonF"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/zfigf" />
-
- <ImageButton
- android:id="@+id/button_dot"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/zfigdot" />
+ <ImageButton style="@style/btn"
+ android:id="@+id/buttonTV"
+ android:src="@mipmap/ztv" />
+
+ <ImageButton style="@style/btn"
+ android:id="@+id/slow_lt"
+ android:src="@mipmap/slow_lt" />
- <ImageButton
+ <ImageButton style="@style/btn"
android:id="@+id/full_scr"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
android:src="@mipmap/full_scr" />
- <ImageButton
- android:id="@+id/power"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/power" />
+ <ImageButton style="@style/btn"
+ android:id="@+id/slow_rt"
+ android:src="@mipmap/slow_rt" />
- <ImageButton
- android:id="@+id/exit"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/exit" />
+ <ImageButton style="@style/btn"
+ android:id="@+id/quit"
+ android:src="@mipmap/zquit" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:gravity="center_horizontal">
-
- <ImageButton
- android:id="@+id/fast_lt"
+ android:orientation="horizontal"
+ android:paddingBottom="12sp"
+ android:gravity="top">
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:paddingBottom="12sp">
+ <ImageButton style="@style/btn"
+ android:id="@+id/vol_up"
+ android:src="@mipmap/zvolup" />
+ </LinearLayout>
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_gravity="center_vertical"
+ android:paddingTop="8sp">
+ <ImageButton style="@style/btn"
+ android:id="@+id/vol_dn"
+ android:src="@mipmap/zvoldn" />
+ </LinearLayout>
+ <LinearLayout
android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/fast_lt" />
-
- <ImageButton
- android:id="@+id/media_up"
+ android:layout_height="match_parent"
+ android:paddingTop="12sp">
+ <ImageButton style="@style/btn"
+ android:id="@+id/mute"
+ android:src="@mipmap/zmute" />
+ </LinearLayout>
+ <LinearLayout
android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/media_up" />
-
- <ImageButton
- android:id="@+id/fast_rt"
+ android:layout_height="match_parent"
+ android:paddingTop="8sp">
+ <ImageButton style="@style/btn"
+ android:id="@+id/ch_up"
+ android:src="@mipmap/zch_up" />
+ </LinearLayout>
+ <LinearLayout
android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/fast_rt" />
+ android:layout_height="match_parent"
+ android:paddingBottom="12sp">
- <ImageButton
- android:id="@+id/menu"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/menu" />
+ <ImageButton style="@style/btn"
+ android:layout_gravity="top"
+ android:id="@+id/ch_dn"
+ android:src="@mipmap/zch_dn" />
+ </LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:orientation="horizontal"
android:gravity="center_horizontal">
- <ImageButton
- android:id="@+id/media_lt"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/media_lt" />
+ <ImageButton style="@style/btn"
+ android:id="@+id/buttonA"
+ android:src="@mipmap/zfiga" />
- <ImageButton
- android:id="@+id/pause"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/pause" />
+ <ImageButton style="@style/btn"
+ android:id="@+id/button1"
+ android:src="@mipmap/zfig1" />
- <ImageButton
- android:id="@+id/media_rt"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/media_rt" />
+ <ImageButton style="@style/btn"
+ android:id="@+id/button2"
+ android:src="@mipmap/zfig2" />
- <ImageButton
- android:id="@+id/suspend"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/suspend" />
- </LinearLayout>
+ <ImageButton style="@style/btn"
+ android:id="@+id/button3"
+ android:src="@mipmap/zfig3" />
+
+ <ImageButton style="@style/btn"
+ android:id="@+id/buttonD"
+ android:src="@mipmap/zfigd" />
+ </LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:orientation="horizontal"
android:gravity="center_horizontal">
- <ImageButton
- android:id="@+id/slow_lt"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/slow_lt" />
+ <ImageButton style="@style/btn"
+ android:id="@+id/buttonB"
+ android:src="@mipmap/zfigb" />
- <ImageButton
- android:id="@+id/media_dn"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/media_dn" />
+ <ImageButton style="@style/btn"
+ android:id="@+id/button4"
+ android:src="@mipmap/zfig4" />
- <ImageButton
- android:id="@+id/slow_rt"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/slow_rt" />
+ <ImageButton style="@style/btn"
+ android:id="@+id/button5"
+ android:src="@mipmap/zfig5" />
- <ImageButton
- android:id="@+id/config"
- android:layout_width="wrap_content"
+ <ImageButton style="@style/btn"
+ android:id="@+id/button6"
+ android:src="@mipmap/zfig6" />
+
+ <ImageButton style="@style/btn"
+ android:id="@+id/buttonE"
+ android:src="@mipmap/zfige" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/config" />
+ android:orientation="horizontal"
+ android:gravity="center_horizontal">
+
+ <ImageButton style="@style/btn"
+ android:id="@+id/buttonC"
+ android:src="@mipmap/zfigc" />
+
+ <ImageButton style="@style/btn"
+ android:id="@+id/button7"
+ android:src="@mipmap/zfig7" />
+
+ <ImageButton style="@style/btn"
+ android:id="@+id/button8"
+ android:src="@mipmap/zfig8" />
+
+ <ImageButton style="@style/btn"
+ android:id="@+id/button9"
+ android:src="@mipmap/zfig9" />
+
+ <ImageButton style="@style/btn"
+ android:id="@+id/buttonF"
+ android:src="@mipmap/zfigf" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:orientation="horizontal"
android:gravity="center_horizontal">
- <ImageButton
- android:id="@+id/rplay"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/rev" />
+ <ImageButton style="@style/btn"
+ android:id="@+id/buttonDOT"
+ android:src="@mipmap/zfigdot" />
- <ImageButton
- android:id="@+id/stop"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/stop" />
+ <ImageButton style="@style/btn"
+ android:id="@+id/button0"
+ android:src="@mipmap/zfig0" />
- <ImageButton
- android:id="@+id/play"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:scaleType="fitXY"
- android:src="@mipmap/play" />
+ <ImageButton style="@style/btn"
+ android:id="@+id/buttonCC"
+ android:src="@mipmap/zfigcc" />
</LinearLayout>
</LinearLayout>
-
+q
</FrameLayout>