230 Commits

Author SHA1 Message Date
leticiars
bd9124bfe5 [Documentation] Adding note about using text fields programmatically.
PiperOrigin-RevId: 316899324
2020-06-17 20:06:15 -07:00
leticiars
a68c7f4de4 [Documentation] Updating Snackbar documentation.
PiperOrigin-RevId: 316489699
2020-06-15 23:56:25 -07:00
leticiars
c66c69de2a [Documentation] Updated selection controls metadata.
PiperOrigin-RevId: 314970022
2020-06-08 15:50:35 -04:00
nickrout
11569e2ac2 [Documentation] Added progress indicator.
PiperOrigin-RevId: 314531651
2020-06-03 16:24:49 -04:00
leticiars
b2125d58f1 [Documentation] Minor updates
PiperOrigin-RevId: 314342373
2020-06-02 12:58:20 -04:00
leticiars
d2fb84944f [Documentation] Fix styles table of bottomappbar doc
PiperOrigin-RevId: 314181404
2020-06-01 17:36:27 -04:00
leticiars
0c7db72dae [Documentation] Updating Switch documentation.
PiperOrigin-RevId: 314165848
2020-06-01 17:19:07 -04:00
leticiars
675fe8c690 [Documentation] Fixing checkbox attrs table.
PiperOrigin-RevId: 314155324
2020-06-01 17:17:25 -04:00
leticiars
83ba0401b1 [Documentation] Updating Checkbox documentation.
PiperOrigin-RevId: 314146384
2020-06-01 17:15:18 -04:00
leticiars
b01058a58b [Documentation] Updating RadioButton documentation.
PiperOrigin-RevId: 314134918
2020-06-01 17:12:07 -04:00
nickrout
0d61a37450 [Documentation] Updating Bottom App Bar doc.
PiperOrigin-RevId: 313595484
2020-05-29 15:57:50 -04:00
Steve Grosbois
24e684ffe5 [Documentation] Fixed materialAlertDialogTitleTextStyle default value
Resolves https://github.com/material-components/material-components-android/pull/1300

GIT_ORIGIN_REV_ID=fac63ff74553b7093e7fd2c0e2141e6bf5b5af60
PiperOrigin-RevId: 311348976
2020-05-13 17:19:26 -04:00
Material Design Team
fbd414b1c9 [Documentation] Updating Card doc.
PiperOrigin-RevId: 310549081
2020-05-08 15:25:42 -04:00
leticiars
2bc442e3fb [Documentation] Updating FABs doc.
Deleting Extended FAB doc as it's now together with regular FAB.

PiperOrigin-RevId: 310161124
2020-05-07 12:18:26 -04:00
leticiars
e301799492 [Documentation] Fixing formatting.
PiperOrigin-RevId: 309081639
2020-04-29 16:15:43 -04:00
dniz
8f103bc974 Fix Snackbar doc to mention that action text defaults to primary color
PiperOrigin-RevId: 309043112
2020-04-29 13:31:15 -04:00
leticiars
70cc027b15 [Documentation] Fixing some formatting issues in the bottomnav doc.
PiperOrigin-RevId: 308871497
2020-04-28 15:18:42 -04:00
leticiars
0d1025a061 [Documentation} Adding table of content and hero images to new docs.
PiperOrigin-RevId: 308713205
2020-04-27 18:55:04 -04:00
leticiars
4a8e005755 [Documentation] Updating bottom navigation documentation.
PiperOrigin-RevId: 308622502
2020-04-27 17:27:22 -04:00
leticiars
d5fc3fd847 [Documentation] Correcting component name.
PiperOrigin-RevId: 305492875
2020-04-13 09:24:47 -07:00
nickrout
2a2cd41f88 [Documentation] Updating top app bar doc images.
PiperOrigin-RevId: 305205790
2020-04-07 12:18:47 -04:00
leticiars
300a46f0a4 [Documentation] Updating Dialogs doc.
PiperOrigin-RevId: 305041072
2020-04-06 12:50:41 -07:00
nickrout
70fcccc0e4 [Documentation] Fixing top app bar doc table issues.
PiperOrigin-RevId: 302710308
2020-03-24 15:35:58 -04:00
leticiars
d1b35e2a91 [Documentation] updating metadata path of top app bar
PiperOrigin-RevId: 302667024
2020-03-24 11:42:25 -04:00
nickrout
2d47ce8938 [Documentation] Updating top app bar doc.
PiperOrigin-RevId: 302530702
2020-03-24 11:39:06 -04:00
leticiars
6e72652310 [ExposedDropdownMenu] Fixing width being too small when it's wrap_content.
Resolves https://github.com/material-components/material-components-android/issues/1001

