im using this advice: How to make an alert dialog fill 90% of screen size?
but i dont want it to set the height, just the width. i tried removing the fill parent to height, but it made it full parent anyway.
so how do i set the width only?
im using this advice: How to make an alert dialog fill 90% of screen size?
but i dont want it to set the height, just the width. i tried removing the fill parent to height, but it made it full parent anyway.
so how do i set the width only?
getWindow().setLayout(LayoutParams.WRAP_CONTENT,'yourHeightHere');