-Added styles list for dark and light themes -Updated libs -Auto refactored resources for easy editing -Improved amoled theme
54 lines
2.0 KiB
XML
54 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout android:orientation="horizontal"
|
|
android:background="@drawable/music_selectable_bg"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<com.vk.music.view.ThumbsImageView
|
|
android:layout_gravity="center_vertical"
|
|
android:id="@id/audio_image"
|
|
android:layout_width="@dimen/music_track_image"
|
|
android:layout_height="@dimen/music_track_image"
|
|
android:layout_marginLeft="16.0dip"
|
|
android:layout_marginTop="8.0dip"
|
|
android:layout_marginBottom="8.0dip"
|
|
app:backgroundImage="@color/music_placeholder_bg"
|
|
app:roundedCornerRadius="@dimen/music_image_rounding_corners"
|
|
app:tiv_placeholder_resource="@drawable/ic_song_24" />
|
|
|
|
<LinearLayout
|
|
android:layout_gravity="center_vertical"
|
|
android:orientation="vertical"
|
|
android:layout_width="0.0dip"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="16.0dip"
|
|
android:layout_weight="1.0">
|
|
|
|
<TextView
|
|
android:textStyle="normal"
|
|
android:id="@id/audio_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="20.0dip"
|
|
android:fontFamily="sans-serif"
|
|
style="@style/Music.Title" />
|
|
|
|
<TextView
|
|
android:textStyle="normal"
|
|
android:id="@id/audio_artist"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="16.0dip"
|
|
android:fontFamily="sans-serif"
|
|
style="@style/Music.SubTitle" />
|
|
</LinearLayout>
|
|
|
|
<ImageView
|
|
android:layout_gravity="end|center"
|
|
android:id="@id/audio_action"
|
|
android:layout_width="48.0dip"
|
|
android:layout_height="48.0dip"
|
|
android:src="@drawable/picker_ic_close_24"
|
|
android:layout_marginEnd="4.0dip"
|
|
style="@style/ActionButton.Gray" />
|
|
</LinearLayout> |