-
-
Save pureexe/1699cae091dcf710f9930deba13451e2 to your computer and use it in GitHub Desktop.
android class week2 layout file [in noo]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <RelativeLayout | |
| xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:padding="16dp"> | |
| <TextView | |
| android:id="@+id/textView" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:layout_alignParentLeft="true" | |
| android:layout_alignParentStart="true" | |
| android:layout_alignParentTop="true" | |
| android:text="Plesae enter your email"/> | |
| <EditText | |
| android:id="@+id/editText" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:layout_alignParentLeft="true" | |
| android:layout_alignParentStart="true" | |
| android:layout_below="@+id/textView" | |
| android:layout_toLeftOf="@+id/button2" | |
| android:layout_toStartOf="@+id/button2" | |
| android:ems="10" | |
| android:inputType="textEmailAddress"/> | |
| <Button | |
| android:id="@+id/button2" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:layout_alignParentEnd="true" | |
| android:layout_alignParentRight="true" | |
| android:layout_alignTop="@+id/editText" | |
| android:text="Button"/> | |
| <LinearLayout | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| android:layout_alignParentBottom="true" | |
| android:layout_alignParentLeft="true" | |
| android:layout_alignParentStart="true" | |
| android:orientation="horizontal"> | |
| <Button | |
| android:layout_width="0dp" | |
| android:layout_height="wrap_content" | |
| android:layout_weight="1" | |
| android:text="Button"/> | |
| <Button | |
| android:layout_width="0dp" | |
| android:layout_height="wrap_content" | |
| android:layout_weight="1" | |
| android:text="Button"/> | |
| </LinearLayout> | |
| </RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment