laenger / ViewPagerBottomSheet

Use ViewPagers in Bottom Sheets!
Apache License 2.0
465 stars 86 forks source link

Set Height #29

Open mihirraj opened 6 years ago

mihirraj commented 6 years ago

How can I set height? I do not want this to take up whole page size.

sharukhmohammed commented 6 years ago

I tried setting the maximum height with this solution by casting it ViewPagerBottomSheetDialog by going into the res. Still doesn't work.

https://stackoverflow.com/questions/35937453/set-state-of-bottomsheetdialogfragment-to-expanded