Advertisement
mhmd320666

Untitled

Jul 9th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.39 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    android:layout_width="match_parent"
  6.    android:layout_height="match_parent"
  7.    android:background="@drawable/back"
  8.    android:gravity="center"
  9.    android:orientation="vertical"
  10.    tools:context=".MainActivity">
  11.  
  12.     <EditText
  13.        android:id="@+id/Username"
  14.        android:layout_width="300dp"
  15.        android:layout_height="wrap_content"
  16.        android:ems="10"
  17.        android:inputType="textPersonName"
  18.        android:hint="@string/username"
  19.        android:paddingLeft="20dp"
  20.        android:background="@drawable/bt"
  21.        tools:layout_editor_absoluteX="99dp"
  22.        tools:layout_editor_absoluteY="69dp" />
  23.  
  24. <TextView
  25.    android:layout_width="wrap_content"
  26.    android:layout_height="wrap_content"
  27.    android:id="@+id/txtview"
  28.    android:textColor="@color/white"
  29.    />
  30.  
  31.     <Button
  32.        android:background="@drawable/bt"
  33.        android:id="@+id/login"
  34.        android:onClick="btnlogin_Click"
  35.        android:layout_width="wrap_content"
  36.        android:layout_height="wrap_content"
  37.        android:text="@string/login"
  38.        tools:layout_editor_absoluteX="161dp"
  39.        tools:layout_editor_absoluteY="297dp" />
  40.  
  41. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement