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

344 lines
15 KiB
XML
Raw Normal View History

2018-07-27 13:07:33 +00:00
<?xml version="1.0" encoding="utf-8"?>
2018-08-30 09:29:30 +00:00
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
2018-07-27 13:07:33 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
<LinearLayout
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
2018-12-08 03:34:15 +00:00
<LinearLayout
android:id="@+id/userInfoContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingStart="12dp"
android:paddingTop="12dp"
android:paddingEnd="8dp"
android:paddingBottom="12dp">
<code.name.monkey.retromusic.views.CircularImageView
android:id="@+id/userImage"
android:layout_width="38dp"
android:layout_height="38dp"
android:layout_weight="0"
app:civ_border="false" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical"
android:paddingStart="18dp"
android:paddingEnd="12dp"
android:paddingBottom="8dp">
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
android:id="@+id/titleWelcome"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="marquee"
android:fadingEdge="horizontal"
android:singleLine="true"
android:text="@string/general_settings_title"
android:textSize="@dimen/ate_default_textsize_subheading" />
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
android:id="@+id/text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:maxLines="4"
android:text="@string/lets_play_something"
android:textSize="@dimen/ate_default_textsize_body"
tools:text="Summary" />
</LinearLayout>
</LinearLayout>
2018-09-23 10:04:43 +00:00
<LinearLayout
2018-12-04 15:34:26 +00:00
android:id="@+id/generalSettings"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?rectSelector"
android:minHeight="72dp"
android:orientation="horizontal">
<code.name.monkey.retromusic.views.IconImageView
android:id="@+id/general_settings_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="16dp"
app:srcCompat="@drawable/ic_theme_palette_white_24dp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
2018-09-23 10:04:43 +00:00
android:padding="12dp">
2018-07-27 13:07:33 +00:00
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="marquee"
android:fadingEdge="horizontal"
android:singleLine="true"
android:text="@string/general_settings_title"
2018-09-23 10:04:43 +00:00
android:textSize="@dimen/ate_default_textsize_subheading" />
2018-07-27 13:07:33 +00:00
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:maxLines="4"
android:text="@string/general_settings_summary"
android:textSize="@dimen/ate_default_textsize_body"
tools:text="Summary" />
</LinearLayout>
</LinearLayout>
2018-08-30 09:29:30 +00:00
<LinearLayout
2018-12-04 15:34:26 +00:00
android:id="@+id/nowPlayingSettings"
2018-08-30 09:29:30 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?rectSelector"
android:minHeight="72dp"
android:orientation="horizontal">
<code.name.monkey.retromusic.views.IconImageView
android:id="@+id/now_playing_settings_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="16dp"
app:srcCompat="@drawable/ic_play_circle_filled_white_24dp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
2018-09-23 10:04:43 +00:00
android:padding="12dp">
2018-08-30 09:29:30 +00:00
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="marquee"
android:fadingEdge="horizontal"
android:singleLine="true"
android:text="@string/now_playing"
android:textSize="@dimen/ate_default_textsize_subheading" />
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:maxLines="4"
android:text="@string/now_playing_summary"
android:textSize="@dimen/ate_default_textsize_body" />
</LinearLayout>
</LinearLayout>
2018-07-27 13:07:33 +00:00
<LinearLayout
2018-12-04 15:34:26 +00:00
android:id="@+id/audioSettings"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?rectSelector"
android:minHeight="72dp"
android:orientation="horizontal">
<code.name.monkey.retromusic.views.IconImageView
android:id="@+id/audio_settings_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="16dp"
app:srcCompat="@drawable/ic_volume_up_white_24dp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
2018-09-23 10:04:43 +00:00
android:padding="12dp">
2018-07-27 13:07:33 +00:00
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="marquee"
android:fadingEdge="horizontal"
android:singleLine="true"
android:text="@string/pref_header_audio"
android:textSize="@dimen/ate_default_textsize_subheading" />
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:maxLines="4"
android:text="@string/audio_settings_summary"
android:textSize="@dimen/ate_default_textsize_body" />
</LinearLayout>
</LinearLayout>
<LinearLayout
2018-12-04 15:34:26 +00:00
android:id="@+id/personalizeSettings"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?rectSelector"
android:minHeight="72dp"
android:orientation="horizontal">
<code.name.monkey.retromusic.views.IconImageView
2018-08-30 09:29:30 +00:00
android:id="@+id/personalize_settings_icon"
2018-07-27 13:07:33 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="16dp"
app:srcCompat="@drawable/ic_hdr_strong_white_24dp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
2018-09-23 10:04:43 +00:00
android:padding="12dp">
2018-07-27 13:07:33 +00:00
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="marquee"
android:fadingEdge="horizontal"
android:singleLine="true"
android:text="@string/personalize"
android:textSize="@dimen/ate_default_textsize_subheading" />
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:maxLines="4"
android:text="@string/personalize_settings_summary"
android:textSize="@dimen/ate_default_textsize_body" />
</LinearLayout>
</LinearLayout>
<LinearLayout
2018-12-04 15:34:26 +00:00
android:id="@+id/imageSettings"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?rectSelector"
android:minHeight="72dp"
android:orientation="horizontal">
<code.name.monkey.retromusic.views.IconImageView
android:id="@+id/image_settings_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="16dp"
app:srcCompat="@drawable/ic_image_white_24dp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
2018-09-23 10:04:43 +00:00
android:padding="12dp">
2018-07-27 13:07:33 +00:00
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="marquee"
android:fadingEdge="horizontal"
android:singleLine="true"
android:text="@string/pref_header_images"
android:textSize="@dimen/ate_default_textsize_subheading" />
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:maxLines="4"
android:text="@string/image_settings_summary"
android:textSize="@dimen/ate_default_textsize_body" />
</LinearLayout>
</LinearLayout>
<LinearLayout
2018-12-04 15:34:26 +00:00
android:id="@+id/notificationSettings"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?rectSelector"
android:minHeight="72dp"
android:orientation="horizontal">
<code.name.monkey.retromusic.views.IconImageView
android:id="@+id/notification_settings_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="16dp"
app:srcCompat="@drawable/ic_notifications_active_white_24dp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
2018-09-23 10:04:43 +00:00
android:padding="12dp">
2018-07-27 13:07:33 +00:00
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="marquee"
android:fadingEdge="horizontal"
android:singleLine="true"
android:text="@string/notification"
android:textSize="@dimen/ate_default_textsize_subheading" />
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:maxLines="4"
android:text="@string/notification_settings_summary"
android:textSize="@dimen/ate_default_textsize_body" />
</LinearLayout>
</LinearLayout>
<LinearLayout
2018-12-04 15:34:26 +00:00
android:id="@+id/otherSettings"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?rectSelector"
android:gravity="center_vertical"
android:orientation="horizontal">
<code.name.monkey.retromusic.views.IconImageView
android:id="@+id/other_settings_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="16dp"
app:srcCompat="@drawable/ic_settings_white_24dp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-09-23 10:04:43 +00:00
android:layout_gravity="center_vertical"
android:gravity="center_vertical"
2018-07-27 13:07:33 +00:00
android:orientation="vertical"
2018-09-23 10:04:43 +00:00
android:padding="12dp">
2018-07-27 13:07:33 +00:00
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="marquee"
android:fadingEdge="horizontal"
android:singleLine="true"
android:text="@string/others"
android:textSize="@dimen/ate_default_textsize_subheading" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
2018-08-30 09:29:30 +00:00
</androidx.core.widget.NestedScrollView>