2018-07-27 18:37:33 +05:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<GridLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-09-02 20:33:11 +05:30
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2019-09-02 20:52:28 +05:30
|
|
|
android:background="@drawable/card"
|
2019-09-02 20:33:11 +05:30
|
|
|
android:columnCount="2"
|
|
|
|
android:gravity="top"
|
|
|
|
android:rowCount="3">
|
2018-07-27 18:37:33 +05:30
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/image"
|
|
|
|
android:layout_width="@dimen/app_widget_small_image_size"
|
|
|
|
android:layout_height="@dimen/app_widget_small_image_size"
|
|
|
|
android:scaleType="centerInside"
|
2019-09-02 20:52:28 +05:30
|
|
|
tools:ignore="ContentDescription"
|
2020-02-25 18:45:23 +05:30
|
|
|
tools:src="@drawable/default_audio_art" />
|
2018-07-27 18:37:33 +05:30
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/media_actions"
|
|
|
|
android:layout_gravity="fill_horizontal"
|
|
|
|
android:focusable="true"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:layoutDirection="ltr"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/button_prev"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="@dimen/app_widget_small_button_height"
|
|
|
|
android:layout_weight="1"
|
2019-09-02 20:52:28 +05:30
|
|
|
android:background="@drawable/widget_selector_light"
|
2018-07-27 18:37:33 +05:30
|
|
|
tools:ignore="ContentDescription"
|
2020-07-20 02:30:30 +05:30
|
|
|
tools:src="@drawable/ic_skip_previous"
|
2019-09-02 20:52:28 +05:30
|
|
|
tools:tint="@color/ate_secondary_text_light" />
|
2018-07-27 18:37:33 +05:30
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/button_toggle_play_pause"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="@dimen/app_widget_small_button_height"
|
|
|
|
android:layout_weight="1"
|
2019-09-02 20:52:28 +05:30
|
|
|
android:background="@drawable/widget_selector_light"
|
2018-07-27 18:37:33 +05:30
|
|
|
tools:ignore="ContentDescription"
|
2020-07-20 02:30:30 +05:30
|
|
|
tools:src="@drawable/ic_play_arrow"
|
2019-09-02 20:52:28 +05:30
|
|
|
tools:tint="@color/ate_secondary_text_light" />
|
2018-07-27 18:37:33 +05:30
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/button_next"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="@dimen/app_widget_small_button_height"
|
|
|
|
android:layout_weight="1"
|
2019-09-02 20:52:28 +05:30
|
|
|
android:background="@drawable/widget_selector_light"
|
2018-07-27 18:37:33 +05:30
|
|
|
tools:ignore="ContentDescription"
|
2020-07-20 02:30:30 +05:30
|
|
|
tools:src="@drawable/ic_skip_next"
|
2019-09-02 20:52:28 +05:30
|
|
|
tools:tint="@color/ate_secondary_text_light" />
|
2018-07-27 18:37:33 +05:30
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_columnSpan="2"
|
|
|
|
android:layout_gravity="fill_horizontal"
|
2019-02-19 16:08:51 +05:30
|
|
|
android:background="@color/md_white_1000"
|
2019-09-02 20:33:11 +05:30
|
|
|
tools:ignore="Orientation" />
|
2018-07-27 18:37:33 +05:30
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/media_titles"
|
|
|
|
android:layout_columnSpan="2"
|
|
|
|
android:layout_gravity="fill"
|
|
|
|
android:focusable="true"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingLeft="8dp"
|
|
|
|
android:paddingRight="8dp">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/title"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:singleLine="true"
|
2019-09-02 20:33:11 +05:30
|
|
|
android:textAppearance="@style/TextViewBody2"
|
2019-09-02 20:52:28 +05:30
|
|
|
android:textColor="@color/ate_primary_text_light"
|
2019-09-02 20:33:11 +05:30
|
|
|
tools:text="Title" />
|
2018-07-27 18:37:33 +05:30
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/text_separator"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingLeft="4dp"
|
|
|
|
android:paddingRight="4dp"
|
|
|
|
android:singleLine="true"
|
2019-09-02 20:33:11 +05:30
|
|
|
android:textAppearance="@style/TextViewBody1"
|
2019-09-02 20:52:28 +05:30
|
|
|
android:textColor="@color/ate_secondary_text_light"
|
2018-07-27 18:37:33 +05:30
|
|
|
tools:ignore="HardcodedText"
|
2019-09-02 20:33:11 +05:30
|
|
|
tools:text="•" />
|
2018-07-27 18:37:33 +05:30
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/text"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:singleLine="true"
|
2019-09-02 20:33:11 +05:30
|
|
|
android:textAppearance="@style/TextViewBody1"
|
2019-09-02 20:52:28 +05:30
|
|
|
android:textColor="@color/ate_secondary_text_light"
|
2019-09-02 20:33:11 +05:30
|
|
|
tools:text="Text" />
|
2018-07-27 18:37:33 +05:30
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</GridLayout>
|