This makes it so we can have at least one entire control tile visible
when scrolling.
Test: manual
Bug: 166166119
Change-Id: I7514cf8af69b4ba1d6c0bf76cdc21cd3c0719bd2
(cherry picked from commit a3a7c45f36)
A bunch of redline fixes in management screens. Some of them hacks.
Also, make sure that visibility update is posted in correct thread.
Test: manual
Fixes: 155302803
Change-Id: I5c31904e2a70c2be224acf5d5aeb76f876cef695
Some minor fixes:
* Remove icon next to structure name in Add controls
* Remove "other apps" when there's no other app to switch.
* Change footer buttons in apps screen.
Test: manual
Fixes: 154672630
Fixes: 154673161
Fixes: 154631120
Change-Id: I45be5c78b97a0301b77fa11125a294c66903dbef
Transition between control activities with animations. Transition between
GlobalActionsDialog and controls activities with the same
animations. Load async data into RecyclerViews in a separate animation
but controlling alpha values on the view
Bug: 154158092
Test: visual
Change-Id: I77c192d5b23a844900f4f2be128687d6314a1baf
Set proper activity titles and do not use the default application
label. Do not allow the status text to be focusable.
Bug: 152924457
Bug: 152932546
Bug: 152927300
Test: talkback
Change-Id: Ieed21596c8160aaf945d71e274706c771f7e4693
Update existing strings, and add strings that we will need to complete
the implementation
Bug: 151322044
Test: visual
Change-Id: Iee922e8f6db6c3058dc9c5ce77eef63c9b6bd2db
Pages are sorted alphabetically and show all controls for that
structure. The name used is the structure name of the app name for the
empty/null structure.
Done button saves all favorites selected from all structures, not just
the visible one.
Test: manual
Fixes: 150707923
Change-Id: I8ae822ed5acb6340aa08acb0dc6f3a4e6bb2f2e4
This is the first of a series of CLs to update management screens to
latest mocks. Now ControlModel is an interface to interact with the
Adapters. Different implementers can be used to surface different views
of all the controls.
Zones are now sorted according to the order they appear on load. Zones
with no name (or blank name) are given a generic "Other" and put at the
end.
Test: atest
Test: manual
Bug: 149138395
Change-Id: Ica708d903afed582c4c6ad4a5142351cd81cec89
This changes are to include the new UX flows:
* The list of controls is split by zones. All controls that do not have
a zone (blank or null) are shown at the beginning of the list. Zones are
sorted "alphabetically".
* Controls are split into Favorites and All, with Favorite controls
appearing twice. Toggling the checkbox in a control from any of the two
lists will change the state and make it appear/dissapear from the
favorites list.
* Changes to favorites are only saved on Done.
* Favorites can be rearranged by dragging and dropping.
Test: manual
Test: atest
Bug: 149138395
Change-Id: Ib5fdbc66cafe03e95855eb6c16c27127afa8d565