Enhance Toast to support new standard toast bar style, similar
to the undo bar in Gmail. Toast bars can be interactive,
and can have a single action. Add a new toast duration to
indicate persistent toasts (no auto-hide delay).
Use the new toast bar to implement a feature hint when hiding
the navigation bar in hideybars mode.
Per UX, the feature confirmation bar can also be dismissed on
any outside touch as long as the user confirmed it using the
OK button at least once globally.
Bug: 8754108
Change-Id: Iaa85d3b4da7ada1952a562f1e31de04380f5d587
When the wallpaper animation is coupled to the recents animation it
will go from fully transparent to visible along with it. In master
this is causing noticable jank if we are going from the home screen
where it was previously visible. Detaching the wallpaper animation
from the recents animation fixes it.
Change-Id: If1d1a1478530610017d954983b00ca6101cbaa8b
The chief motivation here is to allow two lines of text when
necessary. So much refactoring over so small a thing, but
the result is satisfying: most quick settings tiles do not
need their own layouts. Additionally, tiles with odd-shaped
icons (I'm looking at you, alien potato mode) no longer fall
off the grid.
It should be possible to further reduce the complexity of
quick settings, but for now this will suffice.
Bug: 7216734 // vertical alignment issues
Bug: 7216868 // wrap text in QS tiles
Bug: 7365911 // NPE in some tiles
Change-Id: I0c6ef275e44f745dfac52c2a7303072ae48e3873
The normal LTR Recents interface in landscape
actually scrolls/behaves like a RTL interface,
so we hardcode the layout to stay the same in both
modes
Change-Id: I57e5e76de3260c6de1dd9e939797b7e1c23cca03
This reverts commit 6c0307dd0aefe9a08794b155fc03ee60ebd14f25, reversing
changes made to a2cd828b749c444d55c2c41c7dbb85088ff94b9f.
Conflicts:
packages/SystemUI/res/values-sv/strings.xml
Change-Id: Ia178efe8b14751583d47b2826bfe3d3d5463dd2e
# Via Android (Google) Code Review (1) and Fabrice Di Meglio (1)
* commit 'de71ce1ab3cda6030b5838f4cadb4fe974d522c2':
Fix recent apps item text position in RTL mode
# Via Android (Google) Code Review (1) and Fabrice Di Meglio (1)
* commit '5e3b0452667e2f73b16bfffde873334525582308':
Fix SystemUI navigation bar in RTL mode
In LTR mode the navigation bar is:
- portrait (from left to right) : Back | Home | Recent Apps | Menu
- landscape (from top to bottom) : Menu | Back | Home | Recent Apps
This is kinda horizontally / vertically "pivoting +90 degrees" around the Recent Apps button.
In RTL mode, we had:
- portrait: Menu | Recent Apps | Home | Back
- landscape: Menu | Recent Apps | Home | Back
to make it similar to the LTR mode, we should have a rotation of -90 degrees around the Recent Apps button:
- landscape: Menu | Back | Home | Recent Apps
Change-Id: I9de511383b632ae8dea1396e9152109cc8a57c27
- mirror vibrate and silent statusbar icons
- add code for updating icons when Locale is changed
See bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)
Change-Id: Ib7125d7f01ed8d1b8d63c2a9b119eb173efcf49f
- mirror network signal icons
- force icons refresh
See bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)
Change-Id: I8e5c729c20c5b526c370ad142632bebeefb64198