I have an application that I need to use only in landscape
mode and it turns out that in one device it occupies the whole screen and in another it only occupies half. I need only half of it to be used since it is uncomfortable to have to leave the keyboard screen to move to the next field
This is the xml code:
<android.support.design.widget.TextInputLayout
android:id="@+id/tilPrimerNombreRegTB"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1">
<android.support.design.widget.TextInputEditText
android:id="@+id/titPrimerNombreRegTB"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Primer Nombre*:"
android:inputType="textCapCharacters|textAutoComplete" />
</android.support.design.widget.TextInputLayout>