ldjesper
1becd650ca
MDC Catalog Icon Updates
...
PiperOrigin-RevId: 219307796
2018-11-01 16:10:13 -07:00
dniz
c3d6042412
Remove default Theme Switcher color options in favor of Reset option (helps for dark theme)
...
PiperOrigin-RevId: 219160833
2018-11-01 16:06:51 -07:00
dniz
613edaa025
Update default Catalog theme to use black for on primary color and Dark Catalog theme to use baseline MDC colors
...
Also update default Catalog Toolbar style to Primary
PiperOrigin-RevId: 218861912
2018-10-28 21:43:19 -04:00
marianomartin
2c551bb52e
Add button to rotate FABs on catalog demo
...
PiperOrigin-RevId: 218722231
2018-10-28 21:41:20 -04:00
dniz
36722a874e
Swap Catalog primary and secondary colors and remove Theme.Catalog.Swapped
...
PiperOrigin-RevId: 218684599
2018-10-28 21:40:33 -04:00
dniz
985357da26
Update text color of Catalog WIP label and buttons/tabs labels (looks better in dark theme)
...
PiperOrigin-RevId: 218417752
2018-10-28 19:10:46 -04:00
dniz
aded35a7a8
Prepare Catalog for Dark Theme update
...
PiperOrigin-RevId: 218341038
2018-10-28 18:34:05 -04:00
ldjesper
5258d3ddc1
Update Dialog Title styling to material design specs
...
PiperOrigin-RevId: 217565758
2018-10-28 18:27:27 -04:00
dniz
6e6692eb57
Update ActionBar to use new color system
...
PiperOrigin-RevId: 217321401
2018-10-28 18:14:54 -04:00
ldjesper
515e84775a
Automated g4 rollback of changelist 216865347
...
PiperOrigin-RevId: 216874169
2018-10-28 18:11:59 -04:00
ldjesper
8942b12fff
Dialog Title Styling
...
PiperOrigin-RevId: 216865347
2018-10-28 17:58:20 -04:00
ldjesper
d06e3cc9f2
Short text button dialog catalog demo
...
PiperOrigin-RevId: 216360151
2018-10-11 18:14:49 -04:00
marianomartin
b5486196e6
Use theme attributes to update menus style
...
PiperOrigin-RevId: 215918907
2018-10-11 18:05:28 -04:00
Material Design Team
d509eb90a6
Automated g4 rollback of changelist 215569147
...
PiperOrigin-RevId: 215602434
2018-10-11 18:03:54 -04:00
marianomartin
0e7f80b42b
Use theme attributes to update menus style
...
PiperOrigin-RevId: 215569147
2018-10-11 18:00:51 -04:00
isabellekim
682f65d488
Putting bottom navigation demo controls in a ScrollView so they don't overlap with bottom navigation on smaller devices for demos with more controls.
...
PiperOrigin-RevId: 214821009
2018-09-28 16:58:11 -04:00
melaniegoetz
318da234b8
Add base elevation demo to catalog
...
PiperOrigin-RevId: 214300342
2018-09-28 16:27:25 -04:00
dniz
868e80ed6f
Add support for anchoring Snackbars to Views so they can be placed above
...
navigational elements and FABs
This commit also disables the pushing up of FABs when an anchor view is set
PiperOrigin-RevId: 214287486
2018-09-28 16:24:01 -04:00
ldjesper
864b907e79
Dialog Demos
...
PiperOrigin-RevId: 213879982
2018-09-28 16:13:59 -04:00
melaniegoetz
69eebe785f
TabLayout functionality to set label visibility
...
PiperOrigin-RevId: 213554775
2018-09-28 14:54:44 -04:00
melaniegoetz
baa8cb404d
Elevation Demo Skeleton
...
PiperOrigin-RevId: 213061884
2018-09-28 14:43:11 -04:00
leticiars
42faf266f2
Adding textfield with leading icon demo to catalog.
...
PiperOrigin-RevId: 212473526
2018-09-14 10:56:21 -04:00
melaniegoetz
8f02385c84
Color subsystem updates for MDC-FAB
...
PiperOrigin-RevId: 212311827
2018-09-14 10:53:01 -04:00
gauthams
63a23c7ed1
Fix padding in RTL button demos
...
PiperOrigin-RevId: 211143213
2018-09-07 11:36:04 -04:00
connieshi
52ff5e1eb3
Add GM chipgroup style. Configure GM Catalog's chip group example to meet Android's recommended min touch target.
...
PiperOrigin-RevId: 210903536
2018-08-31 11:12:41 -04:00
dniz
6a1d85f08c
Action Bar typography styling
...
PiperOrigin-RevId: 210604964
2018-08-29 11:31:51 -04:00
Material Design Team
56ee534de2
Creates and colors SwitchMaterial
...
PiperOrigin-RevId: 210574240
2018-08-28 16:44:02 -04:00
gauthams
14e9a020a1
Update TabLayout to use new color attributes
...
PiperOrigin-RevId: 210553777
2018-08-28 16:42:54 -04:00
Material Design Team
3bb9a248a4
Catalog Demo for Material Radio Button
...
PiperOrigin-RevId: 209981850
2018-08-28 16:36:52 -04:00
Material Design Team
e8c6a84246
Create the material CheckBox component with a catalog demo.
...
PiperOrigin-RevId: 209638198
2018-08-28 16:32:59 -04:00
gauthams
15bf27d7cd
Update MaterialButton to use new color attributes
...
PiperOrigin-RevId: 209617286
2018-08-28 16:31:53 -04:00
Material Design Team
3d4b28bc5c
Switch catalog demo - SwitchCompat based
...
PiperOrigin-RevId: 209150795
2018-08-17 17:23:47 -04:00
afohrman
a91d87996b
Add helper text customization controls to text field demo.
...
PiperOrigin-RevId: 206780816
2018-08-02 18:05:39 -07:00
connieshi
516d00d8a6
Add attributes (chipTouchTargetDelegate, chipMinTouchTargetSize) to support chip meeting minimum accessible touch target size.
...
PiperOrigin-RevId: 206197663
2018-08-02 17:58:34 -07:00
Material Design Team
e3d1a07212
Updated the main Bottom Navigation demo to remove the legacy comparison.
...
The Legacy comparison still exists in the other demos.
PiperOrigin-RevId: 206149347
2018-08-02 17:56:08 -07:00
cketcham
7487a539f7
Add support for ThemeOverlays with the default style attr in MaterialCardView and TextInputLayout
...
PiperOrigin-RevId: 206004683
2018-08-02 17:54:28 -07:00
marianomartin
8aa6261493
Icon only buttons
...
PiperOrigin-RevId: 202660201
2018-07-02 09:51:34 -04:00
dniz
7cd55d872b
Add Toolbar styles that use themed text appearances based on type scale
...
PiperOrigin-RevId: 202636817
2018-07-02 09:50:23 -04:00
gauthams
58df7b8baa
Fixing MaterialButton padding API surface
...
PiperOrigin-RevId: 202584064
2018-07-02 09:49:33 -04:00
marianomartin
cbf0b7a7cf
Menus in catalog
...
PiperOrigin-RevId: 202470100
2018-07-02 09:44:31 -04:00
marianomartin
548963a9e6
Delete unused assets and add placeholder
...
PiperOrigin-RevId: 202322948
2018-07-02 09:44:04 -04:00
marianomartin
8ef311fd96
Change icons in MDC catalog
...
PiperOrigin-RevId: 202313800
2018-07-02 09:43:36 -04:00
cketcham
841ba156fc
Automated g4 rollback of changelist 199530791
...
PiperOrigin-RevId: 201188669
2018-06-20 17:29:57 -04:00
connieshi
3f00c13ebe
Fix api issues, defer to TextView to render the chip text and ChipDrawable to render everything else.
...
List of text related attributes/methods supported with this approach:
android:autoLink
android:hint
android:text
android:textAllCaps
android:textAppearance
android:textColor
android:textColorHint
android:textColorLink
android:textIsSelectable
android:textScaleX
android:textSize
android:textStyle
android:typeface
android:fontFamily
Not supported:
android:textColorHighlight
android:textColorLink
PiperOrigin-RevId: 200578044
2018-06-20 17:27:20 -04:00
afohrman
b087cbad7a
Roll back deletion of FAB attachment functionality.
...
PiperOrigin-RevId: 199530791
2018-06-20 17:24:55 -04:00
marianomartin
0b4cd4873d
Fix crash in themeswitcher
...
we are only obtaining R.attr.colorSecondary for the secondary pallete
so the getColor(1, ..) behaves weirdly crashing randomely.
PiperOrigin-RevId: 199530617
2018-06-20 17:24:36 -04:00
cketcham
cdb99838c6
Don't allow the fab to be detached from the BottomAppBar unless the fab isn't visible, or the BottomAppBar is scrolled off the screen
...
PiperOrigin-RevId: 199511216
2018-06-20 17:24:01 -04:00
afohrman
235917148f
Add spacing between text fields in text field demos.
...
PiperOrigin-RevId: 198769845
2018-05-31 17:04:10 -04:00
afohrman
f2ebf56e21
Rename text field outlined style from "Outline" to "Outlined".
...
This commit updates the style names for the outlined text field box from "Outline" to "Outlined.
Widget.MaterialComponents.TextInputLayout.OutlineBox -> Widget.MaterialComponents.TextInputLayout.OutlinedBox, and
Widget.MaterialComponents.TextInputEditText.OutlineBox -> Widget.MaterialComponents.TextInputEditText.OutlinedBox.
This name matches spec and is closer to what is used on the other platforms.
PiperOrigin-RevId: 198768731
2018-05-31 16:39:44 -04:00
afohrman
7c77374127
Set textInputStyle to Widget.Design.TextInputLayout and remove editTextStyle from the theme.
...
The editTextStyle is now implicitly set to Widget.AppCompat.EditText.
The background for this change is that all EditTexts in the theme were getting the filled box text field set on it rather than Widget.AppCompat.EditText. Because the TextInputEditText style is set via a ThemeOverlay, simply setting the correct style on the TextInputEditText wouldn't remove the attributes set in the filled box ThemeOverlay. This commit sets textInputStyle to Widget.Design.TextInputLayout to work around that.
This commit also adds a legacy text field demo. This should help ensure that the pre-existing text field isn't changed as a result of other modifications to the text field.
PiperOrigin-RevId: 198758642
2018-05-31 16:32:59 -04:00