Skip to content

Instantly share code, notes, and snippets.

@rafaeltoledo
Created October 25, 2019 01:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rafaeltoledo/f8b860b0ff16b8681720d4dc5ac32806 to your computer and use it in GitHub Desktop.
Save rafaeltoledo/f8b860b0ff16b8681720d4dc5ac32806 to your computer and use it in GitHub Desktop.
Android 01
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Nome:" />
<EditText android:id="@+id/nome"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Endereço:" />
<EditText android:id="@+id/end"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
</LinearLayout>
<Button android:id="@+id/salvar"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Salvar" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment