| | |
| | | private Context mContext; |
| | | |
| | | public ListStaticDialog(@NonNull Context context) { |
| | | super(context, R.style.Custom_Dialog); |
| | | super(context, R.style.DefaultFilteringDialog); |
| | | mContext = context; |
| | | } |
| | | |
| | |
| | | if (window != null) { |
| | | window.setLayout(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT); |
| | | WindowManager.LayoutParams layoutParams = window.getAttributes(); |
| | | layoutParams.gravity = Gravity.BOTTOM; |
| | | layoutParams.gravity = Gravity.BOTTOM|Gravity.START|Gravity.END; |
| | | window.setAttributes(layoutParams); |
| | | } |
| | | viewBinding = DialogStaticListBinding.inflate(getLayoutInflater()); |