Skip to content

Instantly share code, notes, and snippets.

@miguelpruivo
Created December 13, 2021 18:21
Show Gist options
  • Save miguelpruivo/b7f8f0206163a5a2256bf8f2106c6121 to your computer and use it in GitHub Desktop.
Save miguelpruivo/b7f8f0206163a5a2256bf8f2106c6121 to your computer and use it in GitHub Desktop.
layout
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:text="Status"
android:id="@+id/tvStatus"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
android:padding="16dp"
android:background="#c0c0c0"
android:textColor="@color/black"
android:fontFamily="monospace" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="E-mail:"
android:textSize="20sp" />
<EditText
android:id="@+id/edEmail"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textEmailAddress"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Password:"
android:textSize="20sp" />
<EditText
android:id="@+id/edPassword"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPassword" />
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Registar E-mail" />
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Autenticar E-mail" />
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Terminar Sessão" />
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Autenticar Gmail" />
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Terminar Sessão Gmail" />
<TextView
android:id="@+id/tvLog"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="20sp" />
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Criar dados" />
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Actualizar dados" />
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Observar dados" />
</LinearLayout>
</ScrollView>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment