summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/dashboard/HeaderAdapter.java
Commit message (Collapse)AuthorAgeFilesLines
* Settings new dashboard - part 2Fabrice Di Meglio2014-04-251-265/+0
| | | | | | | | | | | | | | | | | | | | Introduce the new Dashboard (a grid like presentation of Settings top categories) per UX specification. - the Dashboard is composed of "categories" and in each of them you have "tiles" - implement a new layout for showing top categories (DashboardContainerView). This layout basically acts like a grid - depending on the device configuration make the grid with 1 column in portrait / 2 colums in landscape (phones) OR 2 columns in portrait and 3 in landscape (tablets) - take care of Accounts adding and removing (as it changes the number of tiles to show) Also remove all the old code related to Headers Change-Id: Ie29944132c1b4c3f7b073d5a7d4453b8f5ec19a7
* Remove non needed code for HeaderAdapterFabrice Di Meglio2014-04-211-10/+0
| | | | | | | | | | | | - before, we were showing a Swich for WiFi and Bluetooth entries in the Headers. As this is no more the case, remove the code that is no more usefull. - as a side effect, we are also removing the call to update the Search Index that was running when the Settings app was resuming or pausing. Change-Id: I26b40df5c7a664d196a249840638d89909b6bc24
* Settings - update for new UI (no more Drawer)Fabrice Di Meglio2014-03-281-0/+275
- follow the UX spec by no more using a Drawer - the Dashboard is now a Fragment that contains the list of Headers - the search results are also put into a Fragment that is replacing the initial one (Dashboard or other) when expanding the SearchView - use a SearchView for query input - when tapping on a Header or a Search Result, re-launch Settings as an Activity so that we are benefiting from the Activity stack for UP affordance and BACK button - manage UP affordance to show it only when needed - move some Actions to the Menu in the ActionBar for allowing space to the Search action and removing some clutter - fix an issue with the Index and WiFiEnabler and their cached Context that was not updated when there was a Configuration change - simplify the SettingsActivity code by extracting some inner classes Change-Id: I50b5f77bb44a7fade1886114dbbc820609a5e63d