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

159 lines
6.1 KiB
XML
Raw Normal View History

2018-07-27 13:07:33 +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"
2019-06-04 04:00: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="wrap_content"
android:orientation="vertical"
android:paddingBottom="12dp">
2018-07-27 13:07:33 +00:00
2019-06-04 04:00:11 +00:00
<LinearLayout
android:id="@+id/userInfoContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingStart="24dp"
android:paddingTop="10dp"
android:paddingEnd="24dp"
android:paddingBottom="10dp">
<code.name.monkey.retromusic.views.CircularImageView
android:id="@+id/userImage"
android:layout_width="42dp"
android:layout_height="42dp"
app:civ_border="false" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingStart="16dp"
android:paddingEnd="0dp">
2019-09-27 15:36:10 +00:00
<com.google.android.material.textview.MaterialTextView
2019-06-04 04:00:11 +00:00
android:id="@+id/text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end"
2019-09-27 15:36:10 +00:00
android:text="@string/welcome"
android:textColor="?colorOnBackground" />
2019-06-04 04:00:11 +00:00
2019-09-27 15:36:10 +00:00
<com.google.android.material.textview.MaterialTextView
2019-06-04 04:00:11 +00:00
android:id="@+id/titleWelcome"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="0dp"
android:textAppearance="@style/TextViewHeadline5"
2019-09-27 15:36:10 +00:00
android:textColor="?colorOnPrimary"
2019-06-04 04:00:11 +00:00
tools:text="@string/app_name" />
</LinearLayout>
</LinearLayout>
2018-07-27 13:07:33 +00:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
2019-03-18 17:46:52 +00:00
android:orientation="horizontal"
android:paddingTop="12dp">
2018-07-27 13:07:33 +00:00
<LinearLayout
android:id="@+id/history"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical">
2019-02-19 10:38:51 +00:00
<code.name.monkey.retromusic.views.ColorIconsImageView
2018-07-27 13:07:33 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:padding="16dp"
2019-06-03 17:18:19 +00:00
app:iconBackgroundColor="@color/md_blue_500"
2019-02-19 10:38:51 +00:00
app:srcCompat="@drawable/ic_access_time_white_24dp" />
2018-07-27 13:07:33 +00:00
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:paddingTop="8dp"
android:text="@string/history" />
2018-07-27 13:07:33 +00:00
</LinearLayout>
<LinearLayout
2018-11-30 01:06:16 +00:00
android:id="@+id/lastAdded"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical">
2019-02-19 10:38:51 +00:00
<code.name.monkey.retromusic.views.ColorIconsImageView
2018-07-27 13:07:33 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:padding="16dp"
2019-06-03 17:18:19 +00:00
app:iconBackgroundColor="@color/md_red_500"
2019-02-19 10:38:51 +00:00
app:srcCompat="@drawable/ic_library_add_white_24dp" />
2018-07-27 13:07:33 +00:00
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:paddingTop="8dp"
2019-02-23 17:39:02 +00:00
android:text="@string/last_added" />
2018-07-27 13:07:33 +00:00
</LinearLayout>
<LinearLayout
2018-11-30 01:06:16 +00:00
android:id="@+id/topPlayed"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical">
2019-02-19 10:38:51 +00:00
<code.name.monkey.retromusic.views.ColorIconsImageView
2018-07-27 13:07:33 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:padding="16dp"
2019-06-03 17:18:19 +00:00
app:iconBackgroundColor="@color/md_deep_purple_500"
2019-02-19 10:38:51 +00:00
app:srcCompat="@drawable/ic_trending_up_white_24dp" />
2018-07-27 13:07:33 +00:00
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:paddingTop="8dp"
2019-02-23 17:39:02 +00:00
android:text="@string/my_top_tracks" />
2018-07-27 13:07:33 +00:00
</LinearLayout>
<LinearLayout
2018-11-30 01:06:16 +00:00
android:id="@+id/actionShuffle"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical">
2019-02-19 10:38:51 +00:00
<code.name.monkey.retromusic.views.ColorIconsImageView
2018-07-27 13:07:33 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:padding="16dp"
2019-06-03 17:18:19 +00:00
app:iconBackgroundColor="@color/md_green_500"
2019-02-19 10:38:51 +00:00
app:srcCompat="@drawable/ic_shuffle_white_24dp" />
2018-07-27 13:07:33 +00:00
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:paddingTop="8dp"
2019-02-23 17:39:02 +00:00
android:text="@string/shuffle" />
2018-07-27 13:07:33 +00:00
</LinearLayout>
</LinearLayout>
2018-11-28 05:37:10 +00:00
</LinearLayout>