Skip to content

Commit

Permalink
[M3][SearchBar] Added new SearchBar and SearchView components
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 490002827
  • Loading branch information
raajkumars authored and drchen committed Nov 21, 2022
1 parent 2351fd9 commit d1bacf5
Show file tree
Hide file tree
Showing 22 changed files with 3,453 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def srcDirs = [
'com/google/android/material/radiobutton',
'com/google/android/material/resources',
'com/google/android/material/ripple',
'com/google/android/material/search',
'com/google/android/material/shape',
'com/google/android/material/shadow',
'com/google/android/material/sidesheet',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@
<item name="navigationRailStyle">@style/Widget.Material3.NavigationRailView</item>
<item name="navigationViewStyle">@style/Widget.Material3.NavigationView</item>
<item name="radioButtonStyle">@style/Widget.Material3.CompoundButton.RadioButton</item>
<item name="searchBarStyle">@style/Widget.Material3.SearchBar</item>
<item name="searchViewStyle">@style/Widget.Material3.SearchView</item>
<item name="sliderStyle">@style/Widget.Material3.Slider</item>
<item name="snackbarStyle">@style/Widget.Material3.Snackbar</item>
<item name="snackbarButtonStyle">@style/Widget.Material3.Button.TextButton.Snackbar</item>
Expand Down Expand Up @@ -363,6 +365,8 @@
<item name="navigationRailStyle">@style/Widget.Material3.NavigationRailView</item>
<item name="navigationViewStyle">@style/Widget.Material3.NavigationView</item>
<item name="radioButtonStyle">@style/Widget.Material3.CompoundButton.RadioButton</item>
<item name="searchBarStyle">@style/Widget.Material3.SearchBar</item>
<item name="searchViewStyle">@style/Widget.Material3.SearchView</item>
<item name="sliderStyle">@style/Widget.Material3.Slider</item>
<item name="snackbarStyle">@style/Widget.Material3.Snackbar</item>
<item name="snackbarButtonStyle">@style/Widget.Material3.Button.TextButton.Snackbar</item>
Expand Down Expand Up @@ -527,6 +531,8 @@
<item name="navigationViewStyle">@style/Widget.MaterialComponents.NavigationView</item>
<item name="popupMenuStyle">@style/Widget.MaterialComponents.PopupMenu</item>
<item name="radioButtonStyle">@style/Widget.MaterialComponents.CompoundButton.RadioButton</item>
<item name="searchBarStyle">@style/Widget.Material3.SearchBar</item>
<item name="searchViewStyle">@style/Widget.Material3.SearchView</item>
<item name="snackbarStyle">@style/Widget.MaterialComponents.Snackbar</item>
<item name="snackbarButtonStyle">@style/Widget.MaterialComponents.Button.TextButton.Snackbar</item>
<item name="snackbarTextViewStyle">@style/Widget.MaterialComponents.Snackbar.TextView</item>
Expand Down
Loading

0 comments on commit d1bacf5

Please sign in to comment.