mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-02-23 15:07:39 +01:00
Further UI redesign
This commit is contained in:
parent
a5756f4cc7
commit
625b015639
1
Android-PullToRefresh
Submodule
1
Android-PullToRefresh
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 3bd8ef6869c3297bfe874d2f15c2ee53c3456e99
|
BIN
res/drawable-xhdpi/ic_menu_about.png
Normal file
BIN
res/drawable-xhdpi/ic_menu_about.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
BIN
res/drawable-xhdpi/ic_menu_add_to_queue.png
Normal file
BIN
res/drawable-xhdpi/ic_menu_add_to_queue.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
BIN
res/drawable-xhdpi/ic_menu_forward.png
Normal file
BIN
res/drawable-xhdpi/ic_menu_forward.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
res/drawable-xhdpi/ic_menu_pin.png
Normal file
BIN
res/drawable-xhdpi/ic_menu_pin.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
BIN
res/drawable-xhdpi/ic_menu_select_all.png
Normal file
BIN
res/drawable-xhdpi/ic_menu_select_all.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
BIN
res/drawable-xhdpi/ic_menu_unpin.png
Normal file
BIN
res/drawable-xhdpi/ic_menu_unpin.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
65
res/layout/album_buttons.xml
Normal file
65
res/layout/album_buttons.xml
Normal file
@ -0,0 +1,65 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/menu_album"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:padding="10dp" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/select_album_select"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:src="@drawable/ic_menu_select_all"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/select_album_play_now"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:src="@drawable/media_start_normal"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/select_album_play_last"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:src="@drawable/ic_menu_add_to_queue"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/select_album_pin"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:src="@drawable/ic_menu_pin"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/select_album_unpin"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:src="@drawable/ic_menu_unpin"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/select_album_delete"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:src="@drawable/ic_menu_exit"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/select_album_more"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:src="@drawable/ic_menu_forward"
|
||||
android:visibility="gone" />
|
||||
|
||||
</LinearLayout>
|
91
res/layout/menu_main.xml
Normal file
91
res/layout/menu_main.xml
Normal file
@ -0,0 +1,91 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/menu_main"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/menu_navigation"
|
||||
style="@style/MenuDrawer.Widget.Category"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/menu.navigation" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/menu_home"
|
||||
style="@style/MenuDrawer.Widget.Title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableLeft="@drawable/ic_menu_home"
|
||||
android:text="@string/button_bar.home" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/menu_browse"
|
||||
style="@style/MenuDrawer.Widget.Title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableLeft="@drawable/ic_menu_browse"
|
||||
android:text="@string/button_bar.browse" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/menu_search"
|
||||
style="@style/MenuDrawer.Widget.Title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableLeft="@drawable/ic_menu_search"
|
||||
android:text="@string/button_bar.search" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/menu_playlists"
|
||||
style="@style/MenuDrawer.Widget.Title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableLeft="@drawable/ic_menu_playlists"
|
||||
android:text="@string/button_bar.playlists" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/menu_now_playing"
|
||||
style="@style/MenuDrawer.Widget.Title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableLeft="@drawable/ic_menu_play_all"
|
||||
android:text="@string/button_bar.now_playing" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/menu_common"
|
||||
style="@style/MenuDrawer.Widget.Category"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/menu.common" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/menu_settings"
|
||||
style="@style/MenuDrawer.Widget.Title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableLeft="@drawable/ic_menu_settings"
|
||||
android:text="@string/menu.settings" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/menu_about"
|
||||
style="@style/MenuDrawer.Widget.Title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableLeft="@drawable/ic_menu_about"
|
||||
android:text="@string/menu.about" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/menu_exit"
|
||||
style="@style/MenuDrawer.Widget.Title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableLeft="@drawable/ic_menu_exit"
|
||||
android:text="@string/menu.exit" />
|
||||
</LinearLayout>
|
||||
|
||||
</ScrollView>
|
Loading…
x
Reference in New Issue
Block a user