Skip to content

Instantly share code, notes, and snippets.

@alfianyusufabdullah
Last active February 2, 2017 11:49
Show Gist options
  • Select an option

  • Save alfianyusufabdullah/44234d7d7bc0b12022e2edec4c68c156 to your computer and use it in GitHub Desktop.

Select an option

Save alfianyusufabdullah/44234d7d7bc0b12022e2edec4c68c156 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_vertical_margin"
android:orientation="vertical"
tools:context="com.jonesrandom.tutorialcustomviewalertdialog.MainActivity">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Nama" />
<TextView
android:id="@+id/dataNama"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Tidak Ada Nama"
android:textSize="20sp"
android:layout_marginTop="10dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Alamat"
android:layout_marginTop="10dp"/>
<TextView
android:id="@+id/dataAlamat"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Tidak Ada Alamat"
android:textSize="20sp"
android:layout_marginTop="10dp"/>
<Button
android:id="@+id/btn_Dialog"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="INPUT DATA"
android:layout_marginTop="15dp"/>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment