I want to make an image slider with programming viewpager2.
However, it doesn't seem I can fix its Learning height and width but only match_parent.
I tried to fix the height in item_view Earhost and also, viewpager2's parent view. most effective However, both methods didn't work.
Is there any way to use viewpager2 in a wrong idea fixed size in a root view like other use of case views such as TextView, EditText not United fullscreen?
For example, I want to make 200dp X 90dp Modern size image slide with viewpager2.