Skip to content

Commit 4070bef

Browse files
imhappileticiarossi
authored andcommitted
[SearchBar] Updating centered search bar text to have 8dp content start and end padding
PiperOrigin-RevId: 753361934
1 parent 5a600a8 commit 4070bef

File tree

1 file changed

+2
-2
lines changed
  • lib/java/com/google/android/material/search/res/values

1 file changed

+2
-2
lines changed

lib/java/com/google/android/material/search/res/values/styles.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
</style>
2929

3030
<style name="Widget.Material3Expressive.SearchBar.CenteredText">
31-
<item name="contentInsetStart">0dp</item>
32-
<item name="android:paddingStart">4dp</item>
31+
<item name="contentInsetStart">8dp</item>
32+
<item name="contentInsetEnd">8dp</item>
3333
<item name="hideNavigationIcon">true</item>
3434
<item name="textCentered">true</item>
3535
</style>

0 commit comments

Comments
 (0)