Ich habe 2 Probleme mit dem Code unten und Google konnte mir nicht helfen:/
1. Die android.support.design.widget.TextInputLayout
nur auf einander erscheinen, sie nicht teilen die Linie, wie sie sollen. Wenn ich den Entwurf lösche und nur die Edittexte lasse, funktioniert es gut.
2.Die Breite von android.support.design.widget.TextInputLayout
ist auf 'match_parent' eingestellt, zeigt aber nur eine kleine Linie. Ändert sich nur, wenn ich einen numerischen dp-Wert festlege.
android.support.design.widget.TextInputLayout - double trouble
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_below="@id/rgGender">
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<EditText
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/etDay"
android:hint="Day"
android:inputType="number"
/>
</android.support.design.widget.TextInputLayout>
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<EditText
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/etMonth"
android:hint="Month"
/>
</android.support.design.widget.TextInputLayout>
</LinearLayout>
@Shay hey ... Ich hoffe, meine Antwort ist Ihr Problem zu lösen und wenn ja, markieren Sie es getan. – Dipika