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

70 lines
2.7 KiB
XML
Raw Normal View History

2019-06-04 16:49:20 +00:00
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (c) 2019 Hemanth Savarala.
~
~ Licensed under the GNU General Public License v3
~
~ This is free software: you can redistribute it and/or modify it under
~ the terms of the GNU General Public License as published by
~ the Free Software Foundation either version 3 of the License, or (at your option) any later version.
~
~ This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
~ without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~ See the GNU General Public License for more details.
-->
2020-04-26 10:59:35 +00:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2019-06-04 16:49:20 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2020-08-11 18:29:44 +00:00
android:gravity="center_vertical|end"
2020-05-09 09:18:29 +00:00
android:orientation="horizontal">
2019-06-04 16:49:20 +00:00
2020-04-26 10:59:35 +00:00
<com.google.android.material.button.MaterialButton
android:id="@+id/playAction"
2020-02-20 15:32:13 +00:00
android:layout_width="wrap_content"
2019-06-04 16:49:20 +00:00
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
2020-05-09 09:18:29 +00:00
android:layout_marginEnd="4dp"
2020-04-26 10:59:35 +00:00
android:layout_weight="1"
2020-02-20 15:32:13 +00:00
android:text="@string/action_play_all"
2020-08-11 18:29:44 +00:00
android:visibility="gone"
2020-04-26 10:59:35 +00:00
app:backgroundTint="?attr/colorSurface"
2020-07-19 21:00:30 +00:00
app:icon="@drawable/ic_play_arrow" />
2019-06-04 16:49:20 +00:00
2020-04-26 10:59:35 +00:00
<com.google.android.material.button.MaterialButton
2019-06-04 16:49:20 +00:00
android:id="@+id/shuffleAction"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2020-05-09 09:18:29 +00:00
android:layout_marginStart="4dp"
android:layout_marginEnd="16dp"
2020-04-26 10:59:35 +00:00
android:layout_weight="1"
2020-02-20 15:32:13 +00:00
android:text="@string/shuffle"
2020-08-11 18:29:44 +00:00
android:visibility="gone"
2020-04-26 10:59:35 +00:00
app:backgroundTint="?attr/colorSurface"
2020-07-19 21:00:30 +00:00
app:icon="@drawable/ic_shuffle" />
2019-06-04 16:49:20 +00:00
2020-08-11 18:29:44 +00:00
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:clickable="true"
android:padding="16dp"
app:srcCompat="@drawable/ic_sort"
app:tint="?attr/colorControlNormal" />
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:clickable="true"
android:padding="16dp"
app:srcCompat="@drawable/ic_grid_size"
app:tint="?attr/colorControlNormal" />
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:clickable="true"
android:padding="16dp"
app:srcCompat="@drawable/ic_layout"
app:tint="?attr/colorControlNormal" />
2020-04-26 10:59:35 +00:00
</LinearLayout>