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

101 lines
3.6 KiB
XML
Raw Normal View History

2018-07-27 13:07:33 +00:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2019-09-02 15:03:11 +00:00
xmlns:tools="http://schemas.android.com/tools"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2019-09-02 15:03:11 +00:00
android:background="@android:color/black">
2018-07-27 13:07:33 +00:00
2019-09-02 15:03:11 +00:00
<ImageView
android:id="@+id/image"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
tools:ignore="ContentDescription" />
2018-07-27 13:07:33 +00:00
2019-09-02 15:03:11 +00:00
<LinearLayout
android:id="@+id/media_actions"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:background="@drawable/shadow_up_strong"
android:gravity="center_vertical"
android:layoutDirection="ltr"
android:orientation="horizontal">
2018-07-27 13:07:33 +00:00
2019-09-02 15:03:11 +00:00
<ImageButton
android:id="@+id/button_prev"
android:layout_width="72dp"
android:layout_height="72dp"
android:layout_weight="1"
android:background="@drawable/widget_selector_dark"
android:padding="22dp"
tools:ignore="ContentDescription"
tools:src="@drawable/ic_skip_previous_white_24dp"
tools:tint="@color/ate_primary_text_dark" />
2018-07-27 13:07:33 +00:00
2019-09-02 15:03:11 +00:00
<ImageButton
android:id="@+id/button_toggle_play_pause"
android:layout_width="72dp"
android:layout_height="72dp"
android:layout_weight="1"
android:background="@drawable/widget_selector_dark"
android:padding="22dp"
tools:ignore="ContentDescription"
tools:src="@drawable/ic_play_arrow_white_32dp"
tools:tint="@color/ate_primary_text_dark" />
2018-07-27 13:07:33 +00:00
2019-09-02 15:03:11 +00:00
<ImageButton
android:id="@+id/button_next"
android:layout_width="72dp"
android:layout_height="72dp"
android:layout_weight="1"
android:background="@drawable/widget_selector_dark"
android:padding="22dp"
tools:ignore="ContentDescription"
tools:src="@drawable/ic_skip_next_white_24dp"
tools:tint="@color/ate_primary_text_dark" />
2018-07-27 13:07:33 +00:00
2019-09-02 15:03:11 +00:00
</LinearLayout>
2018-07-27 13:07:33 +00:00
2019-09-02 15:03:11 +00:00
<FrameLayout
android:id="@+id/clickable_area"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@id/media_actions"
android:layout_alignParentTop="true" />
<LinearLayout
android:id="@+id/media_titles"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:background="@drawable/shadow_down_strong"
android:orientation="vertical"
android:padding="16dp">
2018-07-27 13:07:33 +00:00
2019-09-02 15:03:11 +00:00
<TextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center_vertical"
android:singleLine="true"
android:textAppearance="@style/TextViewHeadline6"
android:textColor="@color/ate_primary_text_dark"
tools:text="Title" />
2018-07-27 13:07:33 +00:00
2019-09-02 15:03:11 +00:00
<TextView
android:id="@+id/text"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center_vertical"
android:singleLine="true"
android:textAppearance="@style/TextViewSubtitle1"
android:textColor="@color/ate_secondary_text_dark"
tools:text="Text" />
2018-07-27 13:07:33 +00:00
2019-09-02 15:03:11 +00:00
</LinearLayout>
2018-07-27 13:07:33 +00:00
</RelativeLayout>