version:
update: fix bug:样式优化
This commit is contained in:
BIN
app/src/main/res/drawable-hdpi/menu_selected.png
Normal file
BIN
app/src/main/res/drawable-hdpi/menu_selected.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
BIN
app/src/main/res/drawable-hdpi/menu_settings.png
Normal file
BIN
app/src/main/res/drawable-hdpi/menu_settings.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
@@ -2,7 +2,7 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="350dp"
|
||||
android:layout_width="400dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
|
||||
<Button
|
||||
android:id="@+id/positive"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="48dp"
|
||||
android:layout_weight="1"
|
||||
@@ -102,7 +102,7 @@
|
||||
|
||||
<Button
|
||||
android:id="@+id/negtive"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="48dp"
|
||||
android:layout_weight="1"
|
||||
|
||||
@@ -2,8 +2,23 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<item
|
||||
android:id="@+id/refresh"
|
||||
android:icon="@drawable/menu_refresh"
|
||||
app:showAsAction="ifRoom"
|
||||
android:title="TODO" />
|
||||
android:id="@+id/setting"
|
||||
android:icon="@drawable/menu_settings"
|
||||
android:title="TODO"
|
||||
app:showAsAction="ifRoom">
|
||||
<menu>
|
||||
<item
|
||||
android:id="@+id/refresh"
|
||||
android:icon="@drawable/menu_refresh"
|
||||
android:title="刷新" />
|
||||
<item
|
||||
android:id="@+id/single_loop"
|
||||
android:icon="@drawable/menu_selected"
|
||||
android:title="单循环" />
|
||||
<item
|
||||
android:id="@+id/loop"
|
||||
android:icon="@drawable/menu_selected"
|
||||
android:title="列表循环" />
|
||||
</menu>
|
||||
</item>
|
||||
</menu>
|
||||
Reference in New Issue
Block a user