Created
June 13, 2017 06:11
-
-
Save alfianyusufabdullah/c76a514625c5109b7291d1127ee33bf4 to your computer and use it in GitHub Desktop.
Membuat EditText Android Menggunakan AIDE - main.xml
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"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:layout_margin="16dp" | |
android:orientation="vertical"> | |
<EditText | |
android:id="@+id/mainEdittext" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" /> | |
<Button | |
android:id="@+id/mainButton" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:text="tekan!!" | |
android:layout_marginTop="10dp"/> | |
<TextView | |
android:id="@+id/mainTextView" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:gravity="center" | |
android:layout_marginTop="10dp" | |
android:textSize="20sp"/> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment