Skip to content

Commit 7791867

Browse files
committed
[Documentation] Fixed tables having empty first column title.
PiperOrigin-RevId: 353095221
1 parent 3496f63 commit 7791867

20 files changed

+135
-135
lines changed

docs/components/BottomAppBar.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -216,22 +216,22 @@ floating action button (FAB), action item(s) and an overflow menu.
216216

217217
### Container attributes
218218

219-
  | Attribute | Related method(s) | Default value
219+
Element | Attribute | Related method(s) | Default value
220220
------------- | -------------------- | ------------------------------------------ | -------------
221221
**Color** | `app:backgroundTint` | `setBackgroundTint`<br>`getBackgroundTint` | `?attr/colorSurface`
222222
**Elevation** | `app:elevation` | `setElevation` | `8dp`
223223
**Height** | `android:minHeight` | `setMinimumHeight`<br>`getMinimumHeight` | `56dp` (default) and `64dp` (w600dp)
224224

225225
### Navigation icon attributes
226226

227-
&nbsp; | Attribute | Related method(s) | Default value
227+
Element | Attribute | Related method(s) | Default value
228228
--------- | -------------------- | ------------------------------------------ | -------------
229229
**Icon** | `app:navigationIcon` | `setNavigationIcon`<br>`getNavigationIcon` | `null`
230230
**Color** | N/A | N/A | `?attr/colorControlNormal` (as `Drawable` tint)
231231

232232
### FAB attributes
233233

234-
&nbsp; | Attribute | Related method(s) | Default value
234+
Element | Attribute | Related method(s) | Default value
235235
-------------------------------- | ---------------------------------- | ---------------------------------------------------------------------- | -------------
236236
**Alignment mode** | `app:fabAlignmentMode` | `setFabAlignmentMode`<br>`getFabAlignmentMode` | `center`
237237
**Animation mode** | `app:fabAnimationMode` | `setFabAnimationMode`<br>`getFabAnimationMode` | `scale`
@@ -245,22 +245,22 @@ for more attributes.
245245

246246
#### Action item(s) attributes
247247

248-
&nbsp; | Attribute | Related method(s) | Default value
248+
Element | Attribute | Related method(s) | Default value
249249
-------------- | ---------- | -------------------------- | -------------
250250
**Menu** | `app:menu` | `replaceMenu`<br>`getMenu` | `null`
251251
**Icon color** | N/A | N/A | `?attr/colorControlNormal` (as `Drawable` tint)
252252

253253
### Overflow menu attributes
254254

255-
&nbsp; | Attribute | Related method(s) | Default value
255+
Element | Attribute | Related method(s) | Default value
256256
------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------- | -------------
257257
**Icon** | `android:src` and `app:srcCompat` in `actionOverflowButtonStyle` (in app theme) | `setOverflowIcon`<br>`getOverflowIcon` | `@drawable/abc_ic_menu_overflow_material` (before API 23) or `@drawable/ic_menu_moreoverflow_material` (after API 23)
258258
**Theme** | `app:popupTheme` | `setPopupTheme`<br>`getPopupTheme` | `@style/ThemeOverlay.MaterialComponents.*`
259259
**Item typography** | `textAppearanceSmallPopupMenu` and `textAppearanceLargePopupMenu` in `app:popupTheme` or app theme | N/A | `?attr/textAppearanceSubtitle1`
260260

261261
### Styles
262262

263-
&nbsp; | Style
263+
Element | Style
264264
-------------------------------------------------------------------------------- | -----
265265
**Default style** | `Widget.MaterialComponents.BottomAppBar`
266266
**Primary background color style** | `Widget.MaterialComponents.BottomAppBar.Colored`

docs/components/BottomNavigation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -253,14 +253,14 @@ The following is an anatomy diagram for the bottom navigation bar:
253253

254254
#### Container attributes
255255

256-
&nbsp; | **Attribute** | **Related methods** | **Default value**
256+
Element | **Attribute** | **Related methods** | **Default value**
257257
------------- | -------------------- | ------------------------ | -----------------
258258
**Color** | `app:backgroundTint` | N/A | `?attr/colorSurface`
259259
**Elevation** | `app:elevation` | `setElevation` | `8dp`
260260

