Asyoucansee,I'mhavingalayoutproblemwiththisformonAndroid,thisformisopenedinsideafragmentnormallywhereI'mgoingtosendthedata.
1-Tomysurprise,EditText
doesnotexpandtotheentirescreen.IalreadytriedusingLayoutParamssettingmatchparentbutnothinghappened...
2-ButtonsarehidingbehindBottonNavigationView
,alreadytriedtoputascrollview
therebutitdoesnotgetoutofthere...
ThiscomponentBottonNavigation
hastobefixedonthescreenbecauseIdonotwantittohidewiththeBehaviorfunction...asithappenshere BottonNavigation
Would anyone have any tips for trying to fit this form correctly or some help from the beyond?
This layout is here:
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:id="@+id/layouparams"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.vicmikhailau.maskededittext.MaskedEditText
android:id="@+id/reg_txt_nome"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Nome Ex.: Pedro Silva"
android:inputType="text"
/>
<com.vicmikhailau.maskededittext.MaskedEditText
android:id="@+id/reg_txt_email"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Email Ex.: [email protected]"
android:inputType="textEmailAddress"
/>
<com.vicmikhailau.maskededittext.MaskedEditText
android:id="@+id/reg_txt_datanasc"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Data Nasc Ex.: 01/01/1980"
android:inputType="number"
android:maxLength="10"
app:mask="##/##/####" />
<com.vicmikhailau.maskededittext.MaskedEditText
android:id="@+id/reg_txt_contato"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Contato Ex.: (16)9999-00-99"
android:inputType="number"
android:maxLength="14"
app:mask="(##)####-##-##" />
<com.vicmikhailau.maskededittext.MaskedEditText
android:id="@+id/reg_txt_rg"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Rg Ex.: 000000000111"
android:inputType="text"
/>
<com.vicmikhailau.maskededittext.MaskedEditText
android:id="@+id/reg_txt_cpf"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="CPF Ex.: 000-000-000.00"
android:inputType="number"
android:maxLength="15"
app:mask="###-###-####.##" />
<com.vicmikhailau.maskededittext.MaskedEditText
android:id="@+id/reg_txt_end"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Endereço Ex.: rua joao paulo 1000"
android:inputType="text"
/>
<com.vicmikhailau.maskededittext.MaskedEditText
android:id="@+id/reg_txt_cep"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="CEP Ex.: 14600-000"
android:inputType="number"
android:maxLength="9"
app:mask="#####-###" />
<com.vicmikhailau.maskededittext.MaskedEditText
android:id="@+id/reg_txt_bairro"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Bairro Ex.: centro"
android:inputType="text"
android:maxLength="9"
/>
<com.vicmikhailau.maskededittext.MaskedEditText
android:id="@+id/reg_txt_cidade"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Cidade Ex.: Parnaíba-PI"
android:inputType="text"
/>
<com.vicmikhailau.maskededittext.MaskedEditText
android:id="@+id/reg_txt_duvidas"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Dúvidas sobre o curso"
android:inputType="textMultiLine"
/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<Button
android:id="@+id/btn_cancel"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Cancelar" />
<Button
android:id="@+id/btn_save"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Enviar Inscrição" />
</LinearLayout>
</LinearLayout>
</ScrollView>