I have made an app that has few EditTexts in the layout.
Once the EditText is Focused, the keyboard opens.
My layout is androidx.constraintlayout.widget.ConstraintLayout and I set each widget height to be some percent of the screen (like app:layout_constraintHeight_percent="0.2").
However, when the keyboard opens, it shrinks the widgets since now 0.2 percent of the screen is smaller compared to how it was before.
Is there a way to keep the weight percent to be with regard to the initial size only?
Thank you