261261
#### Navigation item attributes
262262

263-
&nbsp; | **Attribute** | **Related methods** | **Default value**
263+
Element | **Attribute** | **Related methods** | **Default value**
264264
------------------------- | ------------------------- | ----------------------------------------------------- | -----------------
265265
**Menu resource** | `app:menu` | `inflateMenu`<br/>`getMenu` | N/A
266266
**Ripple (inactive)** | `app:itemRippleColor` | `setItemRippleColor`<br/>`getItemRippleColor` | `?attr/colorOnSurface` at 8% (see all [states](https://github.com/material-components/material-components-android/tree/master/lib/java/com/google/android/material/navigation/res/color/mtrl_navigation_bar_ripple_color.xml))
@@ -269,7 +269,7 @@ The following is an anatomy diagram for the bottom navigation bar:
269269

270270
#### Icon attributes
271271

272-
&nbsp; | **Attribute** | **Related methods** | **Default value**
272+
Element | **Attribute** | **Related methods** | **Default value**
273273
-------------------- | ------------------------------------- | ---------------------------------------------------------------- | -----------------
274274
**Icon** | `android:icon` in the `menu` resource | N/A | N/A
275275
**Size** | `app:itemIconSize` | `setItemIconSize`<br/>`setItemIconSizeRes`<br/>`getItemIconSize` | `24dp`
@@ -278,7 +278,7 @@ The following is an anatomy diagram for the bottom navigation bar:
278278

279279
#### Text label attributes
280280

281-
&nbsp; | **Attribute** | **Related methods** | **Default value**
281+
Element | **Attribute** | **Related methods** | **Default value**
282282
------------------------- | -------------------------------------- | ------------------------------------------------------------------- | -----------------
283283
**Text label** | `android:title` in the `menu` resource | N/A | N/A
284284
**Color (inactive)** | `app:itemTextColor` | `setItemTextColor`<br/>`getItemTextColor` | `?attr/colorOnSurface` at 60%
@@ -288,7 +288,7 @@ The following is an anatomy diagram for the bottom navigation bar:
288288

289289
#### Styles
290290

291-
&nbsp; | **Style** | **Container color** | **Icon/Text label color (inactive)** | **Icon/Text label color (active)**
291+
Element | **Style** | **Container color** | **Icon/Text label color (inactive)** | **Icon/Text label color (active)**
292292
------------------------------ | --------------------------------------------------------------- | -------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | ----------------------------------
293293
**Default style** | `Widget.MaterialComponents.BottomNavigationView` | `?attr/colorSurface` | `?attr/colorOnSurface` at 60% | `?attr/colorPrimary`
294294
**Colored style** | `Widget.MaterialComponents.BottomNavigationView.Colored` | `?attr/colorPrimary` | `?attr/colorOnPrimary` at 60% | `?attr/colorOnPrimary`

docs/components/Button.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -120,15 +120,15 @@ A text button has a text label, a transparent container and an optional icon.
120120

121121
#### Text label attributes
122122

123-
&nbsp; | Attribute | Related method(s) | Default value
123+
Element | Attribute | Related method(s) | Default value
124124
-------------- | ------------------------ | --------------------------------- | -------------
125125
**Text label** | `android:text` | `setText`<br/>`getText` | `null`
126126
**Color** | `android:textColor` | `setTextColor`<br/>`getTextColor` | `?attr/colorPrimary` (see all [states](https://github.com/material-components/material-components-android/tree/master/lib/java/com/google/android/material/button/res/color/mtrl_text_btn_text_color_selector.xml))
127127
**Typography** | `android:textAppearance` | `setTextAppearance` | `?attr/textAppearanceButton`
128128

129129
#### Container attributes
130130

131-
&nbsp; | Attribute | Related method(s) | Default value
131+
Element | Attribute | Related method(s) | Default value
132132
---------------- | --------------------- | ---------------------------------------------------------------------------- | -------------
133133
**Color** | `app:backgroundTint` | `setBackgroundColor`<br/>`setBackgroundTintList`<br/>`getBackgroundTintList` | `@android:color/transparent` (see all [states](https://github.com/material-components/material-components-android/tree/master/lib/java/com/google/android/material/button/res/color/mtrl_btn_text_btn_bg_color_selector.xml))
134134
**Stroke color** | `app:strokeColor` | `setStrokeColor`<br/>`setStrokeColorResource`<br/>`getStrokeColor` | `null`
@@ -139,7 +139,7 @@ A text button has a text label, a transparent container and an optional icon.
139139

140140
#### Icon attributes
141141

142-
&nbsp; | Attribute | Related method(s) | Default value
142+
Element | Attribute | Related method(s) | Default value
143143
----------------------------------------------- | ----------------- | --------------------------------------------------------- | -------------
144144
**Icon** | `app:icon` | `setIcon`<br/>`setIconResource`<br/>`getIcon` | `null`
145145
**Color** | `app:iconTint` | `setIconTint`<br/>`setIconTintResource`<br/>`getIconTint` | `?attr/colorPrimary` (see all [states](https://github.com/material-components/material-components-android/tree/master/lib/java/com/google/android/material/button/res/color/mtrl_text_btn_text_color_selector.xml))
@@ -149,7 +149,7 @@ A text button has a text label, a transparent container and an optional icon.
149149

150150
#### Styles
151151

152-
&nbsp; | Style
152+
Element | Style
153153
----------------- | --------------------------------------------------
154154
**Default style** | `Widget.MaterialComponents.Button.TextButton`
155155
**Icon style** | `Widget.MaterialComponents.Button.TextButton.Icon`
@@ -230,15 +230,15 @@ An outlined button has a text label, a stroked container and an optional icon.
230230

231231
#### Text label attributes
232232

233-
&nbsp; | Attribute | Related method(s) | Default value
233+
Element | Attribute | Related method(s) | Default value
234234
-------------- | ------------------------ | --------------------------------- | -------------
235235
**Text label** | `android:text` | `setText`<br/>`getText` | `null`
236236
**Color** | `android:textColor` | `setTextColor`<br/>`getTextColor` | `?attr/colorPrimary` (see all [states](https://github.com/material-components/material-components-android/tree/master/lib/java/com/google/android/material/button/res/color/mtrl_text_btn_text_color_selector.xml))
237237
**Typography** | `android:textAppearance` | `setTextAppearance` | `?attr/textAppearanceButton`
238238

239239
#### Container attributes
240240

241-
&nbsp; | Attribute | Related method(s) | Default value
241+
Element | Attribute | Related method(s) | Default value
242242
---------------- | --------------------- | ---------------------------------------------------------------------------- | -------------
243243
**Color** | `app:backgroundTint` | `setBackgroundColor`<br/>`setBackgroundTintList`<br/>`getBackgroundTintList` | `@android:color/transparent` (see all [states](https://github.com/material-components/material-components-android/tree/master/lib/java/com/google/android/material/button/res/color/mtrl_btn_text_btn_bg_color_selector.xml))
244244
**Stroke color** | `app:strokeColor` | `setStrokeColor`<br/>`setStrokeColorResource`<br/>`getStrokeColor` | `?attr/colorOnSurface` at 12% opacity (see all [states](https://github.com/material-components/material-components-android/tree/master/lib/java/com/google/android/material/button/res/color/mtrl_btn_stroke_color_selector.xml))
@@ -249,7 +249,7 @@ An outlined button has a text label, a stroked container and an optional icon.
249249

250250
#### Icon attributes
251251

252-
&nbsp; | Attribute | Related method(s) | Default value
252+
Element | Attribute | Related method(s) | Default value
253253
----------------------------------------------- | ----------------- | --------------------------------------------------------- | -------------
254254
**Icon** | `app:icon` | `setIcon`<br/>`setIconResource`<br/>`getIcon` | `null`
255255
**Color** | `app:iconTint` | `setIconTint`<br/>`setIconTintResource`<br/>`getIconTint` | `?attr/colorPrimary` (see all [states](https://github.com/material-components/material-components-android/tree/master/lib/java/com/google/android/material/button/res/color/mtrl_text_btn_text_color_selector.xml))
@@ -259,7 +259,7 @@ An outlined button has a text label, a stroked container and an optional icon.
259259

260260
#### Styles
261261

262-
&nbsp; | Style
262+
Element | Style
263263
----------------- | ------------------------------------------------------
264264
**Default style** | `Widget.MaterialComponents.Button.OutlinedButton`
265265
**Icon style** | `Widget.MaterialComponents.Button.OutlinedButton.Icon`
@@ -345,15 +345,15 @@ A contained button has a text label, a filled container and an optional icon.
345345

346346
#### Text label attributes
347347

348-
&nbsp; | Attribute | Related method(s) | Default value
348+
Element | Attribute | Related method(s) | Default value
349349
-------------- | ------------------------ | --------------------------------- | -------------
350350
**Text label** | `android:text` | `setText`<br/>`getText` | `null`
351351
**Color** | `android:textColor` | `setTextColor`<br/>`getTextColor` | `?attr/colorOnPrimary` (see all [states](https://github.com/material-components/material-components-android/tree/master/lib/java/com/google/android/material/button/res/color/mtrl_btn_text_color_selector.xml))
352352
**Typography** | `android:textAppearance` | `setTextAppearance` | `?attr/textAppearanceButton`
353353

354354
#### Container attributes
355355

356-
&nbsp; | Attribute | Related method(s) | Default value
356+
Element | Attribute | Related method(s) | Default value
357357
---------------- | --------------------- | ---------------------------------------------------------------------------- | -------------
358358
**Color** | `app:backgroundTint` | `setBackgroundColor`<br/>`setBackgroundTintList`<br/>`getBackgroundTintList` | `?attr/colorPrimary` (see all [states](https://github.com/material-components/material-components-android/tree/master/lib/java/com/google/android/material/button/res/color/mtrl_btn_bg_color_selector.xml))
359359
**Stroke color** | `app:strokeColor` | `setStrokeColor`<br/>`setStrokeColorResource`<br/>`getStrokeColor` | `null`
@@ -364,7 +364,7 @@ A contained button has a text label, a filled container and an optional icon.
364364

365365
#### Icon attributes
366366

367-
&nbsp; | Attribute | Related method(s) | Default value
367+
Element | Attribute | Related method(s) | Default value
368368
----------------------------------------------- | ----------------- | --------------------------------------------------------- | -------------
369369
**Icon** | `app:icon` | `setIcon`<br/>`setIconResource`<br/>`getIcon` | `null`
370370
**Color** | `app:iconTint` | `setIconTint`<br/>`setIconTintResource`<br/>`getIconTint` | `?attr/colorOnPrimary` (see all [states](https://github.com/material-components/material-components-android/tree/master/lib/java/com/google/android/material/button/res/color/mtrl_btn_text_color_selector.xml))
@@ -374,7 +374,7 @@ A contained button has a text label, a filled container and an optional icon.
374374

375375
#### Styles
376376

377-
&nbsp; | Style
377+
Element | Style
378378
------------------------- | -------------------------------------------------------
379379
**Default style** | `Widget.MaterialComponents.Button`
380380
**Icon style** | `Widget.MaterialComponents.Button.Icon`
@@ -515,14 +515,14 @@ A toggle button has a shared stroked container, icons and/or text labels.
515515

516516
#### Selection attributes
517517

518-
&nbsp; | Attribute | Related method(s) | Default value
518+
Element | Attribute | Related method(s) | Default value
519519
---------------------- | ----------------------- | ------------------------------------------------ | -------------
520520
**Single selection** | `app:singleSelection` | `setSingleSelection`<br/>`isSingleSelection` | `false`
521521
**Selection required** | `app:selectionRequired` | `setSelectionRequired`<br/>`isSelectionRequired` | `false`
522522

523523
#### Styles
524524

525-
&nbsp; | Style
525+
Element | Style
526526
----------------- | -----------------------------------------------------
527527
**Default style** | `Widget.MaterialComponents.MaterialButtonToggleGroup`
528528

0 commit comments

Comments
 (0)