From 01a48cdf3e3cb474409fb9f294dcdd0c5e8281b1 Mon Sep 17 00:00:00 2001 From: Mill Chen Date: Mon, 25 Jan 2021 16:56:39 +0800 Subject: [PATCH] Adjust margin to fix title overlapped with arrow When both display size and font size are changed to largest option, a word in the title of subsetting page will probably be wrapped into multiple lines. Update the margin end of expanded title to prevent from wrapping a word into multiple lines. Fixex: 177969094 Test: visual verified 1) Enlarge both display size and font size as largest 2) Settings -> Display -> Lock screen -> Tap to check phone or Settings -> Notifications 3) Observe these titles of pages Change-Id: Icecdf912e4764cb4592ff460cbc12cc1a7dd6b48 --- res/layout/settings_collapsing_base_layout.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/res/layout/settings_collapsing_base_layout.xml b/res/layout/settings_collapsing_base_layout.xml index be7bf6c3cc3..b5bb8ef260c 100644 --- a/res/layout/settings_collapsing_base_layout.xml +++ b/res/layout/settings_collapsing_base_layout.xml @@ -38,6 +38,7 @@ app:statusBarScrim="?android:attr/colorPrimary" app:layout_scrollFlags="scroll|exitUntilCollapsed" app:expandedTitleMarginStart="18dp" + app:expandedTitleMarginEnd="18dp" app:toolbarId="@id/action_bar">