PiperOrigin-RevId: 301415436
2020-03-18 17:34:28 -04:00
leticiars
a3d97eeb1c [Documentation] Fixing metadata path of Picker.md
PiperOrigin-RevId: 300782133
2020-03-13 13:38:37 -04:00
leticiars
118621e96f [Documentation] Adding info about setting default value for the dropdown menu.
PiperOrigin-RevId: 299878742
2020-03-09 11:51:42 -07:00
leticiars
d1850a3d78 [ExposedDropdownMenu] Implement workaround to inputType=none not working + move MaterialAutoCompleteTextView to textfield/ directory.
The alternative to android:editable="false" (which is deprecated) is to set inputType="none", however due to a framework bug that has no effect. This change makes it so it works as expected.

PiperOrigin-RevId: 299411110
2020-03-09 09:36:24 -07:00
leticiars
46d878410b [Documentation] Update text field doc to include android:enabled.
PiperOrigin-RevId: 299389842
2020-03-06 11:41:20 -08:00
leticiars
158d8ca397 [Documentation] Updating outlined textfield image
PiperOrigin-RevId: 298693891
2020-03-05 13:03:11 -08:00
leticiars
48c4fffc6d [Documentation] Fixing links in Card.md
PiperOrigin-RevId: 298386465
2020-03-02 15:40:36 -05:00
nickrout
2f266e73e9 [Documentation] Updating Card doc.
PiperOrigin-RevId: 298379765
2020-03-02 14:03:33 -05:00
leticiars
143372d9bc [Documentation] Updating names in table of text field doc.
PiperOrigin-RevId: 297928117
2020-02-28 17:14:32 -05:00
leticiars
e942499383 [Documentation] Updating text fields doc info.
PiperOrigin-RevId: 297925786
2020-02-28 17:06:50 -05:00
leticiars
97866ace1a [Documentation] Updating Card doc.
PiperOrigin-RevId: 297834426
2020-02-28 12:58:42 -05:00
Nick Rout
c723074b7c [Text fields] Update doc
Resolves https://github.com/material-components/material-components-android/pull/1067

GIT_ORIGIN_REV_ID=1872514e11691a4aebce21f5c4c238399dbd32c7
PiperOrigin-RevId: 297681747
2020-02-28 09:47:06 -05:00
leticiars
eba2be64f4 [Documentation] Updating text fields doc
PiperOrigin-RevId: 296268737
2020-02-20 16:33:09 -05:00
leticiars
7b165f8cb1 Updating metadata Buttons.md path
PiperOrigin-RevId: 295999414
2020-02-19 13:31:30 -05:00
Nick Rout
1abfca962c [Buttons] Update doc
Resolves https://github.com/material-components/material-components-android/pull/1035

GIT_ORIGIN_REV_ID=a881d979ba6651d5efcc5e253b012018a5cb0fc4
PiperOrigin-RevId: 295969209
2020-02-19 11:07:46 -05:00
leticiars
d716ba4877 Updating documentation
PiperOrigin-RevId: 295815452
2020-02-18 18:14:19 -05:00
leticiars
8cb5dd64e0 Renaming Buttons.md to Button.md for consistency. Leaving titles as Buttons to match material.io/components
Also adding info about AutoCompleteTextView being auto-inflated as MaterialAutoCompleteTextView

PiperOrigin-RevId: 293224503
2020-02-04 17:34:17 -05:00
Material Design Team
738e35a554 Add links to CSLs in button doc attr table
This adds links to full color state lists in the button doc attribute table.

PiperOrigin-RevId: 293024307
2020-02-04 17:31:26 -05:00
leticiars
83817a4f28 Adding missing attr information to Buttons doc
PiperOrigin-RevId: 292913740
2020-02-03 10:26:20 -05:00
leticiars
acb0870eed Fixing tables formatting in Buttons doc.
PiperOrigin-RevId: 292579184
2020-01-31 16:51:27 -05:00
leticiars
b2194a0b01 Fixing duplicate title in buttons doc.
PiperOrigin-RevId: 292549090
2020-01-31 11:26:18 -05:00
leticiars
6f6459618c [Documentation] Update and improvements of Buttons documentation.
Documentation about MaterialButton and MaterialButtonToggleGroup are now in the same doc.

PiperOrigin-RevId: 292420210
2020-01-31 11:14:11 -05:00
Material Design Team
6405635df4 Handle horizontal system insets for BottomAppBar.
Previously only the bottom inset (navigation bar) would add extra padding to the BottomAppBar which avoided overlapping with the bottom inset when drawing edge-to-edge. A problem arises if the device is rotated horizontally. The FAB (or sometimes the ActionMenuView in RtL layouts) would overlap with the right inset, making usage impossible.

This CL adjusts the FAB and ActionMenuView X translations when necessary to avoid the horizontal system insets. Two new stylable attributes have been added to enable/disable this behavior, analogous to the existing attribute for bottom padding.

PiperOrigin-RevId: 286419669
2019-12-19 15:45:44 -05:00
leticiars
545a4895f3 Adding simple documentation for Lists.
PiperOrigin-RevId: 285963479
2019-12-17 17:04:56 -05:00
dniz
3a395b4503 Cleanup
PiperOrigin-RevId: 285076531
2019-12-12 11:44:35 -05:00