2018-08-30 09:29:30 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-11-05 13:53:07 +00:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-08-30 09:29:30 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2018-09-09 19:44:46 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2018-08-30 09:29:30 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-11-05 13:53:07 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
tools:ignore="MissingPrefix">
|
2018-08-30 09:29:30 +00:00
|
|
|
|
2018-09-09 19:44:46 +00:00
|
|
|
<LinearLayout
|
2018-12-04 15:34:26 +00:00
|
|
|
android:id="@+id/userInfoContainer"
|
2018-08-30 09:29:30 +00:00
|
|
|
android:layout_width="match_parent"
|
2019-03-25 12:43:43 +00:00
|
|
|
android:padding="16dp"
|
|
|
|
android:gravity="center_vertical"
|
2018-08-30 09:29:30 +00:00
|
|
|
android:layout_height="wrap_content"
|
2019-03-25 12:43:43 +00:00
|
|
|
android:orientation="horizontal">
|
2018-09-09 19:44:46 +00:00
|
|
|
|
2018-11-05 13:53:07 +00:00
|
|
|
<code.name.monkey.retromusic.views.CircularImageView
|
2018-12-04 15:34:26 +00:00
|
|
|
android:id="@+id/userImage"
|
2019-03-25 12:43:43 +00:00
|
|
|
android:layout_width="42dp"
|
|
|
|
android:layout_height="42dp"
|
2018-11-05 13:53:07 +00:00
|
|
|
android:layout_weight="0"
|
|
|
|
app:civ_border="false" />
|
|
|
|
|
|
|
|
<LinearLayout
|
2018-09-09 19:44:46 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-11-28 05:37:10 +00:00
|
|
|
android:layout_gravity="center_vertical"
|
2018-12-04 15:34:26 +00:00
|
|
|
android:layout_weight="1"
|
2018-11-28 05:37:10 +00:00
|
|
|
android:gravity="center_vertical"
|
2018-12-04 15:34:26 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingStart="12dp"
|
|
|
|
android:paddingEnd="12dp">
|
2018-11-05 13:53:07 +00:00
|
|
|
|
|
|
|
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
|
2018-12-04 15:34:26 +00:00
|
|
|
android:id="@+id/titleWelcome"
|
2019-03-25 12:43:43 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:textSize="18sp"
|
|
|
|
android:layout_height="wrap_content"
|
2018-12-04 15:34:26 +00:00
|
|
|
android:padding="0dp" />
|
2018-11-05 13:53:07 +00:00
|
|
|
|
|
|
|
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
|
|
|
|
android:id="@+id/text"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:alpha="0.75"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:text="@string/lets_play_something" />
|
2018-09-09 19:44:46 +00:00
|
|
|
|
2018-11-05 13:53:07 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<code.name.monkey.retromusic.views.IconImageView
|
2018-12-04 15:34:26 +00:00
|
|
|
android:id="@+id/actionSettings"
|
2018-11-05 13:53:07 +00:00
|
|
|
android:layout_width="wrap_content"
|
2018-09-23 10:04:43 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-11-05 13:53:07 +00:00
|
|
|
android:background="?roundSelector"
|
2018-09-23 10:04:43 +00:00
|
|
|
android:gravity="center_vertical"
|
2018-11-05 13:53:07 +00:00
|
|
|
android:padding="12dp"
|
2018-09-23 10:04:43 +00:00
|
|
|
android:textAllCaps="false"
|
2018-11-05 13:53:07 +00:00
|
|
|
app:srcCompat="@drawable/ic_settings_white_24dp" />
|
|
|
|
</LinearLayout>
|
2018-12-12 21:02:14 +00:00
|
|
|
|
2019-01-28 10:45:51 +00:00
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
|
|
android:id="@+id/buyProContainer"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:cardBackgroundColor="@color/md_grey_400"
|
|
|
|
app:cardCornerRadius="8dp"
|
|
|
|
app:cardUseCompatPadding="true"
|
|
|
|
app:contentPadding="8dp">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
style="@style/TextAppearance.MaterialComponents.Overline"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
android:paddingEnd="8dp"
|
2019-03-09 02:32:29 +00:00
|
|
|
android:text="Upgrade to premium"
|
|
|
|
android:textColor="@color/md_grey_200" />
|
2019-01-28 10:45:51 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
style="@style/TextAppearance.MaterialComponents.Headline6"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
android:paddingEnd="8dp"
|
2019-03-09 02:32:29 +00:00
|
|
|
android:text="@string/buy_pro"
|
|
|
|
android:textColor="@color/md_white_1000" />
|
2019-01-28 10:45:51 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
2019-03-09 02:32:29 +00:00
|
|
|
android:contentDescription="TODO"
|
2019-03-18 17:46:52 +00:00
|
|
|
android:src="@drawable/promotional"
|
|
|
|
android:visibility="gone" />
|
2019-01-28 10:45:51 +00:00
|
|
|
</LinearLayout>
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
|
2019-03-25 12:43:43 +00:00
|
|
|
<code.name.monkey.retromusic.views.OptionMenuItemView
|
2018-12-12 21:02:14 +00:00
|
|
|
android:id="@+id/actionFolders"
|
2019-03-25 12:43:43 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?rectSelector"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
app:optionIcon="@drawable/ic_folder_white_24dp"
|
|
|
|
app:optionTitle="@string/folders" />
|
2018-12-12 21:02:14 +00:00
|
|
|
|
2019-03-25 12:43:43 +00:00
|
|
|
<code.name.monkey.retromusic.views.OptionMenuItemView
|
2018-12-12 21:02:14 +00:00
|
|
|
android:id="@+id/actionEqualizer"
|
2019-03-25 12:43:43 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?rectSelector"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
app:optionIcon="@drawable/ic_equalizer_white_24dp"
|
|
|
|
app:optionTitle="@string/equalizer" />
|
2018-12-12 21:02:14 +00:00
|
|
|
|
2019-03-25 12:43:43 +00:00
|
|
|
<code.name.monkey.retromusic.views.OptionMenuItemView
|
2018-12-04 15:34:26 +00:00
|
|
|
android:id="@+id/actionSleepTimer"
|
2019-03-25 12:43:43 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?rectSelector"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
app:optionIcon="@drawable/ic_timer_white_24dp"
|
|
|
|
app:optionTitle="@string/action_sleep_timer" />
|
2018-09-09 19:44:46 +00:00
|
|
|
|
2019-03-25 12:43:43 +00:00
|
|
|
<code.name.monkey.retromusic.views.OptionMenuItemView
|
2018-12-12 21:02:14 +00:00
|
|
|
android:id="@+id/actionShare"
|
2019-03-25 12:43:43 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?rectSelector"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
app:optionIcon="@drawable/ic_share_white_24dp"
|
|
|
|
app:optionTitle="@string/action_share" />
|
2018-12-12 21:02:14 +00:00
|
|
|
|
2019-03-25 12:43:43 +00:00
|
|
|
<code.name.monkey.retromusic.views.OptionMenuItemView
|
2019-03-18 17:46:52 +00:00
|
|
|
android:id="@+id/actionBugReport"
|
2019-03-25 12:43:43 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?rectSelector"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
app:optionIcon="@drawable/ic_bug_report_white_24dp"
|
|
|
|
app:optionTitle="@string/report_bug" />
|
2019-03-18 17:46:52 +00:00
|
|
|
|
2019-03-25 12:43:43 +00:00
|
|
|
<code.name.monkey.retromusic.views.OptionMenuItemView
|
2018-12-04 15:34:26 +00:00
|
|
|
android:id="@+id/actionRate"
|
2019-03-25 12:43:43 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?rectSelector"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
app:optionIcon="@drawable/ic_star_white_24dp"
|
|
|
|
app:optionTitle="@string/rate_app" />
|
2018-11-05 13:53:07 +00:00
|
|
|
</LinearLayout>
|