PlayerAndroid/app/src/main/res/layout/app_widget_text.xml

91 lines
3.4 KiB
XML
Raw Normal View History

2018-12-09 06:38:34 +00:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:background="@color/md_red_500">
<LinearLayout
android:id="@+id/media_titles"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="fill"
android:focusable="true"
android:gravity="center_vertical"
android:orientation="vertical"
android:paddingLeft="8dp"
android:paddingRight="8dp">
<TextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:gravity="center"
2018-12-26 17:31:39 +00:00
android:maxLines="2"
2018-12-09 06:38:34 +00:00
android:paddingStart="4dp"
android:paddingEnd="4dp"
2019-01-02 03:55:55 +00:00
android:shadowColor="@color/md_black_1000"
android:shadowRadius="8"
2018-12-09 06:38:34 +00:00
android:text="@string/normal_lyrics"
2019-09-02 15:03:11 +00:00
android:textAppearance="@style/TextViewHeadline6"
2018-12-09 06:38:34 +00:00
android:textColor="@color/md_white_1000" />
<TextView
android:id="@+id/text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
2018-12-26 17:31:39 +00:00
android:maxLines="1"
2018-12-09 06:38:34 +00:00
android:paddingStart="4dp"
android:paddingEnd="4dp"
2019-01-02 03:55:55 +00:00
android:shadowColor="@color/md_grey_800"
android:shadowRadius="6"
2018-12-09 06:38:34 +00:00
android:text="@string/normal_lyrics"
2019-09-02 15:03:11 +00:00
android:textAppearance="@style/TextViewBody2"
2018-12-09 06:38:34 +00:00
android:textColor="@color/md_white_1000" />
</LinearLayout>
<LinearLayout
android:id="@+id/media_actions"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
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="@dimen/app_widget_small_button_height"
android:layout_weight="1"
android:background="@drawable/widget_selector"
tools:ignore="ContentDescription"
2020-07-19 21:00:30 +00:00
tools:src="@drawable/ic_skip_previous"
2018-12-09 06:38:34 +00:00
tools:tint="@color/ate_secondary_text_dark" />
<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"
android:background="@drawable/widget_selector"
tools:ignore="ContentDescription"
2019-06-05 08:17:45 +00:00
tools:src="@drawable/ic_play_arrow_white_32dp"
2018-12-09 06:38:34 +00:00
tools:tint="@color/ate_secondary_text_dark" />
<ImageButton
android:id="@+id/button_next"
android:layout_width="0dp"
android:layout_height="@dimen/app_widget_small_button_height"
android:layout_weight="1"
android:background="@drawable/widget_selector"
tools:ignore="ContentDescription"
2020-07-19 21:00:30 +00:00
tools:src="@drawable/ic_skip_next"
2018-12-09 06:38:34 +00:00
tools:tint="@color/ate_secondary_text_dark" />
</LinearLayout>
</LinearLayout>