summaryrefslogtreecommitdiffstats
path: root/packages/DocumentsUI/res/drawable
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Clean up icons in DocumentsUI." into mnc-devBen Kwa2015-06-0912-54/+0
|\
| * Clean up icons in DocumentsUI.Ben Kwa2015-06-0812-54/+0
| | | | | | | | | | | | | | | | | | - Remove unused icons. - Replace improperly sized icons with properly sized (24dp) ones. BUG=21643433 Change-Id: I67595b6bfbbf94f11abe6c1feabe633488decc84
* | Fix drawer selection to match Material spec.Ben Kwa2015-06-041-2/+2
|/ | | | | | | | | | | - highlighted text changed to match the application primary color - change highlighted background to light gray - remove highlight icon tinting (provides insufficient contrast against the new light gray background) BUG=18685226 Change-Id: I4040fa951fd2822cea324e0bd1924d10024b6a11
* Implement DayNight theme for DocumentsUIAlan Viverette2015-04-2228-37/+34
| | | | | | | Also fixes tint colors for icons to use themed colorControlNormal. Bug: 20421157 Change-Id: I110a1d95f763332e7ca76cf8ab4125bd4d9a075e
* Final pass at Material DocumentsUI.Jeff Sharkey2014-08-294-13/+28
| | | | | | | | | Now with treatment for disabled and selected grid items. Inverts text and icons in selected drawer items. Follows upstream color changes to accent color. Disables some verbose logging. Bug: 15836082, 17281688 Change-Id: I97a1c055a2f1a537388a8f5669147618e9698870
* More material updates to DocumentsUI.Jeff Sharkey2014-08-0856-432/+188
| | | | | | | | All assets cut as alpha variants so we apply desired tinting at runtime. Small script to automatically generate XML resources. Bug: 15836082, 16658537 Change-Id: I803b3f0bf6f121194a5445fd1c6600fabaf28f60
* Latest DocumentsUI material asset drop.Jeff Sharkey2014-07-293-69/+0
| | | | | Bug: 15836082 Change-Id: Ifdd8a42a963071f1c958d56b3f835228f257cf9a
* More DocumentsUI material iteration.Jeff Sharkey2014-07-292-5/+12
| | | | | | | | | | | | | | Move to using Toolbar for all actions. Drawer contains its own Toolbar with separate title, and hamburger is always visible. Change drawer items to match spec. Switching to Toolbar allows us to remove nasty dialog-on-tablet hacks, yay! This also means we can finally get real IME resizing support. Move to using elevation for all shadows; this removes more nasty hacks around drawing directory shadows. Bug: 15836082 Change-Id: Iba70b898f385a7debd8aabfc98ff39d20bca860d
* First pass at Materializing DocumentsUI!Jeff Sharkey2014-07-289-37/+100
| | | | | | | | | | | | | | | Initial Material asset drop, which still needs some tweaking. Moved back to framework list item selectors, giving us ripples. Using accent color overlay for activated items. Align all items to new Material grid, including insetting list divider and resizing list items on wide screens. Fix obscure RTL drawing bug. Still lots of work left. Bug: 15836082 Change-Id: I729cc7dcb0271ee62b55d1e036fc28427fc0dd3d
* Custom pressed states, fixed column sizes.Jeff Sharkey2013-10-041-8/+8
| | | | | | | | | | Use custom pressed state assets. Use fixed column sizes to prevent truncating of long dates on small screens. Also tear down any active CAB when switching fragments. Bug: 11032418, 11028212 Change-Id: I2bf3dc3f693319b4b55cc901ed460f60faceba35
* Fix animations, padding in RTL mode.Jeff Sharkey2013-10-012-0/+46
| | | | | | | | | | Show directory animations coming in from left-side when in RTL language. Also fix NinePatchDrawable to correctly mirror its padding when auto-mirrored, and fix InsetDrawable to propagate the layout direction to the wrapped Drawable. Bug: 10987190, 11030793 Change-Id: I1213802a07d0c4ced93438df1e6ddf5aed3df677
* Merge "Mirror DocumentsUI assets for RTL layouts" into klp-devMichael Wright2013-09-2418-0/+414
|\
| * Mirror DocumentsUI assets for RTL layoutsMichael Wright2013-09-2418-0/+414
| | | | | | | | | | Bug: 10641916 Change-Id: I037adeb5ec7df6e3812be8653929a55ed8b87323
* | Freshen restored stacks, more UX bug fixes.Jeff Sharkey2013-09-241-10/+8
|/ | | | | | | | | | | | | | | | | | | | | | | When restoring a persisted stack, such as last location or a location where save occurred, freshen the DocumentStack to get the latest details from backend, and ensure the path is still valid. Filter Recent directories in create mode based on roots allowed by incoming request. Remember when user last picked an external app, and open drawer next time user launches for GET_CONTENT. Fix state list drawable ordering, and avoid clobbering Drawable callback when wrapping in InsetDrawable; tricksy hobbitses! Make grid items smaller to always fit two columns on phones. Draw grid items all the way to screen edge; don't clip to padding. Better error message when folder creation failed. Show Recents in grid mode when picking any visual content, not just images. Bug: 10846100, 10903211, 10898993, 10892808, 10892058, 10892009, 10885012 Change-Id: Ia0f88d911abc6ea03645d6fd3e04271c21d5936a
* Latest UX asset drop, grid padding.Jeff Sharkey2013-09-211-3/+3
| | | | | | | | | | Bring in latest asset drop. Apply grid padding programmatically instead of waiting for asset. Remove alpha from directory animation. Update save footer background to match spec. Bug: 10700025 Change-Id: I8eef08f36d04767b78e91b23f72bdbebfbb02f58
* DocumentsUI tablet support.Jeff Sharkey2013-09-121-1/+1
| | | | | | | | | | | | | | Shows as a faux dialog on larger tablets, since the normal dialog themes from framework don't support action bars. Instead, this hacks itself to look like a dialog with an InsetDrawable. Detects touches in dim area to dismiss dialog. Show all action bar icons on tablets, and roots panel is always visible with a different shadow. Show settings in dialog. Allow mode switches in recents. Bug: 10329832 Change-Id: Id02982ce7b0d4694962d32f8d5286fdfcc207208
* Disabled states, more UX work, bug fixes.Jeff Sharkey2013-09-091-8/+16
| | | | | | | | | | | | | | | | | | | Fix drawable state to correctly show dimmed disabled state. Update disabled state for all children to grey out text. Block multi-selection of documents not matching MIME filter. Load thumbnails in parallel. Show thumbnails in list mode based on MIME type to match spec. Give each footer a unique view type to avoid recycler crashes. Show breadcrumb icons in recent create paths. Fix timestamp bug when querying/updating recent paths. Make ContentProviderClient.closeQuietly() really be quiet. Bug: 10668364, 10510022, 10668701, 10534224, 10667726 Change-Id: I3c705412fb211519f15ad41a273a7533b878e9e5
* Item layout tweaking, hook up more assets.Jeff Sharkey2013-09-062-0/+41
| | | | | | | | | | | Update layouts for items in both list and grid mode to reflect latest UX. Use new card background in grid mode, and apply gradient treatment over thumbnails. Visibly mark currently selected root. Bug: 10510022 Change-Id: I36b290d7082b5cdfd7b3167df7d976032bc01bd6
* Support multi-select in storage UI.Jeff Sharkey2013-07-011-0/+26
When caller has specified that multiple documents are okay, enable multi-select action mode. Currently only allows document selection, not directories. Returns multiple documents through ClipData. Fix bug where GridView was stuck with 2 columns on tablets. Change-Id: Id49b29a86330639b56fa116d37e7f0d874980c5b