2018-07-27 13:07:33 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-09-23 10:04:43 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:background="@drawable/card"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/image"
|
|
|
|
android:layout_width="@dimen/app_widget_card_image_size"
|
|
|
|
android:layout_height="@dimen/app_widget_card_image_size"
|
|
|
|
android:scaleType="centerInside"
|
2019-09-02 15:22:28 +00:00
|
|
|
tools:ignore="ContentDescription"
|
2020-02-25 13:15:23 +00:00
|
|
|
tools:src="@drawable/default_audio_art" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/media_titles"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_marginRight="8dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/title"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:singleLine="true"
|
2019-09-02 15:03:11 +00:00
|
|
|
android:textAppearance="@style/TextViewBody1"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:textColor="@color/ate_primary_text_light"
|
2018-09-23 10:04:43 +00:00
|
|
|
tools:text="Title" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2019-09-02 15:22:28 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/text"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="4dp"
|
2019-09-02 15:22:28 +00:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="@style/TextViewCaption"
|
|
|
|
android:textColor="@color/ate_secondary_text_light"
|
|
|
|
tools:text="Text" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/media_actions"
|
|
|
|
android:layout_width="@dimen/app_widget_card_buttons_width"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_margin="4dp"
|
|
|
|
android:focusable="true"
|
|
|
|
android:gravity="center"
|
|
|
|
android:layoutDirection="ltr"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/button_prev"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="@drawable/widget_selector_light"
|
|
|
|
tools:ignore="ContentDescription"
|
|
|
|
tools:src="@drawable/ic_skip_previous_white_24dp"
|
2018-09-23 10:04:43 +00:00
|
|
|
tools:tint="@color/ate_secondary_text_light" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/button_toggle_play_pause"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="@drawable/widget_selector_light"
|
|
|
|
tools:ignore="ContentDescription"
|
2019-09-02 15:22:28 +00:00
|
|
|
tools:src="@drawable/ic_play_arrow_white_24dp"
|
2018-09-23 10:04:43 +00:00
|
|
|
tools:tint="@color/ate_secondary_text_light" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/button_next"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="@drawable/widget_selector_light"
|
|
|
|
tools:ignore="ContentDescription"
|
|
|
|
tools:src="@drawable/ic_skip_next_white_24dp"
|
2018-09-23 10:04:43 +00:00
|
|
|
tools:tint="@color/ate_secondary_text_light" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|