Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:padding="16dp"
- android:orientation="vertical">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/username" />
- <EditText
- android:id="@+id/edit1"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:lines="1" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content" >
- <Button
- android:id="@+id/btn1"
- android:layout_marginLeft="150px"
- android:layout_width="250px"
- android:layout_height="wrap_content"
- android:text="Panggil" />
- <Button
- android:id="@+id/btn2"
- android:layout_marginLeft="150px"
- android:layout_width="250px"
- android:layout_height="wrap_content"
- android:text="Exit" />
- </LinearLayout>
- <TextView
- android:id="@+id/txt1"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:text="@string/result"
- android:textSize="24sp"
- android:textStyle="bold" />
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement