Api level 20 Android editiertext auf api level 19 zeigt unerwünschte schatten aber api über 20 sieht gut aus. Wie behebe ich das?android editiertext auf api level 19 zeigen unerwünschte schatten aber api über 20 sieht gut aus
Diese meine XML-Datei wird in diesem sehr schlecht, Vielen Dank im Voraus .Stucked.
<TextView
android:id="@+id/tvHeadLogin"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:gravity="center"
android:text="Login"
android:textAppearance="?android:attr/textAppearanceLarge" />
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:src="@drawable/userid" />
<android.support.design.widget.TextInputLayout
android:id="@+id/input_layout_email"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:hint="@string/hint_name"
android:textColorHint="@color/colorSecondaryText">
<EditText
android:id="@+id/input_uname"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</android.support.design.widget.TextInputLayout>
</LinearLayout>
<!-- password input -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:src="@drawable/password" />
<android.support.design.widget.TextInputLayout
android:id="@+id/input_layout_passkey"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="2dp"
android:layout_weight="1"
android:hint="@string/hint_pass"
android:textColorHint="@color/colorSecondaryText">
<EditText
android:id="@+id/input_pasword"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPassword" />
</android.support.design.widget.TextInputLayout>
</LinearLayout>
<TextView
android:id="@+id/tvForget"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="end"
android:clickable="true"
android:text="Forget Password ?"
android:textColor="#5f44e3" />
<Button
android:id="@+id/btnLogin"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:padding="10dp"
android:text="Login"
android:textStyle="bold" />
</LinearLayout>
</ScrollView>
Android EditText auf api Ebene 19 zeigt unerwünschte Schatten aber api über 20 sieht gut aus. Wie behebe ich das?
zeigen Sie Ihren XML-Code –
bearbeiten Sie Ihre Frage und kopieren Sie einfügen. –
ein Update Ihres Problems? –