|
@ -40,7 +40,7 @@ public class PayoutModeBranchListingDialog extends DialogFragment implements Vie |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public Dialog onCreateDialog(Bundle savedInstanceState) { |
|
|
public Dialog onCreateDialog(Bundle savedInstanceState) { |
|
|
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity(),R.style.FullScreenDialog); |
|
|
|
|
|
|
|
|
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); |
|
|
View view = getActivity().getLayoutInflater().inflate(R.layout.dialog_country_listing, null); |
|
|
View view = getActivity().getLayoutInflater().inflate(R.layout.dialog_country_listing, null); |
|
|
countryListRv = view.findViewById(R.id.countryListRv); |
|
|
countryListRv = view.findViewById(R.id.countryListRv); |
|
|
noCountryFoundView = view.findViewById(R.id.noCountryFoundTextView); |
|
|
noCountryFoundView = view.findViewById(R.id.noCountryFoundTextView); |
|
@ -77,8 +77,8 @@ public class PayoutModeBranchListingDialog extends DialogFragment implements Vie |
|
|
|
|
|
|
|
|
Window window = getDialog().getWindow(); |
|
|
Window window = getDialog().getWindow(); |
|
|
if (window != null) { |
|
|
if (window != null) { |
|
|
window.setLayout(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.MATCH_PARENT); |
|
|
|
|
|
window.setBackgroundDrawableResource(R.drawable.ic_rounded_country_listing_gray); |
|
|
|
|
|
|
|
|
window.setLayout(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT); |
|
|
|
|
|
window.setBackgroundDrawableResource(R.drawable.ic_rounded_grey_bg_with_inset); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|