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

155 lines
6.0 KiB
XML
Raw Normal View History

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"
android:paddingStart="16dp"
android:paddingEnd="16dp"
2018-11-05 13:53:07 +00:00
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"
android:layout_height="wrap_content"
2018-11-05 13:53:07 +00:00
android:orientation="horizontal"
android:paddingTop="16dp"
android:paddingBottom="16dp">
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"
android:layout_width="38dp"
android:layout_height="38dp"
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"
2018-11-05 13:53:07 +00:00
style="@style/SubTitleTextAppearance"
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"
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"
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"
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>
2018-12-12 21:02:14 +00:00
<code.name.monkey.retromusic.views.MaterialButtonTextColor
android:id="@+id/actionFolders"
2018-12-25 14:58:47 +00:00
style="@style/OptionButtonsStyle"
2018-12-12 21:02:14 +00:00
android:text="@string/folders"
2018-12-25 14:58:47 +00:00
app:icon="@drawable/ic_folder_white_24dp" />
2018-12-12 21:02:14 +00:00
<code.name.monkey.retromusic.views.MaterialButtonTextColor
android:id="@+id/actionEqualizer"
2018-12-25 14:58:47 +00:00
style="@style/OptionButtonsStyle"
2018-12-12 21:02:14 +00:00
android:text="@string/equalizer"
2018-12-25 14:58:47 +00:00
app:icon="@drawable/ic_equalizer_white_24dp" />
2018-12-12 21:02:14 +00:00
2018-12-04 15:34:26 +00:00
<code.name.monkey.retromusic.views.MaterialButtonTextColor
android:id="@+id/actionSleepTimer"
2018-12-25 14:58:47 +00:00
style="@style/OptionButtonsStyle"
2018-11-05 13:53:07 +00:00
android:text="@string/action_sleep_timer"
2018-12-25 14:58:47 +00:00
app:icon="@drawable/ic_timer_white_24dp" />
2018-09-09 19:44:46 +00:00
2018-12-12 21:02:14 +00:00
<code.name.monkey.retromusic.views.MaterialButtonTextColor
android:id="@+id/actionShare"
2018-12-25 14:58:47 +00:00
style="@style/OptionButtonsStyle"
2018-12-12 21:02:14 +00:00
android:text="@string/action_share"
2018-12-25 14:58:47 +00:00
app:icon="@drawable/ic_share_white_24dp" />
2018-12-12 21:02:14 +00:00
2019-03-18 17:46:52 +00:00
<code.name.monkey.retromusic.views.MaterialButtonTextColor
android:id="@+id/actionBugReport"
style="@style/OptionButtonsStyle"
android:text="@string/report_bug"
app:icon="@drawable/ic_bug_report_white_24dp" />
<code.name.monkey.retromusic.views.MaterialButtonTextColor
android:id="@+id/actionAbout"
style="@style/OptionButtonsStyle"
android:text="@string/action_about"
app:icon="@drawable/ic_help_white_24dp" />
2018-12-04 15:34:26 +00:00
<code.name.monkey.retromusic.views.MaterialButtonTextColor
android:id="@+id/actionRate"
2018-12-25 14:58:47 +00:00
style="@style/OptionButtonsStyle"
2018-11-05 13:53:07 +00:00
android:text="@string/rate_app"
2018-12-25 14:58:47 +00:00
app:icon="@drawable/ic_star_white_24dp" />
2018-09-09 19:44:46 +00:00
2019-01-28 10:45:51 +00:00
2018-11-05 13:53:07 +00:00
</LinearLayout>