Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You have two solution for this </p> <ol> <li><p>You can set shape on layout background and put two edit text in the layout. </p></li> <li><p>Currently you're using one shape for edit text round. You can use two shapes; different ones that have upper border and other have bellow border.</p></li> </ol> <p> </p> <pre><code>&lt;ImageButton android:id="@+id/save" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="#00000000" android:clickable="false" /&gt; &lt;LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/round_edittext" android:gravity="center" android:orientation="vertical" &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="#00000000" 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="#00000000" android:drawablePadding="5dp" android:gravity="left" android:hint="Pin Number" android:padding="5dp" android:paddingBottom="8sp" android:paddingTop="8sp" android:textSize="15dp" /&gt; &lt;/LinearLayout&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; </code></pre> <p></p>
 

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