Skip to content

Commit

Permalink
[BadgeDrawable][Docs] Fix doc formatting for github
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 513573599
  • Loading branch information
imhappi authored and paulfthomas committed Mar 3, 2023
1 parent 9d0732b commit e75654d
Showing 1 changed file with 12 additions and 18 deletions.
30 changes: 12 additions & 18 deletions docs/components/BadgeDrawable.md
Expand Up @@ -90,24 +90,18 @@ center, use `setHorizontalOffset(int)` or `setVerticalOffset(int)`

### `BadgeDrawable` Attributes

| Feature | Relevant attributes |
| --------------------- | ------------------------------------------ |
| Color | `app:backgroundColor` <br> |
: : `app\:badgeTextColor` :
| Width | `app:badgeWidth` <br> |
: : `app\:badgeWithTextWidth` :
| Height | `app:badgeHeight` <br> |
: : `app\:badgeWithTextHeight` :
| Shape | `app:badgeShapeAppearance` <br> |
: : `app\:badgeShapeAppearanceOverlay` <br> :
: : `app\:badgeWithTextShapeAppearance` <br> :
: : `app\:badgeWithTextShapeAppearanceOverlay` :
| Label | `app:number` |
| Label Length | `app:maxCharacterCount` |
| Label Text Color | `app:badgeTextColor` |
| Label Text Appearance | `app:badgeTextAppearance` |
| Badge Gravity | `app:badgeGravity` |
| Offset Alignment | `app:offsetAlignmentMode` |
| Feature | Relevant attributes |
| --------------------- | -----------------------------------------------------------------------------------------------------------------|
| Color | `app:backgroundColor` <br> `app:badgeTextColor` |
| Width | `app:badgeWidth` <br> `app:badgeWithTextWidth` |
| Height | `app:badgeHeight` <br> `app:badgeWithTextHeight` |
| Shape | `app:badgeShapeAppearance` <br> `app:badgeShapeAppearanceOverlay` <br> `app:badgeWithTextShapeAppearance` <br> `app:badgeWithTextShapeAppearanceOverlay` |
| Label | `app:number` |
| Label Length | `app:maxCharacterCount` |
| Label Text Color | `app:badgeTextColor` |
| Label Text Appearance | `app:badgeTextAppearance` |
| Badge Gravity | `app:badgeGravity` |
| Offset Alignment | `app:offsetAlignmentMode` |

### Talkback Support

Expand Down

0 comments on commit e75654d

Please sign in to comment.