Commit 9a25994c authored by SHAILESH KUMAR's avatar SHAILESH KUMAR

textbox design

parent fffefbf3
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item>
<shape>
<solid android:color="#c2c2c2" />
</shape>
</item>
<!-- main color -->
<item
android:bottom="1.5dp"
android:left="1.5dp"
android:right="1.5dp">
<shape>
<solid android:color="#000" />
</shape>
</item>
<!-- draw another block to cut-off the left and right bars -->
<item android:bottom="3dp">
<shape>
<solid android:color="#000" />
</shape>
</item>
</layer-list>
\ No newline at end of file
......@@ -19,35 +19,48 @@
android:orientation="vertical"
android:gravity="center">
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="20dp"
android:layout_width="wrap_content"
android:layout_height="40dp"
android:layout_margin="0dp"
android:id="@+id/name"
android:hint="Name"
android:inputType="textPersonName"/>
android:ems="15"
android:textColor="#fff"
android:inputType="textPersonName"
android:background="@drawable/edit_text_design"/>
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="20dp"
android:layout_width="wrap_content"
android:layout_height="40dp"
android:layout_marginTop="10dp"
android:id="@+id/mobile"
android:ems="15"
android:hint="Mobile"
android:inputType="phone"/>
android:textColor="#fff"
android:inputType="phone"
android:background="@drawable/edit_text_design"/>
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="20dp"
android:layout_width="wrap_content"
android:layout_height="40dp"
android:layout_marginTop="10dp"
android:id="@+id/vehicle"
android:ems="15"
android:textColor="#fff"
android:hint="Vehicle Number"
android:inputType="text"/>
android:inputType="text"
android:background="@drawable/edit_text_design"/>
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="20dp"
android:layout_width="wrap_content"
android:layout_height="40dp"
android:ems="15"
android:layout_marginTop="10dp"
android:layout_marginBottom="20dp"
android:id="@+id/slot"
android:textColor="#fff"
android:hint="Slot"
android:editable="false"
android:onClick="getslot"/>
android:onClick="getslot"
android:background="@drawable/edit_text_design"/>
<Button
android:layout_width="wrap_content"
......
......@@ -28,22 +28,29 @@
<EditText
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_height="40dp"
android:id="@+id/username"
android:layout_margin="20dp"
android:ems="10"
android:layout_marginTop="30dp"
android:layout_marginBottom="10dp"
android:ems="15"
android:hint="Username"
android:textColor="#fff"
android:inputType="textPersonName"
android:background="@drawable/edit_text_design"
/>
<EditText
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_height="40dp"
android:id="@+id/password"
android:layout_margin="20dp"
android:ems="10"
android:layout_marginTop="0dp"
android:layout_marginBottom="20dp"
android:ems="15"
android:textColor="#fff"
android:hint="Password"
android:inputType="textPassword" />
android:inputType="textPassword"
android:background="@drawable/edit_text_design"/>
<Button
android:layout_width="wrap_content"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment