Skip to content

Instantly share code, notes, and snippets.

@alfianyusufabdullah
Created January 31, 2017 06:39
Show Gist options
  • Save alfianyusufabdullah/1f4ad05be5218e459cf410548bda024d to your computer and use it in GitHub Desktop.
Save alfianyusufabdullah/1f4ad05be5218e459cf410548bda024d to your computer and use it in GitHub Desktop.
<?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:id="@+id/activity_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="@dimen/activity_horizontal_margin"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Masukan Nama"
android:textSize="15sp" />
<EditText
android:id="@+id/inputNama"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Nama"
android:inputType="textNoSuggestions"
android:maxLines="1" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:text="Masukan Alamat"
android:textSize="15sp" />
<EditText
android:id="@+id/inputAlamat"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Alamat"
android:inputType="textNoSuggestions"
android:maxLines="1" />
<Button
android:id="@+id/kirimData"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:text="kirim data" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment