summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorwangqi <wangqi@google.com>2018-06-27 12:52:20 -0700
committerCopybara-Service <copybara-piper@google.com>2018-06-27 15:40:18 -0700
commitfebe3b19e7b211c233a576d20080cb2c1f2fcaee (patch)
tree1da5724422c07c6c09996c22ff2968ec42748290 /java
parent92fb80560200364df45129d365bf683ff3565fb8 (diff)
UI refresh for search bar.
Bug: 79879991 Test: manual PiperOrigin-RevId: 202354447 Change-Id: Id6121d8807c4da4864f10ea27a4f2ee92a7699a1
Diffstat (limited to 'java')
-rw-r--r--java/com/android/dialer/main/impl/toolbar/res/drawable/search_bar_background_rounded_corners.xml2
-rw-r--r--java/com/android/dialer/main/impl/toolbar/res/layout/toolbar_layout.xml6
2 files changed, 4 insertions, 4 deletions
diff --git a/java/com/android/dialer/main/impl/toolbar/res/drawable/search_bar_background_rounded_corners.xml b/java/com/android/dialer/main/impl/toolbar/res/drawable/search_bar_background_rounded_corners.xml
index 88f5a04ca..491d5d716 100644
--- a/java/com/android/dialer/main/impl/toolbar/res/drawable/search_bar_background_rounded_corners.xml
+++ b/java/com/android/dialer/main/impl/toolbar/res/drawable/search_bar_background_rounded_corners.xml
@@ -17,5 +17,5 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="?android:attr/colorBackgroundFloating"/>
- <corners android:radius="2dp"/>
+ <corners android:radius="8dp"/>
</shape>
diff --git a/java/com/android/dialer/main/impl/toolbar/res/layout/toolbar_layout.xml b/java/com/android/dialer/main/impl/toolbar/res/layout/toolbar_layout.xml
index 049cf2ef5..187ece9bb 100644
--- a/java/com/android/dialer/main/impl/toolbar/res/layout/toolbar_layout.xml
+++ b/java/com/android/dialer/main/impl/toolbar/res/layout/toolbar_layout.xml
@@ -18,7 +18,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="@dimen/expanded_search_bar_height"
- android:background="?android:attr/colorPrimary"
+ android:background="?android:attr/colorBackground"
app:contentInsetEnd="0dp"
app:contentInsetStart="0dp">
<FrameLayout
@@ -61,8 +61,8 @@
android:layout_toEndOf="@+id/search_magnifying_glass"
android:layout_toStartOf="@+id/voice_search_button"
android:text="@string/dialer_hint_find_contact"
- android:textSize="16dp"
- style="@style/Dialer.TextAppearance.Secondary"/>
+ android:textColor="?android:attr/textColorHint"
+ style="@style/Dialer.TextAppearance.Primary"/>
<ImageView
android:id="@+id/voice_search_button"