Commit Graph

7 Commits

Author SHA1 Message Date
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
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
Noah Wang
abf6312b8d Make preview screens in font/display size settings scrollable
Bug: 27274145
Change-Id: Ib93ff8faa9b14181b9b4f596a8b48cd0804f8f82
2016-03-30 14:32:32 -07:00
Anna Galusza
a9a252ee96 Fix padding on Font size and Display size preview screens.
Bug: 27675989

Change-Id: Iecdc3e8a9aee4fd82a59337f14cbf4bd91587709
2016-03-15 21:48:04 +00:00
Anna Galusza
132e0784eb Change style of Preview screens (dark borders with "preview" on the bottom).
Change-Id: I754a3fd4de47ef74a3a79e410890133de9e0d095
(cherry picked from commit 206a845710)
2016-02-09 08:48:14 -08:00
Noah Wang
954655a7f7 Modifying sample preview text for font size setting.
Change-Id: I4bbf1d0d81496de8e9c70a425db2aa503e5b76e0
2016-01-13 20:02:54 -08:00
Noah Wang
e64cc267e7 Adding settings screen for font size. Also factored out common
components from screen magnification settings screen.

Change-Id: I1828c7c0246f14493903172f2da7419fdc8e5f09
2016-01-11 12:57:00 -08:00