Replace png file with vector drawable

Fixes: 139336138
Test: visual
Change-Id: I6fa504d406e4b9b37b8260ec9fb92f265e4a45da
This commit is contained in:
Raff Tsai
2019-09-16 11:41:37 +08:00
parent 68b772bb8d
commit e80f67b94b
13 changed files with 109 additions and 76 deletions

View File

@@ -74,11 +74,10 @@ public class PaymentSettings extends DashboardFragment {
@Override
public void onViewCreated(View view, Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
ViewGroup contentRoot = (ViewGroup) getListView().getParent();
View emptyView = getActivity().getLayoutInflater().inflate(
R.layout.nfc_payment_empty, contentRoot, false);
contentRoot.addView(emptyView);
setEmptyView(emptyView);
R.layout.nfc_payment_empty, null, false);
((ViewGroup) view.findViewById(android.R.id.list_container)).addView(emptyView);
}
@Override