dsn5ft
d13bfdf3cd
[Predictive Back] Update SearchView and NavigationView to unregister back callbacks when detached from window
...
Resolves https://github.com/material-components/material-components-android/issues/4176
PiperOrigin-RevId: 633969673
2024-05-15 16:58:34 +00:00
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
dsn5ft
b56afa75a9
[SearchView] Update back arrow to be auto mirrored for RTL
...
PiperOrigin-RevId: 622863529
2024-04-09 18:46:12 +00:00
dsn5ft
a51561d8b8
[SearchView][Predictive Back] Fix issue where predictive back is not enabled in SearchView after rotating the screen or restarting the activity when the SearchView is already expanded
...
Resolves https://github.com/material-components/material-components-android/issues/3594
Resolves https://github.com/material-components/material-components-android/pull/3604
PiperOrigin-RevId: 568869369
2023-10-02 13:35:25 +00:00
dsn5ft
8d83a31b6b
[Predictive Back][Search] Fix issue where modal accessibility is not reset after collapsing search view predictively, which caused the screen to appear frozen when using TalkBack
...
PiperOrigin-RevId: 566750080
2023-09-20 12:29:04 +00:00
rightnao
e3b255b3a0
[Docs] Crosslink github docs in javadocs
...
PiperOrigin-RevId: 546393704
2023-07-11 19:37:37 +00:00
afohrman
f2e70d2d66
[Android U] Replaced BuildCompat#isAtLeastU() method calls with explicit SDK checks for UPSIDE_DOWN_CAKE.
...
Before 1.12.0-alpha01 which was released on 6/7, BuildCompat#isAtLeastU() only returns true if API level is greater than 33 and the version running is a pre-release. Two things happened on 6/7 -- the version became a "platform stable" version, and core library version 1.12.0-alpha01 was released, which changes BuildCompat#isAtLeastU() to return true if the version is 34 and stable.
PiperOrigin-RevId: 540304068
2023-06-14 12:45:51 -07:00
hunterstich
a67a885668
[Predictive Back] Update components to use BackEventCompat
...
Clients should prefer listening to back events using androidx.activity.OnBackPressedCallback which has been updated to forward BackEventCompat objects in androidx.activity:activity:1.8.0-alpha05. This updates component predictive back APIs to take in BackEventCompat objects instead of android.window.BackEvent objects to simplify usage - getting rid of the need for version checks and object conversions.
PiperOrigin-RevId: 540290323
2023-06-14 12:44:53 -07:00
Material Design Team
884a4541e2
[Search] Support stylus handwriting in SearchBar
...
PiperOrigin-RevId: 524098693
2023-04-17 12:16:03 -07:00
dsn5ft
176ce5e5f0
[Predictive Back][Search] Add ability to opt-out of back handling
...
PiperOrigin-RevId: 522626762
2023-04-10 15:06:53 +00:00
pekingme
cf006c5e10
[Search] Made SearchBar and SearchView's container colors configurable in XML style.
...
PiperOrigin-RevId: 522468493
2023-04-10 15:03:01 +00:00
dsn5ft
5a37e4b35f
[Gradle] Update to AGP 7.4.2 to get latest lint and fix Android U lint issues
...
PiperOrigin-RevId: 520691813
2023-03-30 18:15:24 +00:00
dsn5ft
a4b6f46f0c
[Predictive Back][Search] Update SearchView to support predictive back when set up with SearchBar
...
PiperOrigin-RevId: 520613990
2023-03-30 16:35:21 +00:00
raajkumars
cdda1fc66e
[Search] Added support to pass toolbar style.
...
PiperOrigin-RevId: 519876161
2023-03-28 16:18:25 +00:00
raajkumars
e2c8cbadb8
[M3][SearchBar] Fixed issue that caused the wrong component to be focused on automatically when talkback is active.
...
PiperOrigin-RevId: 493910945
2022-12-08 19:47:30 +00:00
dsn5ft
a241ee90ab
[SearchView] Refactored status bar spacer edge-to-edge detection to work based on insets
...
This fixes the detection when using WindowCompat.setDecorFitsSystemWindows, and we shouldn't need to be checking specific edge-to-edge flags anymore
PiperOrigin-RevId: 492309763
2022-12-02 15:59:39 +00:00
raajkumars
d0b616c56d
[M3][SearchBar][SearchView] Updated search bar/view UI to match spec and cleaned up the API.
...
PiperOrigin-RevId: 492278545
2022-12-01 16:31:36 -05:00
raajkumars
978ffdf0aa
[M3][SearchBar][SearchView] Renamed search style attributes to add "material" prefix.
...
PiperOrigin-RevId: 490260853
2022-11-22 12:36:54 -05:00
raajkumars
d1bacf55db
[M3][SearchBar] Added new SearchBar and SearchView components
...
PiperOrigin-RevId: 490002827
2022-11-21 13:02:32 -05:00