控制台
|
Before Width: | Height: | Size: 5.8 KiB |
BIN
app/src/main/res/drawable/down.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
app/src/main/res/drawable/down2.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
app/src/main/res/drawable/left.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
app/src/main/res/drawable/left2.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
app/src/main/res/drawable/right.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
app/src/main/res/drawable/right2.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
app/src/main/res/drawable/up.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
app/src/main/res/drawable/up2.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
@@ -144,12 +144,65 @@
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<!-- 控制台图片 -->
|
||||
<ImageView
|
||||
android:id="@+id/ivConsole"
|
||||
android:layout_width="160dp"
|
||||
android:layout_height="160dp"
|
||||
android:src="@drawable/console" />
|
||||
<!-- 圆形控制台 -->
|
||||
<RelativeLayout
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="200dp">
|
||||
|
||||
<!-- 圆形背景 -->
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<!-- 上按钮 -->
|
||||
<ImageView
|
||||
android:id="@+id/ivUp"
|
||||
android:layout_width="108dp"
|
||||
android:layout_height="108dp"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="8dp"
|
||||
android:src="@drawable/selector_up"
|
||||
android:clickable="true"
|
||||
android:focusable="true" />
|
||||
|
||||
<!-- 下按钮 -->
|
||||
<ImageView
|
||||
android:id="@+id/ivDown"
|
||||
android:layout_width="108dp"
|
||||
android:layout_height="108dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:src="@drawable/selector_down"
|
||||
android:clickable="true"
|
||||
android:focusable="true" />
|
||||
|
||||
<!-- 左按钮 -->
|
||||
<ImageView
|
||||
android:id="@+id/ivLeft"
|
||||
android:layout_width="108dp"
|
||||
android:layout_height="108dp"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:src="@drawable/selector_left"
|
||||
android:clickable="true"
|
||||
android:focusable="true" />
|
||||
|
||||
<!-- 右按钮 -->
|
||||
<ImageView
|
||||
android:id="@+id/ivRight"
|
||||
android:layout_width="108dp"
|
||||
android:layout_height="108dp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="8dp"
|
||||
android:src="@drawable/selector_right"
|
||||
android:clickable="true"
|
||||
android:focusable="true" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
@@ -477,4 +477,10 @@
|
||||
<string name="max_add_11_users">A maximum of 11 users can be added</string>
|
||||
<string name="linked_user_phone_label">Phone: %s</string>
|
||||
<string name="linked_user_idcard_label">ID: %s</string>
|
||||
|
||||
<!-- Direction Control -->
|
||||
<string name="direction_up">Move Up</string>
|
||||
<string name="direction_down">Move Down</string>
|
||||
<string name="direction_left">Move Left</string>
|
||||
<string name="direction_right">Move Right</string>
|
||||
</resources>
|
||||