From e05fae643c8472ad44b7f1732cd3e2479697432e Mon Sep 17 00:00:00 2001 From: Arc Wang Date: Fri, 18 Jan 2019 07:01:48 +0800 Subject: [PATCH] Add a picture for Wi-Fi DPP add device fragment. Bug: 122429170 Test: manual Change-Id: I8a2e9feab238aa2636be25959988145ac8633c24 --- res/drawable/wifi_dpp_error.xml | 59 +++++++++++++++++++ res/drawable/wifi_dpp_success.xml | 54 +++++++++++++++++ res/layout/wifi_dpp_add_device_fragment.xml | 2 + .../wifi/dpp/WifiDppAddDeviceFragment.java | 2 + 4 files changed, 117 insertions(+) create mode 100644 res/drawable/wifi_dpp_error.xml create mode 100644 res/drawable/wifi_dpp_success.xml diff --git a/res/drawable/wifi_dpp_error.xml b/res/drawable/wifi_dpp_error.xml new file mode 100644 index 00000000000..ad04a2bcffb --- /dev/null +++ b/res/drawable/wifi_dpp_error.xml @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + diff --git a/res/drawable/wifi_dpp_success.xml b/res/drawable/wifi_dpp_success.xml new file mode 100644 index 00000000000..5ef3d1f68a7 --- /dev/null +++ b/res/drawable/wifi_dpp_success.xml @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + diff --git a/res/layout/wifi_dpp_add_device_fragment.xml b/res/layout/wifi_dpp_add_device_fragment.xml index 97f57644ef7..479e626ab11 100644 --- a/res/layout/wifi_dpp_add_device_fragment.xml +++ b/res/layout/wifi_dpp_add_device_fragment.xml @@ -38,6 +38,8 @@ android:id="@+id/wifi_ap_picture_view" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:src="@drawable/wifi_dpp_success" + android:scaleType="fitCenter" app:layout_constraintTop_toBottomOf="@+id/header"/>