Closed Yasserkhayyal closed 8 years ago
I know this is a closed issue but I would really like to know the solution to this. Facing the same problem.
Add this snippet after dialog.show() :
View view = dialog.getDialog().findViewById(yuku.ambilwarna.R.id.ambilwarna_viewSatBri);
ViewGroup.LayoutParams params = view.getLayoutParams();
//reduces the size of the color picker view to show the hue picker bar
params.width -= (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 48,
getResources().getDisplayMetrics());
;
view.setLayoutParams(params);
Thanks!
Glad it could help. Happy Coding :)
I have a problem with the dialog window size in the portrait mode when running my app against S5 phone. here is a snapshot: How to solve this issue?