Update search bar visual
- Rounded cornal radius is now 1/2 of total height. This makes the search bar look like a pill. Bug: 68814716 Test: visual Change-Id: Ie572d11c0df8c42b4903bfe238e80eeb54e60fd0
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_margin="@dimen/search_bar_margin"
|
android:layout_margin="@dimen/search_bar_margin"
|
||||||
app:cardCornerRadius="2dp"
|
app:cardCornerRadius="@dimen/search_bar_half_height"
|
||||||
app:cardBackgroundColor="?android:attr/colorBackground"
|
app:cardBackgroundColor="?android:attr/colorBackground"
|
||||||
app:cardElevation="2dp">
|
app:cardElevation="2dp">
|
||||||
<Toolbar
|
<Toolbar
|
||||||
|
|||||||
@@ -60,6 +60,7 @@
|
|||||||
<dimen name="switchbar_subsettings_margin_end">24dp</dimen>
|
<dimen name="switchbar_subsettings_margin_end">24dp</dimen>
|
||||||
|
|
||||||
<dimen name="search_bar_height">64dp</dimen>
|
<dimen name="search_bar_height">64dp</dimen>
|
||||||
|
<dimen name="search_bar_half_height">32dp</dimen>
|
||||||
|
|
||||||
<!-- Dimensions for Wifi Assistant Card -->
|
<!-- Dimensions for Wifi Assistant Card -->
|
||||||
<dimen name="wifi_assistant_padding_top_bottom">24dp</dimen>
|
<dimen name="wifi_assistant_padding_top_bottom">24dp</dimen>
|
||||||
|
|||||||
@@ -121,6 +121,7 @@
|
|||||||
<dimen name="search_bar_negative_margin">-8dp</dimen>
|
<dimen name="search_bar_negative_margin">-8dp</dimen>
|
||||||
|
|
||||||
<dimen name="search_bar_height">48dp</dimen>
|
<dimen name="search_bar_height">48dp</dimen>
|
||||||
|
<dimen name="search_bar_half_height">24dp</dimen>
|
||||||
<dimen name="search_bar_text_size">16dp</dimen>
|
<dimen name="search_bar_text_size">16dp</dimen>
|
||||||
|
|
||||||
<!-- Dimensions for Wifi Assistant Card -->
|
<!-- Dimensions for Wifi Assistant Card -->
|
||||||
|
|||||||
Reference in New Issue
Block a user