16 Commits

Author SHA1 Message Date
connieshi
a4292a11de Always compute layout width / height and call setMeasuredDimension even when there are no children instead of delegating to View (which was erroneously setting the height to take up all available space).
This fixes a bug that causes the chipgroup to erroneously takeover the entire height of the screen.

PiperOrigin-RevId: 204810068
2018-07-17 18:10:11 -04:00
connieshi
36c01edeb2 Switch ChipGroup to inherit from FlowLayout.
PiperOrigin-RevId: 204296714
2018-07-12 16:18:34 -04:00
cketcham
e22213ba58 Automated g4 rollback of changelist 204005581
PiperOrigin-RevId: 204142484
2018-07-11 15:22:03 -04:00
connieshi
602a9b63a4 Switch ChipGroup to inherit from FlowLayout.
PiperOrigin-RevId: 204005581
2018-07-11 15:17:56 -04:00
gauthams
98350d8bdf Update TextAppearance enforcement error to be more clear.
PiperOrigin-RevId: 202189106
2018-07-02 09:43:00 -04:00
gauthams
c852e7f0cf Make ThemeEnforcement TextAppearance check more robust
PiperOrigin-RevId: 202039029
2018-07-02 09:39:28 -04:00
gauthams
580f63bd4d Remove unused ThemeEnforcement method
PiperOrigin-RevId: 201101785
2018-06-20 17:29:16 -04:00
gauthams
670787be83 Update button to use textappearance theme attributes, and enforce textappearance check
PiperOrigin-RevId: 198609334
2018-05-30 17:45:15 -04:00
marianomartin
663fd7abff add res-public files
PiperOrigin-RevId: 198567215
2018-05-30 17:42:48 -04:00
dniz
b4529d2a88 Remove unused MathUtils methods and add documentation. Also replace
MathUtils#constrain with Support Library MathUtils#clamp

PiperOrigin-RevId: 197905324
2018-05-30 17:31:27 -04:00
dniz
81c4ece8f7 Remove colorPrimaryLight, colorSecondaryLight, and colorSecondaryDark
PiperOrigin-RevId: 197093793
2018-05-22 13:56:47 -04:00
dniz
80a6fbe0af Namespace FlexboxLayout styleable
PiperOrigin-RevId: 194788079
2018-04-30 15:12:00 -04:00
dniz
b504d3fc3d Set up Gradle task for docs build
PiperOrigin-RevId: 194457377
2018-04-30 12:03:20 -04:00
gauthams
ac27064891 Add paired getter and setter for NavigationView setCheckedItem()/getCheckedItem()
PiperOrigin-RevId: 193267214
2018-04-30 11:28:37 -04:00
gauthams
224a7e8b4a Add textAppearance check to ThemeEnforcement
PiperOrigin-RevId: 193254833
2018-04-30 11:28:13 -04:00
dniz
9ca33544ac Update package name to com.google.android.material
PiperOrigin-RevId: 193236235
2018-04-30 11:24:23 -04:00