mirror of
https://github.com/cmclark00/RetroMusicPlayer.git
synced 2025-05-22 18:05:28 +01:00
166 lines
6.4 KiB
XML
166 lines
6.4 KiB
XML
<?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"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:cardCornerRadius="20dp"
|
|
app:cardUseCompatPadding="true">
|
|
|
|
<FrameLayout
|
|
android:id="@+id/search"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?rectSelector"
|
|
android:gravity="center_vertical">
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/search_icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingStart="14dp"
|
|
android:paddingTop="10dp"
|
|
android:paddingEnd="12dp"
|
|
android:paddingBottom="10dp"
|
|
app:srcCompat="@drawable/ic_search_white_24dp"
|
|
app:tint="?colorAccent" />
|
|
|
|
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
|
|
android:id="@+id/search_view"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:hint="@string/search_hint"
|
|
android:textAppearance="@style/Base.TextAppearance.AppCompat.Subhead" />
|
|
|
|
</FrameLayout>
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
style="@style/SubTitleTextAppearance"
|
|
android:text="@string/for_you" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="horizontal">
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/history"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:background="@drawable/abs_history_playlist"
|
|
android:padding="12dp"
|
|
app:srcCompat="@drawable/ic_access_time_white_24dp"
|
|
app:tint="@color/md_blue_A700" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:paddingTop="8dp"
|
|
android:text="@string/history"
|
|
android:textSize="12sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/last_added"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:background="@drawable/abs_last_added_playlist"
|
|
android:padding="12dp"
|
|
app:srcCompat="@drawable/ic_library_add_white_24dp"
|
|
app:tint="@color/md_red_A700" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:paddingTop="8dp"
|
|
android:text="@string/last_added"
|
|
android:textSize="12sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/top_played"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:background="@drawable/abs_top_tracks_playlist"
|
|
android:padding="12dp"
|
|
app:srcCompat="@drawable/ic_trending_up_white_24dp"
|
|
app:tint="@color/md_deep_purple_A700" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:paddingTop="8dp"
|
|
android:text="@string/my_top_tracks"
|
|
android:textSize="12sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/action_shuffle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:background="@drawable/abs_shuffle"
|
|
android:padding="12dp"
|
|
app:srcCompat="@drawable/ic_shuffle_white_24dp"
|
|
app:tint="@color/md_green_A700" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:paddingTop="8dp"
|
|
android:text="@string/shuffle"
|
|
android:textSize="12sp" />
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_margin="12dp"
|
|
android:background="?attr/dividerColor" />
|
|
</LinearLayout>
|