diff --git a/res/drawable/ic_check_circle_green.xml b/res/drawable/ic_check_circle_green.xml new file mode 100644 index 00000000000..214d2cffc30 --- /dev/null +++ b/res/drawable/ic_check_circle_green.xml @@ -0,0 +1,28 @@ + + + + + diff --git a/res/drawable/ic_devices_other_opaque_black.xml b/res/drawable/ic_devices_other_opaque_black.xml new file mode 100644 index 00000000000..1b5af2d97dc --- /dev/null +++ b/res/drawable/ic_devices_other_opaque_black.xml @@ -0,0 +1,24 @@ + + + + diff --git a/src/com/android/settings/wifi/dpp/WifiDppAddDeviceFragment.java b/src/com/android/settings/wifi/dpp/WifiDppAddDeviceFragment.java index 9a9a313190b..9864ea92f27 100644 --- a/src/com/android/settings/wifi/dpp/WifiDppAddDeviceFragment.java +++ b/src/com/android/settings/wifi/dpp/WifiDppAddDeviceFragment.java @@ -55,6 +55,7 @@ public class WifiDppAddDeviceFragment extends WifiDppQrCodeBaseFragment { @Override public void onConfiguratorSuccess(int code) { // Update success UI. + mHeaderIcon.setImageResource(R.drawable.ic_check_circle_green); mTitle.setText(R.string.wifi_dpp_wifi_shared_with_device); mSummary.setVisibility(View.INVISIBLE); mWifiApPictureView.setImageResource(R.drawable.wifi_dpp_success); @@ -109,6 +110,8 @@ public class WifiDppAddDeviceFragment extends WifiDppQrCodeBaseFragment { public void onViewCreated(View view, Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState); + mHeaderIcon.setImageResource(R.drawable.ic_devices_other_opaque_black); + final WifiQrCode wifiQrCode = ((WifiDppConfiguratorActivity) getActivity()) .getWifiDppQrCode(); final String information = wifiQrCode.getInformation();