mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-02-18 12:40:52 +01:00
Set the star icon BIGGER
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
This commit is contained in:
parent
3fca8bd7a5
commit
be3f9c4b15
@ -1,52 +1,51 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
||||||
a:orientation="horizontal"
|
a:orientation="horizontal"
|
||||||
a:layout_width="fill_parent"
|
a:layout_width="fill_parent"
|
||||||
a:layout_height="wrap_content"
|
a:layout_height="wrap_content"
|
||||||
a:minHeight="?android:attr/listPreferredItemHeight"
|
a:minHeight="?android:attr/listPreferredItemHeight">
|
||||||
>
|
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
a:id="@+id/album_coverart"
|
a:id="@+id/album_coverart"
|
||||||
a:layout_width="64dp"
|
a:layout_width="64dp"
|
||||||
a:layout_height="64dp"
|
a:layout_height="64dp"
|
||||||
a:layout_gravity="left|center_vertical"
|
a:layout_gravity="left|center_vertical"
|
||||||
a:paddingLeft="3dip"/>
|
a:paddingLeft="3dip" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
a:orientation="vertical"
|
a:orientation="vertical"
|
||||||
a:layout_width="0dip"
|
a:layout_width="0dip"
|
||||||
|
a:layout_height="wrap_content"
|
||||||
|
a:layout_weight="1"
|
||||||
|
a:layout_gravity="left|center_vertical"
|
||||||
|
a:paddingLeft="6dip"
|
||||||
|
a:paddingRight="3dip">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
a:id="@+id/album_title"
|
||||||
|
a:layout_width="wrap_content"
|
||||||
a:layout_height="wrap_content"
|
a:layout_height="wrap_content"
|
||||||
a:layout_weight="1"
|
a:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
a:layout_gravity="left|center_vertical"
|
a:singleLine="true"
|
||||||
a:paddingLeft="6dip"
|
a:ellipsize="marquee" />
|
||||||
a:paddingRight="3dip">
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
a:id="@+id/album_title"
|
a:id="@+id/album_artist"
|
||||||
a:layout_width="wrap_content"
|
a:layout_width="wrap_content"
|
||||||
a:layout_height="wrap_content"
|
a:layout_height="wrap_content"
|
||||||
a:textAppearance="?android:attr/textAppearanceMedium"
|
a:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
a:singleLine="true"
|
a:singleLine="true" />
|
||||||
a:ellipsize="marquee"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
a:id="@+id/album_artist"
|
|
||||||
a:layout_width="wrap_content"
|
|
||||||
a:layout_height="wrap_content"
|
|
||||||
a:textAppearance="?android:attr/textAppearanceSmall"
|
|
||||||
a:singleLine="true"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
a:id="@+id/album_star"
|
a:id="@+id/album_star"
|
||||||
a:layout_width="wrap_content"
|
a:layout_width="38dp"
|
||||||
a:layout_height="fill_parent"
|
a:layout_height="fill_parent"
|
||||||
a:gravity="center_vertical"
|
a:gravity="center_vertical"
|
||||||
a:background="@android:color/transparent"
|
a:background="@android:color/transparent"
|
||||||
a:src="?attr/star_hollow"
|
a:src="?attr/star_hollow"
|
||||||
a:focusable="false"
|
a:focusable="false"
|
||||||
a:paddingRight="3dip" />
|
a:paddingRight="3dip" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
@ -1,34 +1,33 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
xmlns:a="http://schemas.android.com/apk/res/android"
|
xmlns:a="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
a:orientation="vertical"
|
a:orientation="vertical"
|
||||||
a:layout_width="fill_parent"
|
a:layout_width="fill_parent"
|
||||||
a:layout_height="fill_parent"
|
a:layout_height="fill_parent"
|
||||||
a:layout_weight="1">
|
a:layout_weight="1">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
a:id="@+id/download_empty"
|
a:id="@+id/download_empty"
|
||||||
a:text="@string/download.empty"
|
a:text="@string/download.empty"
|
||||||
a:layout_width="fill_parent"
|
a:layout_width="fill_parent"
|
||||||
a:layout_height="wrap_content"
|
a:layout_height="wrap_content"
|
||||||
a:padding="10dip"/>
|
a:padding="10dip"/>
|
||||||
|
|
||||||
<com.mobeta.android.dslv.DragSortListView
|
<com.mobeta.android.dslv.DragSortListView
|
||||||
a:id="@+id/download_list"
|
a:id="@+id/download_list"
|
||||||
a:layout_width="fill_parent"
|
a:layout_width="fill_parent"
|
||||||
a:layout_height="0dip"
|
a:layout_height="0dip"
|
||||||
a:layout_weight="1"
|
a:layout_weight="1"
|
||||||
a:fastScrollEnabled="true"
|
a:fastScrollEnabled="true"
|
||||||
a:textFilterEnabled="true"
|
a:textFilterEnabled="true"
|
||||||
app:drag_handle_id="@+id/song_drag"
|
app:drag_handle_id="@+id/song_drag"
|
||||||
app:remove_enabled="true"
|
app:remove_enabled="true"
|
||||||
app:remove_mode="flingRemove"
|
app:remove_mode="flingRemove"
|
||||||
app:fling_handle_id="@+id/song_drag"
|
app:fling_handle_id="@+id/song_drag"
|
||||||
app:drag_start_mode="onMove"
|
app:drag_start_mode="onMove"
|
||||||
app:float_background_color="?attr/color_background"
|
app:float_background_color="?attr/color_background"
|
||||||
app:float_alpha="0.7" />
|
app:float_alpha="0.7" />
|
||||||
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
@ -1,10 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
||||||
a:layout_width="0dip"
|
a:layout_width="0dip"
|
||||||
a:layout_height="wrap_content"
|
a:layout_height="wrap_content"
|
||||||
a:layout_gravity="center_vertical"
|
a:layout_gravity="center_vertical"
|
||||||
a:layout_weight="1"
|
a:layout_weight="1"
|
||||||
a:orientation="vertical">
|
a:layout_marginLeft="4dp"
|
||||||
|
a:orientation="vertical">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
a:layout_width="fill_parent"
|
a:layout_width="fill_parent"
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
a:layout_width="fill_parent"
|
a:layout_width="fill_parent"
|
||||||
a:layout_height="wrap_content"
|
a:layout_height="wrap_content"
|
||||||
a:minHeight="?android:attr/listPreferredItemHeight"
|
a:minHeight="?android:attr/listPreferredItemHeight"
|
||||||
@ -7,12 +8,11 @@
|
|||||||
|
|
||||||
<CheckedTextView
|
<CheckedTextView
|
||||||
a:id="@+id/song_check"
|
a:id="@+id/song_check"
|
||||||
a:layout_width="wrap_content"
|
a:layout_width="38dp"
|
||||||
a:layout_height="fill_parent"
|
a:layout_height="fill_parent"
|
||||||
a:checkMark="?attr/button_check_custom"
|
a:checkMark="?attr/button_check_custom"
|
||||||
a:gravity="center_vertical"
|
a:gravity="center_vertical"
|
||||||
a:paddingLeft="3dip"
|
a:paddingRight="4dip"/>
|
||||||
a:paddingRight="3dip"/>
|
|
||||||
|
|
||||||
<include layout="@layout/song_details" />
|
<include layout="@layout/song_details" />
|
||||||
|
|
||||||
@ -21,7 +21,8 @@
|
|||||||
a:layout_width="wrap_content"
|
a:layout_width="wrap_content"
|
||||||
a:layout_height="wrap_content"
|
a:layout_height="wrap_content"
|
||||||
a:layout_gravity="center_vertical"
|
a:layout_gravity="center_vertical"
|
||||||
a:orientation="horizontal">
|
a:orientation="horizontal"
|
||||||
|
tools:visibility="gone">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
a:id="@+id/song_five_star_1"
|
a:id="@+id/song_five_star_1"
|
||||||
@ -67,18 +68,18 @@
|
|||||||
a:id="@+id/song_five_star_5"
|
a:id="@+id/song_five_star_5"
|
||||||
a:layout_width="10dip"
|
a:layout_width="10dip"
|
||||||
a:layout_height="fill_parent"
|
a:layout_height="fill_parent"
|
||||||
|
a:layout_marginRight="8dip"
|
||||||
a:background="@android:color/transparent"
|
a:background="@android:color/transparent"
|
||||||
a:focusable="false"
|
a:focusable="false"
|
||||||
a:gravity="center_vertical"
|
a:gravity="center_vertical"
|
||||||
a:scaleType="centerInside"
|
a:scaleType="centerInside"
|
||||||
a:layout_marginRight="8dip"
|
|
||||||
a:src="?attr/star_hollow" />
|
a:src="?attr/star_hollow" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
a:id="@+id/song_star"
|
a:id="@+id/song_star"
|
||||||
a:layout_width="wrap_content"
|
a:layout_width="38dp"
|
||||||
a:layout_height="fill_parent"
|
a:layout_height="fill_parent"
|
||||||
a:background="@android:color/transparent"
|
a:background="@android:color/transparent"
|
||||||
a:focusable="false"
|
a:focusable="false"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user