mirror of
https://gitlab.com/ultrasonic/ultrasonic.git
synced 2025-04-26 05:32:15 +03:00
Improve usability
- Add more padding to stars in song lists to avoid touch scrollbar. - Add more space between border of screen and notification close button, enlarge the button in 10dp. Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
This commit is contained in:
parent
f07f0344fd
commit
f9199eebd3
@ -70,7 +70,7 @@
|
||||
android:layout_gravity="center"
|
||||
android:gravity="end"
|
||||
android:orientation="horizontal"
|
||||
>
|
||||
android:paddingRight="4dp">
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/control_previous"
|
||||
@ -104,12 +104,13 @@
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/control_stop"
|
||||
android:layout_width="22dip"
|
||||
android:layout_height="22dip"
|
||||
android:layout_width="32dip"
|
||||
android:layout_height="32dip"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginLeft="4dp"
|
||||
android:alpha="70"
|
||||
android:background="@drawable/btn_bg"
|
||||
android:scaleType="fitXY"
|
||||
android:alpha="70"
|
||||
android:src="@drawable/ic_menu_exit_dark" />
|
||||
</LinearLayout>
|
||||
|
||||
|
@ -26,11 +26,12 @@
|
||||
android:paddingRight="8dip"
|
||||
android:paddingBottom="8dip"
|
||||
>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
android:orientation="horizontal"
|
||||
android:paddingRight="4dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/trackname"
|
||||
@ -42,19 +43,17 @@
|
||||
android:ellipsize="marquee"
|
||||
android:focusable="true"
|
||||
android:singleLine="true"
|
||||
tools:text="Track name"
|
||||
/>
|
||||
tools:text="Track name" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/control_stop"
|
||||
android:layout_width="22dip"
|
||||
android:layout_height="22dip"
|
||||
android:layout_width="32dip"
|
||||
android:layout_height="32dip"
|
||||
android:layout_gravity="center|end"
|
||||
android:gravity="center_vertical"
|
||||
android:background="@drawable/btn_bg"
|
||||
android:gravity="center_vertical"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@drawable/ic_menu_exit_dark"
|
||||
/>
|
||||
android:src="@drawable/ic_menu_exit_dark" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
|
@ -70,7 +70,7 @@
|
||||
a:focusable="false"
|
||||
a:gravity="center_vertical"
|
||||
a:scaleType="centerInside"
|
||||
a:layout_marginRight="3dip"
|
||||
a:layout_marginRight="8dip"
|
||||
a:src="?attr/star_hollow" />
|
||||
|
||||
</LinearLayout>
|
||||
@ -82,7 +82,7 @@
|
||||
a:background="@android:color/transparent"
|
||||
a:focusable="false"
|
||||
a:gravity="center_vertical"
|
||||
a:paddingRight="3dip"
|
||||
a:paddingRight="8dip"
|
||||
a:src="?attr/star_hollow" />
|
||||
|
||||
<ImageView
|
||||
@ -92,7 +92,7 @@
|
||||
a:background="@android:color/transparent"
|
||||
a:focusable="false"
|
||||
a:gravity="center_vertical"
|
||||
a:paddingRight="3dip"
|
||||
a:paddingRight="8dip"
|
||||
a:src="@drawable/ic_drag_queue" />
|
||||
|
||||
</LinearLayout>
|
@ -23,7 +23,7 @@
|
||||
a:background="@android:color/transparent"
|
||||
a:focusable="false"
|
||||
a:gravity="center_vertical"
|
||||
a:paddingRight="3dip"
|
||||
a:paddingRight="8dip"
|
||||
a:src="?attr/star_hollow" />
|
||||
|
||||
</LinearLayout>
|
Loading…
x
Reference in New Issue
Block a user