Commit Graph

6 Commits

Author SHA1 Message Date
TreeHugger Robot
e732adcd81 Merge "Update ScrollView to NestedScrollView in the font size page" 2021-01-12 02:14:38 +00:00
Mill Chen
1b37291364 Change ScrollView to NestedScrollView for screen size page
To make sure the collapsing toolbar work as usual, we need to use
NestedScrollView instead of ScrollView in the screen size page.

Bug: 176896338
Test: manual test and visual verified
1) Navigate to Settings -> Display -> Display size
2) Change the size on the seekbar
3) Observe and check if the preview window can be scrolled

Change-Id: Ia5bb66ef63b9d9a7713cebddbf6ab6258ff82b8d
2021-01-12 02:56:32 +08:00
Mill Chen
dda4c34d59 Update ScrollView to NestedScrollView in the font size page
To ensure that the collapsing toolbar work as usual, we need to change
the ScrollView to NestedScrollView.

Bug: 176884647
Test: manual test and visual verified
1) Navigate to Settings -> Display -> Font size
2) Check if the sample text area is scrollable

Change-Id: I1cb8a20f1efd69213e1eaadfe84a53aff9bc640f
2021-01-11 18:00:11 +08:00
tmfang
a5be87fad5 Fix overlapping problem in display size screen.
All screen in Settings set clipToPadding to false by default,
so we see this side effect on display size screen.

To fix it, we set clipToPadding and clipChidren to true.

Fixes: 132905691
Test: visual
Change-Id: I58752c0ba7bd033cde97ff6047513a50ab933ae9
2019-05-17 12:04:43 +08:00
Amin Shaikh
a5e8bddc46 Update Settings text styles to use DeviceDefault.
- Replace all TextAppearance.Material styles with the equivalent
TextAppearance.DeviceDefault style
- Reparent Theme.Settings.HomeBase to inherit from Theme.Settings. This
ensures that the correct textAppearance theme attributes are applied
throughout the Settings application.

Bug: 121211932
Test: manually opening Settings and enabling/disabling HotDogOverlay
Change-Id: Ibe4873ed0294de79dbb6aeca464d14c291239c4b
2019-01-02 16:08:19 -05:00
Anna Galusza
798b35ac09 Fix font and display size settings pages for small screens.
This was particularly broken in split-screen mode.

Bug: 29835212
Change-Id: I141f659e2d2d282d5af1ae97d6c798e53f71f766
2016-07-22 20:06:42 +00:00