From e75654d4c205dc0a311be23725a71228e7ea4762 Mon Sep 17 00:00:00 2001 From: rightnao Date: Thu, 2 Mar 2023 18:19:41 +0000 Subject: [PATCH] [BadgeDrawable][Docs] Fix doc formatting for github PiperOrigin-RevId: 513573599 --- docs/components/BadgeDrawable.md | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/docs/components/BadgeDrawable.md b/docs/components/BadgeDrawable.md index c69a4c6c01a..283005de025 100644 --- a/docs/components/BadgeDrawable.md +++ b/docs/components/BadgeDrawable.md @@ -90,24 +90,18 @@ center, use `setHorizontalOffset(int)` or `setVerticalOffset(int)` ### `BadgeDrawable` Attributes -| Feature | Relevant attributes | -| --------------------- | ------------------------------------------ | -| Color | `app:backgroundColor`
| -: : `app\:badgeTextColor` : -| Width | `app:badgeWidth`
| -: : `app\:badgeWithTextWidth` : -| Height | `app:badgeHeight`
| -: : `app\:badgeWithTextHeight` : -| Shape | `app:badgeShapeAppearance`
| -: : `app\:badgeShapeAppearanceOverlay`
: -: : `app\:badgeWithTextShapeAppearance`
: -: : `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`
`app:badgeTextColor` | +| Width | `app:badgeWidth`
`app:badgeWithTextWidth` | +| Height | `app:badgeHeight`
`app:badgeWithTextHeight` | +| Shape | `app:badgeShapeAppearance`
`app:badgeShapeAppearanceOverlay`
`app:badgeWithTextShapeAppearance`
`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