26 Commits

Author SHA1 Message Date
dniz
fcf4b9f6ac [Docs] Updated link to Google Maven in Getting Started guide to be more specific
PiperOrigin-RevId: 321611185
2020-07-20 12:32:51 -07:00
nickrout
5ac487a7c0 [Documentation] Fixed broken links.
PiperOrigin-RevId: 320965013
2020-07-15 09:41:16 -07:00
leticiars
44ff02f7ba [Documentation] Updated Chips documentation.
PiperOrigin-RevId: 320443747
2020-07-10 11:45:14 -07:00
leticiars
e4da6b4ec9 [Documentation] Cleanup.
PiperOrigin-RevId: 318856706
2020-06-29 16:19:40 -04:00
connieshi
fd8678371a Add missing line breaks.
PiperOrigin-RevId: 270038867
2019-09-20 10:58:23 -04:00
connieshi
bfeef49653 Fix broken Attributes tables in Android chip page on material.io
Resolves: https://github.com/material-components/material-components/issues/68
PiperOrigin-RevId: 269844828
2019-09-18 14:25:16 -04:00
connieshi
6c70169e8d Update chipgroup spacing attribute documentation to clarify that it doesn't apply to hidden chips.
PiperOrigin-RevId: 226498090
2018-12-21 16:29:20 -05:00
connieshi
60d1dfac70 Update chipDrawable to be wrapped by InsetDrawable (if needed) to ensure it meets Android's recommended minimum touch target size.
Update demo catalog app.

PiperOrigin-RevId: 220370443
2018-11-16 10:57:34 -05:00
gauthams
99d77a0c3c Update component documentation to include theme mappings for color and type
PiperOrigin-RevId: 216445191
2018-10-11 18:17:23 -04:00
dniz
4c41bcbb3c Remove leading |'s from Chip documentation attribute table
PiperOrigin-RevId: 210588729
2018-08-28 16:44:57 -04:00
Material Design Team
b0a9ff6658 Add an override to setLayoutDirection from the parent text view of chips.
Setting layoutDirection on TextViews to the direction of the View locale is necessary to ensure that text on chips is rendered correctly in RTL mode. Previously, it would default to LTR mode and then not get set with proper paddings until you interact with a chip to invalidate the layout.

Before (RTL): https://surbhimadan.users.x20web.corp.google.com/www/textrtl_before.mp4
After (RTL): https://surbhimadan.users.x20web.corp.google.com/www/textrtl_after.mp4
Verified no changes to LTR.

PiperOrigin-RevId: 210560864
2018-08-28 16:43:46 -04:00
connieshi
fab7b4b97d Update Chip attribute table formatting so it displays properly on Github.
https://github.com/material-components/material-components-android/issues/146

PiperOrigin-RevId: 208100663
2018-08-17 17:03:26 -04:00
connieshi
d0feb4d321 Add clarification about a chip touch target delegate's boundary requirements.
PiperOrigin-RevId: 206975591
2018-08-02 18:06:57 -07:00
connieshi
7d6767cf85 Move Checkable attribute above Check Icon in attribute table.
PiperOrigin-RevId: 206578877
2018-08-02 18:04:11 -07:00
connieshi
00bbb1e16f Fix typo in chip attribute: android:checkable instead of app:checkable
Rearrange a few of the attributes to move android attributes to the top.

PiperOrigin-RevId: 206357215
2018-08-02 18:02:55 -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
connieshi
6020fcdbf1 Fix API issue with icon visibility.
Deprecate *iconEnabled methods to is*iconVisible and setIs*iconVisible methods.

PiperOrigin-RevId: 202658616
2018-07-02 09:50:53 -04:00
connieshi
412ee4c1f1 Add support for tinting the chip icon.
PiperOrigin-RevId: 199526967
2018-06-20 17:24:18 -04:00
dniz
18e1aa0d71 Add note about using <chip tag for ChipDrawable
PiperOrigin-RevId: 199172023
2018-06-20 17:22:41 -04:00
connieshi
a71326896a Use the android:text attribute instead of chipText attribute to specify text label for ChipDrawable.
This is one in a series of planned changes that aim to delegate rendering a Chip's text to TextView instead of ChipDrawable.

PiperOrigin-RevId: 197780081
2018-05-30 17:19:38 -04:00
cketcham
73d1c6f148 Update links in material component docs
PiperOrigin-RevId: 195898245
2018-05-08 20:10:49 -04:00
Material Design Team
87b5e046c4 Replace links to Material design guidance with short links as appropriate.
PiperOrigin-RevId: 194927609
2018-05-01 17:10:56 -04:00
dniz
9ca33544ac Update package name to com.google.android.material
PiperOrigin-RevId: 193236235
2018-04-30 11:24:23 -04:00
Material Design Team
856ed8d313 Changed "wrap" to "wrap_content" in Chip XML definitions for layout_width and layout_height.
PiperOrigin-RevId: 185690618
2018-03-12 12:40:36 -04:00
markwei
1bc7c013d1 Add updated Material theme guidance on top of component documentation.
The goal is that this snippet can be copied and pasted across all of our component documentation.

PiperOrigin-RevId: 183315682
2018-02-27 13:05:53 -05:00
markwei
8f269672e1 Add chip documentation.
PiperOrigin-RevId: 183139001
2018-01-25 18:25:09 -05:00