NewPipe/app/src/main/res/layout/playlist_control.xml

89 lines
3.5 KiB
XML
Raw Normal View History

2017-11-12 08:16:51 +00:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="invisible"
tools:visibility="visible">
2017-11-12 08:16:51 +00:00
<LinearLayout
android:id="@+id/playlist_ctrl_play_bg_button"
2017-11-12 08:16:51 +00:00
android:layout_width="match_parent"
android:layout_height="@dimen/playlist_ctrl_height"
android:layout_weight="1"
2020-10-09 18:24:02 +00:00
android:background="?attr/selectableItemBackground"
android:clickable="true"
android:focusable="true"
2020-10-09 18:24:02 +00:00
android:gravity="center">
<org.schabi.newpipe.views.NewPipeTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2020-10-09 18:24:02 +00:00
android:drawablePadding="4dp"
android:gravity="center_vertical"
android:text="@string/controls_background_title"
android:textColor="?attr/colorAccent"
2020-10-09 18:24:02 +00:00
android:textSize="@dimen/channel_rss_title_size"
2021-03-27 14:45:49 +00:00
app:drawableLeftCompat="@drawable/ic_headset"
app:drawableStartCompat="@drawable/ic_headset" />
</LinearLayout>
2017-11-12 08:16:51 +00:00
2020-10-09 18:24:02 +00:00
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:layout_marginTop="@dimen/playlist_ctrl_separator_margin"
android:layout_marginBottom="@dimen/playlist_ctrl_separator_margin"
2020-10-09 18:24:02 +00:00
android:background="?attr/colorAccent"
android:clickable="false" />
2017-11-12 08:16:51 +00:00
<LinearLayout
2020-10-09 18:24:02 +00:00
android:id="@+id/playlist_ctrl_play_all_button"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
2020-10-09 18:24:02 +00:00
android:background="?attr/selectableItemBackground"
android:clickable="true"
android:focusable="true"
2020-10-09 18:24:02 +00:00
android:gravity="center">
<org.schabi.newpipe.views.NewPipeTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:text="@string/play_all"
2020-10-09 18:24:02 +00:00
android:textColor="?attr/colorAccent"
android:textSize="@dimen/channel_rss_title_size" />
2017-11-12 08:16:51 +00:00
</LinearLayout>
2020-10-09 18:24:02 +00:00
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:layout_marginTop="@dimen/playlist_ctrl_separator_margin"
android:layout_marginBottom="@dimen/playlist_ctrl_separator_margin"
2020-10-09 18:24:02 +00:00
android:background="?attr/colorAccent"
android:clickable="false" />
<LinearLayout
2020-10-09 18:24:02 +00:00
android:id="@+id/playlist_ctrl_play_popup_button"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
2020-10-09 18:24:02 +00:00
android:background="?attr/selectableItemBackground"
android:clickable="true"
android:focusable="true"
2020-10-09 18:24:02 +00:00
android:gravity="center">
<org.schabi.newpipe.views.NewPipeTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2020-10-09 18:24:02 +00:00
android:drawablePadding="4dp"
android:gravity="center_vertical"
android:text="@string/controls_popup_title"
android:textColor="?attr/colorAccent"
2020-10-09 18:24:02 +00:00
android:textSize="@dimen/channel_rss_title_size"
2021-03-27 14:45:49 +00:00
app:drawableLeftCompat="@drawable/ic_picture_in_picture"
app:drawableStartCompat="@drawable/ic_picture_in_picture" />
</LinearLayout>
</LinearLayout>