-Added styles list for dark and light themes -Updated libs -Auto refactored resources for easy editing -Improved amoled theme
81 lines
3.3 KiB
XML
81 lines
3.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:foreground="@drawable/highlight_post"
|
|
android:paddingStart="16.0dip"
|
|
android:paddingEnd="16.0dip"
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<FrameLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
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="?placeholder_icon_background"
|
|
app:roundedCornerRadius="@dimen/music_image_rounding_corners"
|
|
app:tiv_placeholder_resource="@drawable/ic_song_24"
|
|
app:tiv_placeholder_tint="?placeholder_icon_foreground_secondary" />
|
|
|
|
<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_weight="1.0"
|
|
android:layout_marginStart="16.0dip">
|
|
|
|
<TextView
|
|
android:textStyle="normal"
|
|
android:textColor="?text_primary"
|
|
android:id="@id/audio_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="20.0dip"
|
|
app:fontFamily="@font/roboto_regular"
|
|
style="@style/Music.Title" />
|
|
|
|
<TextView
|
|
android:textStyle="normal"
|
|
android:textColor="?text_secondary"
|
|
android:id="@id/audio_artist"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="16.0dip"
|
|
app:fontFamily="@font/roboto_regular"
|
|
style="@style/Music.SubTitle" />
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:textSize="13.0sp"
|
|
android:textStyle="normal"
|
|
android:textColor="?text_secondary"
|
|
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:includeFontPadding="false"
|
|
android:drawablePadding="2.0dip"
|
|
android:layout_marginStart="8.0dip"
|
|
app:fontFamily="@font/roboto_regular"
|
|
style="@style/Music.SubTitle" />
|
|
</LinearLayout>
|
|
</FrameLayout> |