Advertisement
euis_kusesa

activity_main.xml

Dec 27th, 2018
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.07 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout 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.    tools:context=".MainActivity">
  8.  
  9.     <Button
  10.        android:id="@+id/button1"
  11.        style="?android:attr/buttonStyleSmall"
  12.        android:layout_width="wrap_content"
  13.        android:layout_height="wrap_content"
  14.        android:layout_alignParentTop="true"
  15.        android:layout_centerHorizontal="true"
  16.        android:layout_marginTop="331dp"
  17.        android:layout_onClik="onClik"
  18.        android:text="Button" />
  19.  
  20.  
  21.     <EditText
  22.        android:id="@+id/edit_Text1"
  23.        android:layout_width="wrap_content"
  24.        android:layout_height="wrap_content"
  25.        android:layout_alignBottom="@id/button1"
  26.        android:layout_centerHorizontal="true"
  27.        android:layout_marginBottom="81dp"
  28.        android:ems="10"
  29.        />
  30.  
  31.  
  32. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement