Updated image asset in location permission request.
screenshots
http://screen/d2qPOq3h1o1
http://screen/wHcnO5LXRO2
Bug: 65858857
Test: n/a
PiperOrigin-RevId: 169748652
Change-Id: Ie255f0d9be958f004c8bc9639d478553f66109d3
diff --git a/java/com/android/dialer/searchfragment/nearbyplaces/res/drawable-hdpi/business_asset.png b/java/com/android/dialer/searchfragment/nearbyplaces/res/drawable-hdpi/business_asset.png
new file mode 100644
index 0000000..56f6664
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/nearbyplaces/res/drawable-hdpi/business_asset.png
Binary files differ
diff --git a/java/com/android/dialer/searchfragment/nearbyplaces/res/drawable-mdpi/business_asset.png b/java/com/android/dialer/searchfragment/nearbyplaces/res/drawable-mdpi/business_asset.png
new file mode 100644
index 0000000..1fc9a63
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/nearbyplaces/res/drawable-mdpi/business_asset.png
Binary files differ
diff --git a/java/com/android/dialer/searchfragment/nearbyplaces/res/drawable-xhdpi/business_asset.png b/java/com/android/dialer/searchfragment/nearbyplaces/res/drawable-xhdpi/business_asset.png
new file mode 100644
index 0000000..b217c36
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/nearbyplaces/res/drawable-xhdpi/business_asset.png
Binary files differ
diff --git a/java/com/android/dialer/searchfragment/nearbyplaces/res/drawable-xxhdpi/business_asset.png b/java/com/android/dialer/searchfragment/nearbyplaces/res/drawable-xxhdpi/business_asset.png
new file mode 100644
index 0000000..17c0b61
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/nearbyplaces/res/drawable-xxhdpi/business_asset.png
Binary files differ
diff --git a/java/com/android/dialer/searchfragment/nearbyplaces/res/drawable-xxxhdpi/business_asset.png b/java/com/android/dialer/searchfragment/nearbyplaces/res/drawable-xxxhdpi/business_asset.png
new file mode 100644
index 0000000..99d6fbd
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/nearbyplaces/res/drawable-xxxhdpi/business_asset.png
Binary files differ
diff --git a/java/com/android/dialer/searchfragment/nearbyplaces/res/layout/location_permission_row.xml b/java/com/android/dialer/searchfragment/nearbyplaces/res/layout/location_permission_row.xml
index 4204a4f..66a3e0c 100644
--- a/java/com/android/dialer/searchfragment/nearbyplaces/res/layout/location_permission_row.xml
+++ b/java/com/android/dialer/searchfragment/nearbyplaces/res/layout/location_permission_row.xml
@@ -19,16 +19,14 @@
android:layout_height="wrap_content"
android:paddingStart="16dp"
android:paddingEnd="16dp"
- android:paddingTop="16dp"
- android:paddingBottom="8dp">
+ android:paddingTop="16dp">
<ImageView
android:id="@+id/permission_image"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginEnd="16dp"
- android:src="@drawable/quantum_ic_my_location_vd_theme_24"
- android:tint="@color/dialer_secondary_text_color"/>
+ android:src="@drawable/business_asset"/>
<TextView
android:id="@+id/permission_text"
@@ -44,21 +42,25 @@
<Button
android:id="@+id/location_permission_allow"
android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ android:layout_height="52dp"
android:layout_alignParentEnd="true"
android:layout_below="@id/permission_text"
- android:layout_marginTop="24dp"
+ android:layout_marginTop="16dp"
+ android:paddingTop="8dp"
+ android:paddingBottom="8dp"
android:text="@string/nearby_places_allow"/>
<Button
android:id="@+id/location_permission_dismiss"
android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ android:layout_height="52dp"
android:layout_toStartOf="@+id/location_permission_allow"
android:layout_below="@id/permission_text"
- android:layout_marginEnd="16dp"
- android:layout_marginTop="24dp"
+ android:layout_marginEnd="8dp"
+ android:layout_marginTop="16dp"
+ android:paddingTop="8dp"
+ android:paddingBottom="8dp"
android:text="@string/nearby_places_dismiss"
android:textColor="@color/dialer_theme_color"
style="@style/Widget.AppCompat.Button.Borderless"/>
-</RelativeLayout>
\ No newline at end of file
+</RelativeLayout>