Note that there are some explanatory texts on larger screens.

plurals
  1. POhow to remove border of edittext field
    primarykey
    data
    text
    <p>I have created a login layout but in this layout edittext field border is overlap. I want to remove the <code>top border</code> of second edit text field. please guide me. here is the link <a href="http://plus.google.com/photos/115585035204792909450/albums/5599113500585388033/5962172769461530962?banner=pwa&amp;authkey=CP3uq8zM2JH9LA&amp;pid=5962172769461530962&amp;oid=115585035204792909450/" rel="nofollow">screen</a></p> <p>I want to make layout exactly like this. Here is my <code>XML code</code>.</p> <p><strong>round_edittext.xml:</strong></p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;shape xmlns:android="http://schemas.android.com/apk/res/android" &gt; &lt;solid android:color="#FFFFFF" /&gt; &lt;stroke android:width="1dp" android:color="#9999" /&gt; &lt;corners android:bottomLeftRadius="1dp" android:bottomRightRadius="1dp" android:topLeftRadius="1dp" android:topRightRadius="1dp" /&gt; &lt;/shape&gt; </code></pre> <p><strong>activity_mail.xml:</strong></p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center" android:orientation="vertical" &gt; &lt;ImageButton android:id="@+id/save" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="#00000000" android:clickable="false" android:src="@drawable/no_smslogo_text" /&gt; &lt;EditText android:id="@+id/editText1" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="40sp" android:layout_marginRight="40sp" android:layout_marginTop="10sp" android:background="@drawable/round_edittext" android:drawableLeft="@drawable/mobile_icon" android:drawablePadding="5dp" android:gravity="left" android:hint="Mobile Number" android:padding="5dp" android:paddingBottom="8sp" android:paddingTop="8sp" android:textSize="15dp" &gt; &lt;/EditText&gt; &lt;EditText android:id="@+id/editText2" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="40sp" android:layout_marginRight="40sp" android:background="@drawable/round_edittext" android:drawable="@drawable/pin_icon" android:drawableLeft="@drawable/mobile_icon" android:drawablePadding="5dp" android:gravity="left" android:hint="Pin Number" android:padding="5dp" android:paddingBottom="8sp" android:paddingTop="8sp" android:textSize="15dp" /&gt; &lt;Button android:id="@+id/signin" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="40sp" android:layout_marginRight="40sp" android:layout_marginTop="10sp" android:clickable="true" android:gravity="center" android:text="Sign In" android:textColor="#ffffff" android:textSize="15dp" /&gt; &lt;/LinearLayout&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload