Commit Graph

17 Commits

Author SHA1 Message Date
Sunny Shao
751a6c47a3 Fix the backcolor problem in Display/Font size page
- This is side effect due to the color change by the framework.
- Use the colorBackground to replace colorBackgroundFloating.

Fixes: 174962015
Test: manual test
Change-Id: I30128e2eee6ddcc66d56126e132afb400873b0ee
2021-03-31 11:26:02 +08: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
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
Aurimas Liutikas
e0069d332d Migrate Settings to androidx.
Test: make Settings
Bug: 76692459
Change-Id: I941dea40562170649bf056e675cc32e5163c0e39
2018-04-20 12:52:29 -07:00
Fan Zhang
92f1e942da Misc fix on settings themes.
- Use dark status bar for confirmDeviceCreditials theme to match dark
  window background
- Remove SubSettingsDialogWhenLarge theme in favor of full screen
  settings for O.
- Update font/dize preview text color to match light background

Bug: 33558692
Test: visual

Change-Id: Id8704c96e2ce35247e80e50eefd531786479b193
2017-01-21 11:10:06 -08: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
Noah Wang
35a95617fd Fix preview screen crashing and glitches for
Display / Font size
Bug: 28223545
Bug: 28223533
Bug: 28210654
Bug: 28210242
Bug: 28208955
Bug: 27699996

Change-Id: I80339dabbd089db8a6c6a80645baabb9b4cad00e
2016-04-18 13:08:56 -07:00
Noah Wang
9faec5600b Fix content description and accessibility focus on
PreviewSeekBarPreferenceFragment.
Bug: 27911511

Change-Id: I45673e582a29028cb0598669b0fa1a48c071181d
2016-04-11 15:00:58 -07:00
Noah Wang
1308bd8bb1 Merge "Adding contentDescription to ViewPager in font/display size settings. Bug: 27326035" into nyc-dev 2016-03-30 20:03:38 +00:00
Noah Wang
a8ef32b969 Adding contentDescription to ViewPager in font/display size settings.
Bug: 27326035

Change-Id: I416c05f2fc7c9238a61b8d512f09cb834f8ec537
2016-03-29 21:32:18 -07:00
Noah Wang
80a0e93c8d Set minimum height for preview screen of font/display size settings
Bug: 27699996

Change-Id: I1e2e16a355993f058301c57d29857f6fca8ec858
2016-03-29 21:04:17 -07:00
Anna Galusza
a1a11d1944 Change magnification strings and accessibility traversal order in preview pane.
Bug: 27499075
Bug: 27326035

Change-Id: I03ff9574d845a1c2573aa6f4f2462851c56b3c04
2016-03-15 10:22:33 -07:00
Anna Galusza
d658c0f6af Update preview border.
Bug: 27396174

Change-Id: I23d24246eb7a571db4548965c77428532da0b59a
2016-03-10 13:14:30 -08:00
Noah Wang
36e89f644e Make preview pager and pager indicator screenreader-enabled
Bug: 27127738
Change-Id: I11a8589f4d8e1f15e895831dc3bd0cb7472e0591
2016-03-03 20:05:14 -08:00
Noah Wang
dbab5c7fa6 Fix hard-coded colors for accessibility screens to work with night mode
bug: 27257764
Change-Id: I885cdc44dc75cd6aeefe92de3735ff679fdddb6a
2016-02-23 13:47:43 -08:00
Anna Galusza
384fa2e342 Add Screen Zoom preview screen with settings page, launch Talkback tutorial
whenever the Talkback setting in SUW is pressed, and remove check for parent
Activity from SettingsPreferenceFragment.
Bug: 26734639

Change-Id: I5671735437844ac54ea68322838d9b6b5c81957f
2016-02-18 01:36:34 +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