From 9ca494d4b5409b12b8262194f736284036858c01 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Fri, 20 Sep 2019 21:27:00 +0800 Subject: Changing font size is available. Delete duplicate Edit menu in comments. --- app/src/main/res/layout/activity_comment.xml | 4 +-- app/src/main/res/layout/activity_edit_comment.xml | 2 +- app/src/main/res/layout/activity_edit_post.xml | 4 +-- app/src/main/res/layout/activity_main.xml | 33 ++++++++++++++-------- app/src/main/res/layout/activity_post_image.xml | 12 ++++++-- app/src/main/res/layout/activity_post_link.xml | 13 ++++++--- app/src/main/res/layout/activity_post_text.xml | 13 ++++++--- app/src/main/res/layout/activity_post_video.xml | 12 ++++++-- app/src/main/res/layout/activity_rules.xml | 1 + app/src/main/res/layout/activity_search.xml | 6 ++-- app/src/main/res/layout/activity_view_image.xml | 3 +- app/src/main/res/layout/activity_view_message.xml | 3 +- .../main/res/layout/activity_view_post_detail.xml | 3 +- .../res/layout/activity_view_subreddit_detail.xml | 7 +++-- .../main/res/layout/activity_view_user_detail.xml | 3 +- app/src/main/res/layout/dialog_edit_flair.xml | 3 +- .../main/res/layout/fragment_comments_listing.xml | 3 +- .../res/layout/fragment_flair_bottom_sheet.xml | 5 ++-- .../res/layout/fragment_followed_users_listing.xml | 3 +- .../fragment_modify_comment_bottom_sheet.xml | 16 ++--------- app/src/main/res/layout/fragment_post.xml | 3 +- .../res/layout/fragment_post_type_bottom_sheet.xml | 12 +++++--- ...fragment_search_post_sort_type_bottom_sheet.xml | 5 ++++ ...h_user_and_subreddit_sort_type_bottom_sheet.xml | 2 ++ .../res/layout/fragment_sort_type_bottom_sheet.xml | 7 +++++ .../main/res/layout/fragment_subreddit_listing.xml | 3 +- .../fragment_subscribed_subreddits_listing.xml | 3 +- app/src/main/res/layout/fragment_user_listing.xml | 3 +- .../fragment_user_thing_sort_type_bottom_sheet.xml | 4 +++ app/src/main/res/layout/item_account.xml | 3 +- app/src/main/res/layout/item_acknowledgement.xml | 5 ++-- app/src/main/res/layout/item_comment.xml | 6 +++- .../main/res/layout/item_comment_footer_error.xml | 5 ++-- app/src/main/res/layout/item_flair.xml | 3 +- app/src/main/res/layout/item_footer_error.xml | 5 ++-- .../item_load_comments_failed_placeholder.xml | 3 +- .../layout/item_load_more_comments_placeholder.xml | 3 +- app/src/main/res/layout/item_message.xml | 11 +++++--- .../res/layout/item_no_comment_placeholder.xml | 3 +- app/src/main/res/layout/item_post.xml | 20 +++++++------ app/src/main/res/layout/item_post_detail.xml | 24 ++++++++++------ app/src/main/res/layout/item_rule.xml | 5 ++-- app/src/main/res/layout/item_subreddit_listing.xml | 1 + app/src/main/res/layout/item_subscribed_thing.xml | 5 ++-- app/src/main/res/layout/item_user_listing.xml | 3 +- app/src/main/res/layout/item_view_all_comments.xml | 3 +- app/src/main/res/layout/nav_header_main.xml | 4 ++- 47 files changed, 198 insertions(+), 105 deletions(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/activity_comment.xml b/app/src/main/res/layout/activity_comment.xml index 494872ce..f5c5afe1 100644 --- a/app/src/main/res/layout/activity_comment.xml +++ b/app/src/main/res/layout/activity_comment.xml @@ -37,7 +37,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="16dp" - android:textSize="16sp" /> + android:textSize="?attr/font_16" /> diff --git a/app/src/main/res/layout/activity_edit_comment.xml b/app/src/main/res/layout/activity_edit_comment.xml index 93504c14..94f9b602 100644 --- a/app/src/main/res/layout/activity_edit_comment.xml +++ b/app/src/main/res/layout/activity_edit_comment.xml @@ -29,7 +29,7 @@ android:padding="16dp" android:hint="@string/post_text_content_hint" android:inputType="textCapSentences|textMultiLine" - android:textSize="18sp" + android:textSize="?attr/font_18" android:background="#00000000" android:textColor="@color/primaryTextColor" app:layout_behavior="@string/appbar_scrolling_view_behavior" /> diff --git a/app/src/main/res/layout/activity_edit_post.xml b/app/src/main/res/layout/activity_edit_post.xml index e95ba34c..e7645c5e 100644 --- a/app/src/main/res/layout/activity_edit_post.xml +++ b/app/src/main/res/layout/activity_edit_post.xml @@ -37,7 +37,7 @@ android:layout_height="wrap_content" android:gravity="top" android:padding="16dp" - android:textSize="18sp" + android:textSize="?attr/font_18" android:textColor="@color/primaryTextColor" /> diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 6d85662b..4cf0b16f 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -45,7 +45,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:padding="16dp" - android:text="@string/label_account" /> + android:text="@string/label_account" + android:textSize="?attr/font_default" /> + android:textColor="@color/primaryTextColor" + android:textSize="?attr/font_default" /> @@ -95,7 +97,8 @@ android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:text="@string/subscriptions" - android:textColor="@color/primaryTextColor" /> + android:textColor="@color/primaryTextColor" + android:textSize="?attr/font_default" /> @@ -121,7 +124,8 @@ android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:text="@string/inbox" - android:textColor="@color/primaryTextColor" /> + android:textColor="@color/primaryTextColor" + android:textSize="?attr/font_default" /> @@ -130,7 +134,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:padding="16dp" - android:text="@string/label_post" /> + android:text="@string/label_post" + android:textSize="?attr/font_default" /> + android:textColor="@color/primaryTextColor" + android:textSize="?attr/font_default" /> @@ -180,7 +186,8 @@ android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:text="@string/downvoted" - android:textColor="@color/primaryTextColor" /> + android:textColor="@color/primaryTextColor" + android:textSize="?attr/font_default" /> @@ -206,7 +213,8 @@ android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:text="@string/hidden" - android:textColor="@color/primaryTextColor" /> + android:textColor="@color/primaryTextColor" + android:textSize="?attr/font_default" /> @@ -232,7 +240,8 @@ android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:text="@string/saved" - android:textColor="@color/primaryTextColor" /> + android:textColor="@color/primaryTextColor" + android:textSize="?attr/font_default" /> @@ -258,7 +267,8 @@ android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:text="@string/gilded" - android:textColor="@color/primaryTextColor" /> + android:textColor="@color/primaryTextColor" + android:textSize="?attr/font_default" /> @@ -290,7 +300,8 @@ android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:text="@string/settings" - android:textColor="@color/primaryTextColor" /> + android:textColor="@color/primaryTextColor" + android:textSize="?attr/font_default" /> diff --git a/app/src/main/res/layout/activity_post_image.xml b/app/src/main/res/layout/activity_post_image.xml index 795e53cf..1cf36a16 100644 --- a/app/src/main/res/layout/activity_post_image.xml +++ b/app/src/main/res/layout/activity_post_image.xml @@ -55,7 +55,8 @@ android:layout_centerVertical="true" android:layout_marginStart="32dp" android:layout_marginEnd="16dp" - android:text="@string/choose_a_subreddit" /> + android:text="@string/choose_a_subreddit" + android:textSize="?attr/font_default" />