Ran in einen seltsamen Fehler, wo TextView
's (Login_Message) Text EditText
' s (Benutzername) Text ist, der darunter ist.TextView fullen EditText darunter
Meine Layoutdatei anhängen.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:orientation="vertical"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:showIn="@layout/activity_login">
<TextView
android:id="@+id/login_error"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="invisible"/>
<TextView
android:id="@+id/login_message"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textStyle="bold"/>
<EditText
android:id="@+id/username"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Enter your username here"/>
<EditText
android:id="@+id/password"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPassword"
android:hint="Enter your password here"/>
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="login"
android:text="Login"/>
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Not a member? Register"
android:onClick="goToRegistration"/>
</LinearLayout>
Wie kann ich debuggen/beheben.
Versuchen Gewichte zu jeder Ansicht Inorder Zugabe von Überschneidungen zu überwinden. – Arshak
Können Sie einen Screenshot teilen? – Shaishav
füge screenshot pls –