pubiqq
510881a469
[Internal] Stop using deprecated androidx.core.view.* methods
...
Resolves https://github.com/material-components/material-components-android/pull/4117
GIT_ORIGIN_REV_ID=dd157e8360c2511810496693cec1616fce578655
PiperOrigin-RevId: 632284856
2024-05-13 17:37:38 +00:00
Ga\u00ebtan Muller
b3fe6a7f61
[Cleanup] Remove redundant version checks for api <= 19.
...
Resolves https://github.com/material-components/material-components-android/pull/3849
GIT_ORIGIN_REV_ID=47bb2fcc8031740e5a7d4f741f1ada2af025e126
PiperOrigin-RevId: 632154861
2024-05-09 18:46:02 +00:00
leticiars
500dae836c
[Tabs] Fix selected text appearance not being applied correctly.
...
Fixes https://github.com/material-components/material-components-android/issues/4161
PiperOrigin-RevId: 631847488
2024-05-09 14:11:40 +00:00
rightnao
3880efefef
[Badge] Adjust badges to fit within the bounds of the first ancestor view that clips its children to avoid getting cut off
...
PiperOrigin-RevId: 629810011
2024-05-02 15:42:17 +00:00
pfthomas
9b09b693d9
[Tokens] Update tokens to v4.0.0
...
PiperOrigin-RevId: 626141198
2024-04-19 21:18:49 +00:00
pekingme
28cc2441d0
[Tokens] Updated to version 2.3.4.
...
PiperOrigin-RevId: 610835532
2024-02-29 08:36:02 -08:00
pekingme
ee7b4bddb4
[Tokens] Added formatting to break long lines and differentiate different comments.
...
PiperOrigin-RevId: 605684816
2024-02-12 18:03:59 +00:00
pekingme
89212044a9
[Tokens] Updated to v0.213.
...
PiperOrigin-RevId: 603749766
2024-02-06 14:30:16 +00:00
pekingme
08d7ded67b
[Tokens] Upgraded to v0.207.
...
PiperOrigin-RevId: 600947836
2024-01-24 21:05:53 +00:00
leticiars
ef60931e2b
[Tab][a11y] Fix title being announced twice when there's a badge in TalkBack mode.
...
Resolves https://github.com/material-components/material-components-android/issues/3985
PiperOrigin-RevId: 600854666
2024-01-23 20:07:04 +00:00
pekingme
4ccaaaa31d
[Tokens] Upgraded to v0.203
...
PiperOrigin-RevId: 579928128
2023-11-08 15:12:21 +00:00
pekingme
637362d597
[Tokens] Upgraded to v0.195
...
PiperOrigin-RevId: 579905417
2023-11-06 20:27:15 +00:00
pekingme
0463c507d7
[Tokens] Upgraded to v0.185
...
PiperOrigin-RevId: 579904837
2023-11-06 20:26:18 +00:00
pekingme
bfee8a74d7
[Tokens] Upgraded to v0.175.
...
PiperOrigin-RevId: 572648883
2023-10-12 11:04:28 -07:00
pubiqq
0663019f45
[Color] Add ColorStateListDrawable support
...
Resolves https://github.com/material-components/material-components-android/pull/3538
GIT_ORIGIN_REV_ID=1bf9e320dc148e1bc959e7577372d3a393f35574
PiperOrigin-RevId: 563258432
2023-09-07 12:37:54 +00:00
pekingme
6b627c20e2
[Tabs] Integrated divider token output into the background drawables.
...
PiperOrigin-RevId: 559477915
2023-08-23 22:22:19 +00:00
pekingme
8204856dd4
[Token][Color] Upgraded to v0.170 for tonal surface colors.
...
PiperOrigin-RevId: 555230534
2023-08-09 19:03:25 +00:00
rightnao
e3b255b3a0
[Docs] Crosslink github docs in javadocs
...
PiperOrigin-RevId: 546393704
2023-07-11 19:37:37 +00:00
rightnao
e708d98c74
[TabLayout] Re-adding mistakenly removed tab layout theme
...
PiperOrigin-RevId: 523239345
2023-04-11 20:47:24 -07:00
rightnao
b706506c3d
[Badge] Add attribute to automatically adjust badge so that it is within the anchor view's grandparent view's bounds
...
PiperOrigin-RevId: 523171594
2023-04-11 20:00:06 -07:00
pekingme
9f1caa2c64
[Tokens] Upgraded to v0.162.
...
PiperOrigin-RevId: 517446114
2023-03-20 21:23:07 +00:00
rightnao
34d6a14700
[TabLayout] Fix issue with indicator not being drawn when viewpager starts scrolling before onLayout is called
...
PiperOrigin-RevId: 512062664
2023-02-27 20:45:19 +00:00
rightnao
e9246ed636
[TabLayout] Fix scrolling issue when using scrollable tab layout with viewpager
...
Resolves https://github.com/material-components/material-components-android/issues/3138
PiperOrigin-RevId: 508444050
2023-02-09 20:53:59 +00:00
pekingme
23dc14ca3a
[Tokens] Updated to v0.157.
...
PiperOrigin-RevId: 505978081
2023-01-31 20:01:13 +00:00
pubiqq
2465192173
[TabLayout] Fix confusing documentation
...
Resolves https://github.com/material-components/material-components-android/pull/3098
GIT_ORIGIN_REV_ID=200a9d2f97bffa86a2b8ee3c3746fc7b5718b7a5
PiperOrigin-RevId: 495029269
2022-12-13 13:37:50 -05:00
dsn5ft
87ce239b01
[Docs] Remove smart characters from doc comments
...
PiperOrigin-RevId: 494733732
2022-12-12 16:40:01 -05:00
leticiars
997feacfd8
Automated g4 rollback of changelist 493122430
...
PiperOrigin-RevId: 493140204
2022-12-06 15:23:48 -05:00
pubiqq
139600418b
[TabLayout] Fix confusing documentation
...
Resolves https://github.com/material-components/material-components-android/pull/3098
GIT_ORIGIN_REV_ID=200a9d2f97bffa86a2b8ee3c3746fc7b5718b7a5
PiperOrigin-RevId: 493122430
2022-12-06 15:23:12 -05:00
rightnao
319467123f
[TabLayout] Fix bug with setScrollPosition not updating indicator due to onLayout call drawing the indicator below the selected tab.
...
Resolves https://github.com/material-components/material-components-android/issues/3101
PiperOrigin-RevId: 492562100
2022-12-02 18:38:40 -05:00
pekingme
2019bf90be
[Tokens] Upgraded to version v0.147.
...
PiperOrigin-RevId: 492551875
2022-12-02 18:34:12 -05:00
pekingme
17e3581642
[Tokens] Upgraded to v0.145
...
PiperOrigin-RevId: 492291163
2022-12-02 15:11:37 +00:00
pekingme
b9963a5212
[Tokens][Android] Omitted more comments when configuration specifies no comments.
...
PiperOrigin-RevId: 492290497
2022-12-02 15:04:22 +00:00
pekingme
8ee6c00f73
[Tokens] Upgraded to v0.142
...
Added lStar CSLs for new neutral palettes in v31 and above.
PiperOrigin-RevId: 491693724
2022-11-30 17:31:11 -05:00
rightnao
84b7bc3320
[TabLayout] Fixing bug with animation flicker when using tabs with ViewPager2
...
PiperOrigin-RevId: 491460655
2022-11-29 15:21:12 -05:00
pekingme
12ef329276
[Tokens] Upgraded to v0.141
...
PiperOrigin-RevId: 490324728
2022-11-23 15:13:20 -05:00
pekingme
b2b546b205
[Tokens] Internal updates.
...
PiperOrigin-RevId: 490295053
2022-11-23 15:11:19 -05:00
rightnao
4a0e1a0cdb
[TabLayout] Fix bug with selected tab text appearance when swiping in viewpager.
...
PiperOrigin-RevId: 489559352
2022-11-18 22:36:16 +00:00
pubiqq
cb1905dbff
[TabLayout] Fix default tabTextAppearance
...
Resolves https://github.com/material-components/material-components-android/pull/3085
GIT_ORIGIN_REV_ID=5c801bb6b6e9df227094106dedc5defa24b99077
PiperOrigin-RevId: 489517504
2022-11-18 16:57:53 -05:00
rightnao
857f481edd
[TabLayout] Fixing bug with animation cancelling if tab is double-tapped
...
resolves https://github.com/material-components/material-components-android/issues/3069
PiperOrigin-RevId: 487376299
2022-11-10 18:22:41 +00:00
rightnao
f9a37c5077
[TabLayout] Fix tab indicator animation
...
resolves https://github.com/material-components/material-components-android/issues/3047
PiperOrigin-RevId: 486241080
2022-11-07 16:00:53 +00:00
pekingme
d0460f3a70
[Tabs] Integrated tokens into M3 styles.
...
PiperOrigin-RevId: 481709158
2022-10-17 20:01:47 +00:00
pekingme
34a1dde7b6
[Tabs] Fixed potential NPE when updating tab view.
...
PiperOrigin-RevId: 479643436
2022-10-11 14:03:44 +00:00
rightnao
00220d0ad6
[TabLayout] Add selectedTabTextAppearance attribute
...
Resolves https://github.com/material-components/material-components-android/issues/2159
PiperOrigin-RevId: 477238120
2022-09-27 23:56:23 +00:00
rightnao
3c0c9e75f5
[TabLayout] Setting a custom view on the tab should replace the current custom view
...
PiperOrigin-RevId: 473057129
2022-09-12 12:25:10 -04:00
pubiqq
d68c0f8dc5
[TabLayout] Do not impose margins in custom tab views
...
Resolves https://github.com/material-components/material-components-android/pull/2910
GIT_ORIGIN_REV_ID=d9ba645464601814cccff5c30118807e8f3f4ef6
PiperOrigin-RevId: 471814138
2022-09-02 13:01:35 -07:00
rightnao
d1c5a52cf4
[TabLayout] Update motion attributes for tab layout
...
PiperOrigin-RevId: 468736364
2022-08-22 15:23:26 -04:00
Material Design Team
44cc9b745c
Add @CanIgnoreReturnValue to some APIs that return this.
...
PiperOrigin-RevId: 468721442
2022-08-22 15:22:27 -04:00
pubiqq
cebf5919ad
[TabLayout] Fix icon position in icon-only tabs
...
Resolves https://github.com/material-components/material-components-android/issues/2767
Resolves https://github.com/material-components/material-components-android/pull/2768
GIT_ORIGIN_REV_ID=8dd880e76b80172e57573a600f3d65de846a55c0
PiperOrigin-RevId: 465559826
2022-08-05 20:26:07 +00:00
conradchen
a65a262933
Automated g4 rollback of changelist 457501629
...
PiperOrigin-RevId: 463094334
2022-07-25 16:17:20 +00:00
conradchen
d1895cdd35
[Tab] Mutate selected indicator drawable when it's being set
...
Wrapping and mutating a given drawable which is supposed to be tinted is a standard practice across the Material library. This CL applies the same logic to Tab's selected indicator drawables and also refactoring the relevant logic a bit to make it cleaner.
Resolves https://github.com/material-components/material-components-android/issues/2794
PiperOrigin-RevId: 460765659
2022-07-13 19:53:29 +00:00