Material Design Team
|
76ffe35fef
|
Cleanup
PiperOrigin-RevId: 313865830
|
2020-06-01 16:52:06 -04:00 |
|
Material Design Team
|
7cfc63ed35
|
Fix MaterialButton$SavedState ClassNotFoundException
PiperOrigin-RevId: 313512256
|
2020-05-29 15:51:33 -04:00 |
|
Rafael Wolf de Goes
|
6455e69ba7
|
Automated g4 rollback of changelist 312323243
PiperOrigin-RevId: 312420120
|
2020-05-20 17:03:52 -04:00 |
|
Rafael Wolf de Goes
|
cbc46e9c8d
|
[MaterialButton] Align icon on top
Resolves https://github.com/material-components/material-components-android/pull/1129
GIT_ORIGIN_REV_ID=8d663b1ca7f7bf62e1e5aa8cfc887a33bdbaf9a2
PiperOrigin-RevId: 312323243
|
2020-05-19 18:35:01 -04:00 |
|
Audrius Karosevicius
|
df84e91819
|
Automated g4 rollback of changelist 304625391
PiperOrigin-RevId: 305727309
|
2020-04-13 09:47:05 -07:00 |
|
Audrius Karosevicius
|
b7d46c4ba9
|
Automated g4 rollback of changelist 304610560
PiperOrigin-RevId: 304625391
|
2020-04-03 10:11:25 -07:00 |
|
Audrius Karosevicius
|
a6c0c4c53a
|
[MaterialButton] Save state
Resolves https://github.com/material-components/material-components-android/pull/1123
GIT_ORIGIN_REV_ID=56600d14c8bab0932f3b3569c94d548d1c1523f2
PiperOrigin-RevId: 304610560
|
2020-04-03 10:06:26 -07:00 |
|
isabellekim
|
309d71860f
|
Respect android:background attribute for MaterialButton.
PiperOrigin-RevId: 303732939
|
2020-03-30 15:52:26 -04:00 |
|
marianomartin
|
115313c0c0
|
Expose a class for themeoverlay in style
This moves functionality from ThemeEnforcement into a stand alone class.
Resolves https://github.com/material-components/material-components-android/issues/665
PiperOrigin-RevId: 275481343
|
2019-10-21 10:24:19 -04:00 |
|
Sam
|
a610215b77
|
[MaterialButton] Fixed issue 531 by removing unnecessary calls to set compound drawables
Resolves https://github.com/material-components/material-components-android/pull/589
GIT_ORIGIN_REV_ID=3f167e1a3f5a369fc3bfda152f28b80c3cb25181
PiperOrigin-RevId: 270331104
|
2019-09-24 12:17:58 -04:00 |
|
marianomartin
|
215a839598
|
Internal cleanup
PiperOrigin-RevId: 267504117
|
2019-09-12 13:48:16 -04:00 |
|
Connie
|
9ed90216a3
|
Revert "Fixed issue 531 by removing unnecessary calls to set compound drawables"
This reverts commit faf60b15bea73588e8c76fc348ace50dd430cf55.
|
2019-08-29 15:55:46 -04:00 |
|
Connie
|
b814e8ef74
|
Revert "Changed naming"
This reverts commit b467b494d9f87581c20009706bce4dc9a7cb8c44.
|
2019-08-29 15:55:46 -04:00 |
|
Sam
|
b467b494d9
|
Changed naming
|
2019-08-29 15:53:24 -04:00 |
|
Sam
|
faf60b15be
|
Fixed issue 531 by removing unnecessary calls to set compound drawables
|
2019-08-29 15:53:24 -04:00 |
|
cketcham
|
7bb525ff59
|
Update usages of ShapeAppearanceModel to use Builder pattern
PiperOrigin-RevId: 266144471
|
2019-08-29 15:39:51 -04:00 |
|
marianomartin
|
0d4515cb46
|
Internal cleanup
PiperOrigin-RevId: 265971745
|
2019-08-29 14:59:20 -04:00 |
|
cketcham
|
1068e1029d
|
Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 264899198
|
2019-08-26 14:40:54 -04:00 |
|
marianomartin
|
164bf0fabd
|
Internal cleanup
PiperOrigin-RevId: 255609320
|
2019-07-03 14:02:53 -04:00 |
|
dniz
|
5df3bebd63
|
Update elevation overlays to be based absolute elevation, factoring in the elevation of all parent views
Will follow-up with TabLayout absolute elevation separately
Resolves https://github.com/material-components/material-components-android/issues/381
PiperOrigin-RevId: 255404830
|
2019-07-03 13:55:49 -04:00 |
|
gauthams
|
dbbf2c6eec
|
Add additional info to Javadoc for MaterialButton's setShapeAppearanceModel method
PiperOrigin-RevId: 249091100
|
2019-05-21 12:12:52 -04:00 |
|
Material Design Team
|
32a28f5acf
|
Annotate arg MaterialButton.setIcon(@Nullable)
PiperOrigin-RevId: 245728195
|
2019-04-29 15:59:08 -07:00 |
|
gauthams
|
71048025ef
|
Update MaterialButton documentation to clarify usage of '.Icon' styles
PiperOrigin-RevId: 245317272
|
2019-04-29 15:52:46 -07:00 |
|
cketcham
|
e081f9d005
|
Use platform widget classes for the a11y class name
PiperOrigin-RevId: 245300502
|
2019-04-29 15:44:22 -07:00 |
|
gauthams
|
c42eb1e239
|
Add support for end-aligned iconGravity in MaterialButton
PiperOrigin-RevId: 244431572
|
2019-04-19 22:07:04 -04:00 |
|
gauthams
|
d5bbc9cf43
|
Implement Shapeable interface in MaterialButton
PiperOrigin-RevId: 242559479
|
2019-04-19 13:00:59 -04:00 |
|
gauthams
|
3f2d205344
|
Log a warning rather than an info when setting background on a MaterialButton.
PiperOrigin-RevId: 239880506
|
2019-03-26 17:29:07 -04:00 |
|
dniz
|
833258417d
|
Add @RequiresApi(VERSION_CODES.LOLLIPOP) to overriden setElevation() methods
that call super.setElevation()
PiperOrigin-RevId: 239171863
|
2019-03-22 16:50:21 -04:00 |
|
marianomartin
|
fd01672af5
|
Fix nullness in FAB
PiperOrigin-RevId: 238990635
|
2019-03-22 16:21:40 -04:00 |
|
gauthams
|
5848f1fa2d
|
Add elevation overlay support for MaterialButton
PiperOrigin-RevId: 238535050
|
2019-03-22 16:11:04 -04:00 |
|
Material Design Team
|
3bce1b6f46
|
Set MaterialButton's accessibility class name to match the platform Button widget so that a11y services can verbalize instances as Buttons. For instance, a button with content description "foo" should be verbalized as "foo Button"
PiperOrigin-RevId: 238032322
|
2019-03-22 16:05:13 -04:00 |
|
gauthams
|
c7d081a9e8
|
Use getEllipsizedWidth rather than getWidth when measuring text in MaterialButton
PiperOrigin-RevId: 237853613
|
2019-03-22 16:03:58 -04:00 |
|
gauthams
|
cad9d7d5f5
|
Add MaterialButtonToggleGroup
PiperOrigin-RevId: 236745008
|
2019-03-08 09:56:58 -05:00 |
|
gauthams
|
e1c8b13064
|
Add package-private methods to set shape appearance on MaterialButton
PiperOrigin-RevId: 236355481
|
2019-03-08 09:50:08 -05:00 |
|
gauthams
|
bc33a8042f
|
Update MaterialButton checked colors
PiperOrigin-RevId: 235987525
|
2019-03-08 09:42:40 -05:00 |
|
gauthams
|
f354ff9df0
|
Add missing a11y info to MaterialButton
PiperOrigin-RevId: 235042404
|
2019-02-24 14:32:18 -05:00 |
|
gauthams
|
441877f7cc
|
Add checked state to MaterialButton
PiperOrigin-RevId: 234214200
|
2019-02-24 14:19:05 -05:00 |
|
gauthams
|
3ad575dad1
|
Enable drawing surface-color stroke under regular stroke in MaterialButton
PiperOrigin-RevId: 233860616
|
2019-02-24 14:14:07 -05:00 |
|
gauthams
|
75db2150a8
|
Add shadow to MaterialButton below API 21
PiperOrigin-RevId: 232737347
|
2019-02-11 11:17:08 -08:00 |
|
gauthams
|
354349d833
|
Expose background shape drawable in MaterialButtonHelper
PiperOrigin-RevId: 231321351
|
2019-02-01 12:38:48 -05:00 |
|
cketcham
|
dc72aaeed4
|
Migrate Gradle build and sources to androidx
PiperOrigin-RevId: 225551505
|
2018-12-21 11:07:45 -05:00 |
|
gauthams
|
a48a9af060
|
Shape system changes for MaterialButton
PiperOrigin-RevId: 225050954
|
2018-12-12 16:22:46 -05:00 |
|
isabellekim
|
14f41bd14d
|
Update MaterialButton to use a themed context in order to get attributes defined on the materialThemeOverlay.
PiperOrigin-RevId: 223218118
|
2018-12-06 11:33:25 -05:00 |
|
marianomartin
|
123b9f3e70
|
Material button icon gravity doesn't respond to text changes.
PiperOrigin-RevId: 221480745
|
2018-11-16 11:56:23 -05:00 |
|
connieshi
|
2e053c64d6
|
Fix typo.
PiperOrigin-RevId: 221259543
|
2018-11-16 11:29:32 -05:00 |
|
melaniegoetz
|
71c2312c09
|
fix iconPadding when textStart is used as icon gravity
PiperOrigin-RevId: 218442537
|
2018-10-28 19:11:51 -04:00 |
|
marianomartin
|
9e36c150c0
|
Fix most javadocs errors
PiperOrigin-RevId: 216697274
|
2018-10-11 18:24:53 -04:00 |
|
Alex Lockwood
|
1b2bcfcde2
|
[MaterialButton] Use Layout#getWidth + Paint#measureText to get the right width of the text.
Resolves https://github.com/material-components/material-components-android/pull/211
PiperOrigin-RevId: 216421698
|
2018-10-11 18:16:49 -04:00 |
|
gauthams
|
15bf27d7cd
|
Update MaterialButton to use new color attributes
PiperOrigin-RevId: 209617286
|
2018-08-28 16:31:53 -04:00 |
|
marianomartin
|
08c729d218
|
Fix icon tinting not working prep L
PiperOrigin-RevId: 209068353
|
2018-08-17 17:19:37 -04:00 |
|