summaryrefslogtreecommitdiffstats
path: root/res/layout
Commit message (Collapse)AuthorAgeFilesLines
* Move actions in theme card to overflow menuBharadwaj Narasimha2016-09-031-28/+0
| | | | | | | | | Moved the customize,delete and reset in the title card to an overflow menu to free up some space in the title card for the theme and author names. TICKET:CYNGNOS-3279 Change-Id: I0c4defd82369e4840efac420b1629493b280b168
* Fall cleaningd34d2016-08-3115-155/+167
| | | | | | | | | | | | | | | | * Change package name to org.cyanogenmod.theme.chooser2 to avoid theme collisions with old OSS chooser * Change parent theme to Theme.Material.Light * Change minSdkVersion to 21 since we are going material * Add selectors for bottom action buttons (app themer, shop themes) * Add selector, using app themer color, for app themer list view * Add selector for actions in theme cards * Bring back OSS app icon * Reduce log spam in ThemedTypefaceHelper * Localize "new" tag using a TextView instead of an image * Other random stuff Change-Id: I73ef0b9c9370284e29ee00add87273cf54c83e0e
* Theme chooser for the peopleClark Scheff2016-08-2835-132/+634
| | | | | | | Let freedom ring! Change-Id: I12b3e6b5d46eb2e13afd841dfd5c215af64188d8 TICKET: OSS-67
* Use Lato font on Animated Lock Screen thumbnail textLuis Vidal2016-02-121-3/+5
| | | | | | | | | | | | | To be consistent with the rest of the text views in the chooser, we need to use Lato font on the animated lock screen thumbnail (rather than Roboto as initially requested). In order to reuse as much code as possible, LatoTextView is now extending FittedTextView. A new attribute 'autoFitText' is introduced to instruct whether fitted text is desired. Change-Id: I3209fe7f06177bc4025cbf964d0c2dd79325b9c0 TICKET: CHOOSER-113
* Rebadge 'Live' in theme chooser to 'Animated'Luis Vidal2016-02-041-7/+20
| | | | | | | | Replaces the static red ribon with a text view so the label can be translated. Default text is set to 'ANIM' Change-Id: Ic701d28bfd20568419a4ea2063ee208210037389 TICKET: CYNGNOS-1688
* Show lock screen wallpapers & live lock screens in the same selectorLuis Vidal2016-01-084-82/+8
| | | | Change-Id: I86e016d139da4adcec3191d982968b7a37f48c19
* Live Lock screen selectionLuis Vidal2015-12-191-0/+35
| | | | Change-Id: Ie1a13d9775e85b61c611ee6037856fef1578c4a8
* Add live lock screen support for dogefoodd34d2015-12-082-0/+46
| | | | | | | The final UX will combine both static lock screen wallpapers and the new live lock screen with a banner indicating which are "live" Change-Id: I26fc793930316296178437d1d98e6e645e17b7e5
* Revert "Add live lock screen support for dogefood"d34d2015-11-052-46/+0
| | | | | | This reverts commit 590804752bc280f2905b3bf86b49e467fd0fd610. Change-Id: Ifc42fe865677179d6570d457242c6ee469947afc
* Add live lock screen support for dogefoodd34d2015-10-092-0/+46
| | | | | | | The final UX will combine both static lock screen wallpapers and the new live lock screen with a banner indicating which are "live" Change-Id: I26fc793930316296178437d1d98e6e645e17b7e5
* App themer UI updated34d2015-07-161-3/+6
| | | | | | | | | | 1) Fab is now a vector drawble 2) Theme list uses a white background with black text 3) Fab animation scales down and stays aligned to the side 4) Fab can be touched to dismiss list 5) Fab no longer snaps to delete box Change-Id: I0898b6e5d5d2862a27f92cbce9634899eb58896c
* Update iconography.Dave Kover2015-07-151-1/+1
| | | | | | | | | Change main icon from holoyolo to material. Switch to mipmap ref. Remove LargeIcon from notification as it clashes with the new icon. Update iconography in the chooser for App Themer and Store. Change-Id: I5b4d5c7eb8ee617caf0dd352540d44d29d5345f1 Ticket: DES-365
* Change text sizes to use dp instead of spd34d2015-04-278-12/+12
| | | | | | | | Since a lot of our views are of a fixed size setting text size to a dp value ensures the text fits and will not be scaled up or down. Change-Id: I74d3dbe3bdd5506b4a13292eaaf5ea26bbe64966 REF: RENDANG-286
* Remove direct references to private framework resourcesd34d2015-04-226-10/+10
| | | | | | | | This will allow us to distribute the chooser. Private resources were either redefined in our xml or reflection is used to retrieve these values in code. Change-Id: I8c901abef6a5492094d4b86752368625a385bb47
* Make play/stop button touch area largerClark Scheff2015-04-162-5/+8
| | | | | | | | | | The play/stop button can be difficult to press due to it's small size. This patch increases the padding around it to provide more area for touch events. Change-Id: Ic3bbddfe3d5b8845729ebcd3b55599ca9bb6dc08 REF: RENDANG-181 (cherry picked from commit c97e2db7f06d689b7d2bd66ddb307ab5ec6d69e5)
* Adjust tag layouts to better accomodate multiple tagsd34d2015-04-033-21/+9
| | | | | | | | | | If a theme has multiple tags enabled, they may end up being cut off as they extend beyond the bounds of their container. This patch reduces the text size to 12sp, wraps content instead of fixed size and adds padding on sides. Change-Id: If05d4d6c4efc666e1481773fbd1b1108a9a505b7 REF: CHOOSER-3
* Remove old branding from iconography.Dave Kover2015-03-131-1/+1
| | | | | | | | Update launcher icon and remove the mark. Update ic_themestore to remove the old mark and turn resource into a vector drawable. Fix HDPI notification icon to be correct size. Change-Id: I3f12975a1e510c4e2bdbf668456b5370dcee9bcd
* Set min and max height for per app theme ListViewd34d2015-03-041-2/+5
| | | | Change-Id: I76a765fdb4f1efb462230a3b6a20436229d9c485
* Themes: Enhanced theming capabilities [3/3]Clark Scheff2015-02-277-33/+162
| | | | | | | This is really per-app theming but the subject is being named the same as the open source commits to avoid confusion. Change-Id: I811463be11359d747065ad66f802a55e1ab7db08
* Use LatoTextView for wallpaper_cardClark Scheff2015-01-271-1/+1
| | | | | | | This card was still using a standard TextView and looks out of place once a font is applied. Change-Id: I28909a6c5df8159b20b8a4ff54be8257b0ba5f2b
* Add legacy theme tag and warning messageClark Scheff2015-01-152-0/+29
| | | | | | | | | This adds a tag at the top of any theme that is designed for an older version of CM and presents the user with a message in the apply overlay when they go to apply a theme designed for an older version of CM. Change-Id: I7d60f14cbfc376890e06dbf1358745e4490be961
* Get working on CM12Clark Scheff2015-01-055-5/+5
| | | | Change-Id: Id9d08836456685912b5f75a1acd0a8992e8b6b47
* Add resources for all densities (mdpi - xxhdpi)Clark Scheff2014-10-142-4/+1
| | | | Change-Id: Ib8083902ee07a891f41479e6085fc0263512f011
* Add handling of themes that are being processedClark Scheff2014-10-032-0/+23
| | | | | | | | | | | | When a theme is still being processed by the ThemeService we show a "processing" overlay to let the user know their theme is not quite ready to be applied. Once the theme is done processing the overlay fades out and the user can apply the theme. We also do not show the "theme installed" notification for a theme that is being processed until it is finished processing. Change-Id: I0486da3a5e2d0b55c2b3828613ace7e2ccf460a2
* Replace option menu with reset/delete actionsClark Scheff2014-09-251-1/+21
| | | | | | | | The code and xml for the popup menu are still in place for future use. The image view for the menu is simply set to View.GONE so it will not be available to the user at this time. Change-Id: I7897e1c06532c51d6be82edca3bb76c37acbf9ae
* Repurpose apply theme layout for deleting themesClark Scheff2014-09-253-12/+14
| | | | | | | | The apply theme overlay is now the ConfirmCancelOverlay. It has been generalized so that it can be used for the delete theme confirmation overlay as well as the apply theme overlay. Change-Id: I9ea352291c44ba2fb453ea7325e3d8f0bce46fe4
* Include author name in title cardClark Scheff2014-09-181-8/+20
| | | | Change-Id: Id3c2371fe2bc0eceb230a037d5ba2f60600b9a71
* Use linear layout inside scrollview for component selectorClark Scheff2014-09-182-28/+11
| | | | Change-Id: I9ad30111c8c3fbaabcf5748ec6cf1d7a9fc2eaa9
* Use custom TextView that always uses Lato fontsClark Scheff2014-09-0422-25/+28
| | | | Change-Id: I2f60da0ab633487e18e216072ce834e255b5d852
* Fix centering of "customize" textClark Scheff2014-09-041-1/+1
| | | | Change-Id: Ifd417ec08cc00f1f4300b4d1364d4183538dcf50
* Add customize/reset overlay for currently applied themeClark Scheff2014-09-033-4/+90
| | | | Change-Id: I226fd3ff6dc05195d1049d75f72aa32595a42715
* Use NavBarSpace for padding the bottom of some layoutsd34d2014-08-284-12/+7
| | | | | | | | | | | We've used Space in enough layouts that it makes sense to create a view that can take care of all the logic regarding padding the bottom of layouts so content goes above the navigation bar. This view simply sets the height to 0 in onMeasure() when no navigation bar is detected. It leaves the height to whatever the super class had set it to when there is a navigation bar. Change-Id: I908c6a8a01ba4f761335909e9ecfb48a8a3007d2
* Clean up unused itemsClark Scheff2014-08-283-46/+18
| | | | Change-Id: I8c24c18a4927718970a49a6b77c9b92b4eea1ed6
* Copyright all the things.Clark Scheff2014-08-2830-22/+90
| | | | Change-Id: I6cc73b320657f1bba27017f2843c84e9d6bc4c69
* Only call performClick when within the theme card.Clark Scheff2014-08-271-0/+5
| | | | Change-Id: I679489a6980267da6d4ee4f9cb8989365c1d5f88
* Adjust dimensions for HDPI devicesClark Scheff2014-08-271-1/+1
| | | | Change-Id: I7ef12d853c080ee24b9240564f002ca9279498f7
* Use VelocityViewPager in component selectord34d2014-08-251-1/+1
| | | | Change-Id: I8f6774e593a8a67d5de90dbec6b9a040d9f95052
* Update shop themes buttonClark Scheff2014-08-221-9/+8
| | | | Change-Id: I1315b1c3e00639eae404b6ba9471db342786eaa1
* Animate cards in when activity starts.Clark Scheff2014-08-211-3/+3
| | | | Change-Id: Idd7e0d98e1f0965dbada15fcba9ad09fb94b1b86
* Use blurred, de-saturated wallpaper as activity backgroundClark Scheff2014-08-201-0/+5
| | | | Change-Id: Ieec82480ad356d274a3f8a1e38030ea2ecc9c450
* Fix spacing between tagsClark Scheff2014-08-203-0/+3
| | | | Change-Id: I089673c8bf8af88c512f343d1a05a29e5a7bee85
* Change updated and customized tags to be text basedClark Scheff2014-08-183-9/+17
| | | | | | | | The previous implementation used icons that were not clear to the user. This changes those tags so that they have text that is more descriptive. Change-Id: I9c0fe4fbdb609fd630b5aca148a439ebdefc497b
* Make apply progress bar 24dp in heightClark Scheff2014-08-141-2/+3
| | | | Change-Id: Iff0c67142888d3502e4d30b3b38575536e4e2202
* Make theme cards taller.Clark Scheff2014-08-131-2/+4
| | | | Change-Id: I75216741798fe9fe82886eddb322321f1bbb6996
* Allow setting wallpaper card to display "NONE"Clark Scheff2014-08-131-0/+9
| | | | Change-Id: Icda2be399f422c2dcd61a900c31884d0b0d71dc0
* Implement "add component" to components that are not in the given theme.Clark Scheff2014-08-138-143/+274
| | | | Change-Id: I30a69e265a44f327ba9f0479d925a550427f6a6f
* Adjust card title top margin.Clark Scheff2014-08-128-8/+8
| | | | | | | | The title is now considered part of the content so we need to have a 24dp border above the text instead of including the text in the 24dp border. Change-Id: Id0ab44c1338ba5b11cb49ad162a215b5a234cbb3
* Add tags to theme cardsClark Scheff2014-08-116-1/+50
| | | | | | | | | | | | | The following tags can be enabled/disabled per theme Applied Customized Updated Default Currently the "Updated" tag is not being enabled. This will require some special handling and not worth holding up this patch. Change-Id: I69de7ca80df66f6c5cdbf0b47f18fc7dc77289f5
* Increase touch are for customize and options menu buttons.Clark Scheff2014-08-071-4/+4
| | | | Change-Id: I192ce1c2e05b095346993958fb055a3f3357244d
* Implement new apply UIClark Scheff2014-08-072-2/+59
| | | | Change-Id: I9d57114bb5878b2e6c734733306be707b039f188