diff options
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/fragment_post_layot_bottom_sheet.xml | 12 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 6 | ||||
-rw-r--r-- | app/src/main/res/xml/post_preferences.xml | 10 |
3 files changed, 20 insertions, 8 deletions
diff --git a/app/src/main/res/layout/fragment_post_layot_bottom_sheet.xml b/app/src/main/res/layout/fragment_post_layot_bottom_sheet.xml index 3cf40d28..e42263a0 100644 --- a/app/src/main/res/layout/fragment_post_layot_bottom_sheet.xml +++ b/app/src/main/res/layout/fragment_post_layot_bottom_sheet.xml @@ -29,7 +29,7 @@ android:fontFamily="?attr/font_family" /> <TextView - android:id="@+id/compact_layout_text_view_post_layout_bottom_sheet_fragment" + android:id="@+id/card_layout_2_text_view_post_layout_bottom_sheet_fragment" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="?attr/selectableItemBackground" @@ -39,13 +39,13 @@ android:paddingTop="16dp" android:paddingEnd="32dp" android:paddingBottom="16dp" - android:text="@string/post_layout_compact" + android:text="@string/post_layout_card_2" android:textColor="?attr/primaryTextColor" android:textSize="?attr/font_default" android:fontFamily="?attr/font_family" /> <TextView - android:id="@+id/gallery_layout_text_view_post_layout_bottom_sheet_fragment" + android:id="@+id/compact_layout_text_view_post_layout_bottom_sheet_fragment" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="?attr/selectableItemBackground" @@ -55,13 +55,13 @@ android:paddingTop="16dp" android:paddingEnd="32dp" android:paddingBottom="16dp" - android:text="@string/post_layout_gallery" + android:text="@string/post_layout_compact" android:textColor="?attr/primaryTextColor" android:textSize="?attr/font_default" android:fontFamily="?attr/font_family" /> <TextView - android:id="@+id/card_layout_2_text_view_post_layout_bottom_sheet_fragment" + android:id="@+id/gallery_layout_text_view_post_layout_bottom_sheet_fragment" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="?attr/selectableItemBackground" @@ -71,7 +71,7 @@ android:paddingTop="16dp" android:paddingEnd="32dp" android:paddingBottom="16dp" - android:text="@string/post_layout_card_2" + android:text="@string/post_layout_gallery" android:textColor="?attr/primaryTextColor" android:textSize="?attr/font_default" android:fontFamily="?attr/font_family" /> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 97c0a842..92097b7c 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -537,6 +537,8 @@ <string name="settings_click_to_show_media_in_gallery_layout">Click to Show Media in Gallery Layout</string> <string name="settings_hide_post_type">Hide Post Type</string> <string name="settings_hide_the_number_of_awards">Hide the Number of Awards</string> + <string name="settings_hide_subreddit_and_user_prefix">Hide Subreddit and User Prefix</string> + <string name="settings_hide_the_number_of_votes">Hide the Number of Votes</string> <string name="no_link_available">Cannot get the link</string> @@ -1024,7 +1026,7 @@ <string name="have_trouble_login_title">Having Trouble Login</string> <string name="have_trouble_login_message">Do you want to try another way to login?</string> - <!-- TODO: Remove or change this placeholder text --> - <string name="hello_blank_fragment">Hello blank fragment</string> + + <string name="vote">Vote</string> </resources> diff --git a/app/src/main/res/xml/post_preferences.xml b/app/src/main/res/xml/post_preferences.xml index bafe60fd..c695d63c 100644 --- a/app/src/main/res/xml/post_preferences.xml +++ b/app/src/main/res/xml/post_preferences.xml @@ -24,6 +24,16 @@ app:key="hide_the_number_of_awards" app:title="@string/settings_hide_the_number_of_awards" /> + <SwitchPreference + app:defaultValue="false" + app:key="hide_subreddit_and_user_prefix" + app:title="@string/settings_hide_subreddit_and_user_prefix" /> + + <SwitchPreference + app:defaultValue="false" + app:key="hide_the_number_of_votes" + app:title="@string/settings_hide_the_number_of_votes" /> + <PreferenceCategory app:title="@string/post_layout_compact" /> |