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

82 lines
3.6 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 09:55:00 +00:00
<androidx.constraintlayout.widget.ConstraintLayout 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"
2020-04-26 09:55:00 +00:00
xmlns:tools="http://schemas.android.com/tools"
2019-06-04 16:49:20 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal">
2019-06-04 16:49:20 +00:00
2020-04-26 09:55:00 +00:00
<com.google.android.material.textview.MaterialTextView
android:id="@+id/info"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:padding="16dp"
app:layout_constraintBottom_toBottomOf="parent"
2020-04-26 10:17:09 +00:00
app:layout_constraintEnd_toStartOf="@id/gridSize"
2020-04-26 09:55:00 +00:00
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:text="@tools:sample/full_names" />
2020-04-26 10:17:09 +00:00
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/gridSize"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="16dp"
android:text="@string/action_play_all"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/sortOrder"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_grid_size_white_24dp"
app:tint="?android:attr/colorControlNormal" />
2020-04-26 09:55:00 +00:00
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/sortOrder"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="16dp"
android:text="@string/action_play_all"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/changeLayoutType"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_sort_white_24dp"
app:tint="?android:attr/colorControlNormal" />
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/changeLayoutType"
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"
2020-04-26 09:55:00 +00:00
android:padding="16dp"
2020-02-20 15:32:13 +00:00
android:text="@string/action_play_all"
2020-04-26 09:55:00 +00:00
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/shuffleAction"
app:layout_constraintTop_toTopOf="parent"
2020-04-26 10:17:09 +00:00
app:srcCompat="@drawable/ic_dashboard_white_24dp"
2020-04-26 09:55:00 +00:00
app:tint="?android:attr/colorControlNormal" />
2019-06-04 16:49:20 +00:00
2020-04-26 09:55:00 +00:00
<androidx.appcompat.widget.AppCompatImageView
2019-06-04 16:49:20 +00:00
android:id="@+id/shuffleAction"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2020-04-26 09:55:00 +00:00
android:padding="16dp"
2020-02-20 15:32:13 +00:00
android:text="@string/shuffle"
2020-04-26 09:55:00 +00:00
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_shuffle_white_24dp"
app:tint="?android:attr/colorControlNormal" />
2019-06-04 16:49:20 +00:00
2020-04-26 09:55:00 +00:00
</androidx.constraintlayout.widget.ConstraintLayout>