commit | a570d2bd524e66966e3216405a4fe64f7099bf91 | [log] [tgz] |
---|---|---|
author | Marko Man <darkobas@gmail.com> | Wed Jan 23 23:24:23 2019 +0100 |
committer | rohan <purohit.rohan@gmail.com> | Thu Jun 11 10:34:34 2020 -0400 |
tree | dbc5721d485ce7f41421ebf5d6ebae59424a8c26 | |
parent | f7edcbb4c75646b96641a69bfa7c0b4ce9208d0e [diff] |
Dialer: use system round corner values for searchbox Change-Id: Icca3481d0ca5531b918f3514e6d034befd7f7e02 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
diff --git a/java/com/android/dialer/app/res/drawable/rounded_corner.xml b/java/com/android/dialer/app/res/drawable/rounded_corner.xml index b4c1006..1567d04 100644 --- a/java/com/android/dialer/app/res/drawable/rounded_corner.xml +++ b/java/com/android/dialer/app/res/drawable/rounded_corner.xml
@@ -18,5 +18,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="@dimen/search_bar_corner_radius"/> </shape>
diff --git a/java/com/android/dialer/app/res/layout/search_edittext.xml b/java/com/android/dialer/app/res/layout/search_edittext.xml index aba5ba8..d444fe5 100644 --- a/java/com/android/dialer/app/res/layout/search_edittext.xml +++ b/java/com/android/dialer/app/res/layout/search_edittext.xml
@@ -14,6 +14,7 @@ limitations under the License. --> <view xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/search_view_container" class="com.android.dialer.app.widget.SearchEditTextLayout" android:layout_width="match_parent" @@ -28,6 +29,7 @@ android:orientation="horizontal"> <RelativeLayout + app:cardCornerRadius="@dimen/search_bar_corner_radius" android:id="@+id/search_box_collapsed" android:layout_width="match_parent" android:layout_height="match_parent"
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 88f5a04..353de9a 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="@dimen/search_bar_corner_radius"/> </shape>