add preferred content language selection to AccountFragment
this contains only gui work
This commit is contained in:
		@ -46,12 +46,12 @@
 | 
			
		||||
    <string name="account_login_desc">Tap to edit</string>
 | 
			
		||||
    <string name="account_subscription">Subscription %1$s</string>
 | 
			
		||||
    <string name="account_subscription_desc">Tap to extend</string>
 | 
			
		||||
    <string name="info">Info</string>
 | 
			
		||||
    <string name="info_about" translatable="false">Teapod by @Seil0</string>
 | 
			
		||||
    <string name="info_about_desc">Version %1$s (%2$s)</string>
 | 
			
		||||
    <string name="settings">Settings</string>
 | 
			
		||||
    <string name="settings_content_language">Preferred content language</string>
 | 
			
		||||
    <string name="settings_content_language_desc">English</string>
 | 
			
		||||
    <string name="settings_content_language_none">None</string>
 | 
			
		||||
    <string name="settings_secondary">Prefer japanese (sub)</string>
 | 
			
		||||
    <string name="settings_secondary_desc">Use the japanese, if present</string>
 | 
			
		||||
    <string name="settings_secondary_desc">Use japanese, if present</string>
 | 
			
		||||
    <string name="settings_autoplay">Autoplay</string>
 | 
			
		||||
    <string name="settings_autoplay_desc">Play next episode automatically</string>
 | 
			
		||||
    <string name="theme">Theme</string>
 | 
			
		||||
@ -63,6 +63,9 @@
 | 
			
		||||
    <string name="import_data">import data</string>
 | 
			
		||||
    <string name="import_data_desc">import "My list" from a file</string>
 | 
			
		||||
    <string name="import_data_success">imported "My list" successfully</string>
 | 
			
		||||
    <string name="info">Info</string>
 | 
			
		||||
    <string name="info_about" translatable="false">Teapod by @Seil0</string>
 | 
			
		||||
    <string name="info_about_desc">Version %1$s (%2$s)</string>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    <!-- about fragment -->
 | 
			
		||||
 | 
			
		||||
@ -36,15 +36,30 @@
 | 
			
		||||
        <item name="shapeTextBackground">@color/textBackgroundDark</item>
 | 
			
		||||
        <item name="iconColor">@color/iconColorDark</item>
 | 
			
		||||
        <item name="buttonBackground">@color/buttonBackgroundDark</item>
 | 
			
		||||
 | 
			
		||||
        <item name="md_background_color">@color/themeSecondaryDark</item>
 | 
			
		||||
        <item name="md_color_content">@color/textSecondaryDark</item>
 | 
			
		||||
 | 
			
		||||
        <!-- without this, the unchecked single choice buttons while be black -->
 | 
			
		||||
        <item name="md_color_widget_unchecked">@color/textSecondaryDark</item>
 | 
			
		||||
 | 
			
		||||
        <item name="materialAlertDialogTheme">@style/ThemeOverlay.App.MaterialAlertDialog.Dark</item>
 | 
			
		||||
        <!-- change on click indicator color for manually set components -->
 | 
			
		||||
        <item name="colorControlHighlight">@color/controlHighlightDark</item>
 | 
			
		||||
    </style>
 | 
			
		||||
 | 
			
		||||
    <!-- dialog themes -->
 | 
			
		||||
    <style name="ThemeOverlay.App.MaterialAlertDialog.Dark" parent="ThemeOverlay.MaterialComponents.MaterialAlertDialog">
 | 
			
		||||
        <item name="colorPrimary">@color/colorPrimary</item>
 | 
			
		||||
        <item name="colorSurface">@color/themeSecondaryDark</item>
 | 
			
		||||
        <item name="colorOnSurface">@color/textPrimaryDark</item>
 | 
			
		||||
        <item name="android:colorControlNormal">@color/textSecondaryDark</item> <!-- Radio button unchecked-->
 | 
			
		||||
        <item name="materialAlertDialogTitleTextStyle">@style/MaterialAlertDialog.App.Title.Text</item>
 | 
			
		||||
    </style>
 | 
			
		||||
 | 
			
		||||
    <style name="MaterialAlertDialog.App.Title.Text" parent="MaterialAlertDialog.MaterialComponents.Title.Text">
 | 
			
		||||
        <item name="android:textColor">?textPrimary</item>
 | 
			
		||||
    </style>
 | 
			
		||||
 | 
			
		||||
    <!-- player theme -->
 | 
			
		||||
    <style name="PlayerTheme" parent="Theme.MaterialComponents.Light.NoActionBar">
 | 
			
		||||
        <item name="android:windowNoTitle">true</item>
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user