2018-07-27 18:37:33 +05:30
|
|
|
<?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 09:30:11 +05:30
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-06-03 12:07:54 +05:30
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingBottom="12dp">
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2019-06-04 09:30:11 +05:30
|
|
|
|
|
|
|
<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 21:06:10 +05:30
|
|
|
<com.google.android.material.textview.MaterialTextView
|
2019-06-04 09:30:11 +05:30
|
|
|
android:id="@+id/text"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="end"
|
2019-09-27 21:06:10 +05:30
|
|
|
android:text="@string/welcome"
|
|
|
|
android:textColor="?colorOnBackground" />
|
2019-06-04 09:30:11 +05:30
|
|
|
|
2019-09-27 21:06:10 +05:30
|
|
|
<com.google.android.material.textview.MaterialTextView
|
2019-06-04 09:30:11 +05:30
|
|
|
android:id="@+id/titleWelcome"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="0dp"
|
2019-09-02 20:21:53 +05:30
|
|
|
android:textAppearance="@style/TextViewHeadline5"
|
2019-09-27 21:06:10 +05:30
|
|
|
android:textColor="?colorOnPrimary"
|
2019-06-04 09:30:11 +05:30
|
|
|
tools:text="@string/app_name" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
2018-07-27 18:37:33 +05:30
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_horizontal"
|
2019-03-18 23:16:52 +05:30
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingTop="12dp">
|
2018-07-27 18:37:33 +05:30
|
|
|
|
|
|
|
<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 16:08:51 +05:30
|
|
|
<code.name.monkey.retromusic.views.ColorIconsImageView
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
2019-06-03 12:07:54 +05:30
|
|
|
android:padding="16dp"
|
2019-06-03 22:48:19 +05:30
|
|
|
app:iconBackgroundColor="@color/md_blue_500"
|
2019-02-19 16:08:51 +05:30
|
|
|
app:srcCompat="@drawable/ic_access_time_white_24dp" />
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2019-09-02 20:21:53 +05:30
|
|
|
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:paddingTop="8dp"
|
2019-09-02 20:21:53 +05:30
|
|
|
android:text="@string/history" />
|
2018-07-27 18:37:33 +05:30
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2018-11-30 06:36:16 +05:30
|
|
|
android:id="@+id/lastAdded"
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2019-02-19 16:08:51 +05:30
|
|
|
<code.name.monkey.retromusic.views.ColorIconsImageView
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
2019-06-03 12:07:54 +05:30
|
|
|
android:padding="16dp"
|
2019-06-03 22:48:19 +05:30
|
|
|
app:iconBackgroundColor="@color/md_red_500"
|
2019-02-19 16:08:51 +05:30
|
|
|
app:srcCompat="@drawable/ic_library_add_white_24dp" />
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2019-09-02 20:21:53 +05:30
|
|
|
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:paddingTop="8dp"
|
2019-02-23 23:09:02 +05:30
|
|
|
android:text="@string/last_added" />
|
2018-07-27 18:37:33 +05:30
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2018-11-30 06:36:16 +05:30
|
|
|
android:id="@+id/topPlayed"
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2019-02-19 16:08:51 +05:30
|
|
|
<code.name.monkey.retromusic.views.ColorIconsImageView
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
2019-06-03 12:07:54 +05:30
|
|
|
android:padding="16dp"
|
2019-06-03 22:48:19 +05:30
|
|
|
app:iconBackgroundColor="@color/md_deep_purple_500"
|
2019-02-19 16:08:51 +05:30
|
|
|
app:srcCompat="@drawable/ic_trending_up_white_24dp" />
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2019-09-02 20:21:53 +05:30
|
|
|
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:paddingTop="8dp"
|
2019-02-23 23:09:02 +05:30
|
|
|
android:text="@string/my_top_tracks" />
|
2018-07-27 18:37:33 +05:30
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2018-11-30 06:36:16 +05:30
|
|
|
android:id="@+id/actionShuffle"
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2019-02-19 16:08:51 +05:30
|
|
|
<code.name.monkey.retromusic.views.ColorIconsImageView
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
2019-06-03 12:07:54 +05:30
|
|
|
android:padding="16dp"
|
2019-06-03 22:48:19 +05:30
|
|
|
app:iconBackgroundColor="@color/md_green_500"
|
2019-02-19 16:08:51 +05:30
|
|
|
app:srcCompat="@drawable/ic_shuffle_white_24dp" />
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2019-09-02 20:21:53 +05:30
|
|
|
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:paddingTop="8dp"
|
2019-02-23 23:09:02 +05:30
|
|
|
android:text="@string/shuffle" />
|
2018-07-27 18:37:33 +05:30
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
2018-11-28 11:07:10 +05:30
|
|
|
</LinearLayout>
|