Files
vtosters/smali/res/layout/music_audio_search_result.xml
T
gdlbo b50f56a5d4 Oh, fixes?
-Added styles list for dark and light themes
-Updated libs
-Auto refactored resources for easy editing
-Improved amoled theme
2022-04-23 21:36:08 +03:00

81 lines
3.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">
<FrameLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="16.0dip"
android:layout_marginTop="8.0dip"
android:layout_marginBottom="8.0dip">
<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"
app:backgroundImage="@color/music_placeholder_bg"
app:roundedCornerRadius="@dimen/music_image_rounding_corners"
app:tiv_placeholder_resource="@drawable/ic_song_24" />
<ImageView
android:id="@id/audio_playing_indicator"
android:background="@drawable/music_dark_round_rect"
android:visibility="gone"
android:layout_width="@dimen/music_track_image"
android:layout_height="@dimen/music_track_image" />
</FrameLayout>
<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="fill_parent"
android:layout_height="20.0dip"
android:fontFamily="sans-serif"
style="@style/TextStyle.ListItem.Title" />
<TextView
android:textStyle="normal"
android:id="@id/audio_artist"
android:layout_width="fill_parent"
android:layout_height="16.0dip"
android:fontFamily="sans-serif"
style="@style/TextStyle.ListItem.Snippet" />
</LinearLayout>
<TextView
android:textSize="13.0dip"
android:textStyle="normal"
android:gravity="center_vertical"
android:layout_gravity="center_vertical"
android:id="@id/audio_duration"
android:layout_width="wrap_content"
android:layout_height="16.0dip"
android:layout_marginLeft="4.0dip"
android:layout_marginRight="4.0dip"
android:includeFontPadding="false"
android:drawablePadding="2.0dip"
android:fontFamily="sans-serif"
style="@style/Music.SubTitle" />
<ImageView
android:layout_gravity="center|right"
android:id="@id/audio_menu"
android:layout_width="36.0dip"
android:layout_height="48.0dip"
android:layout_marginRight="4.0dip"
android:src="@drawable/ic_actions_small_24"
style="@style/ActionButton.Gray" />
</LinearLayout>