Skip to content

Commit

Permalink
Interface tela de cadastro
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbmarcio committed Nov 20, 2017
1 parent 8f8dece commit 691a6bf
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 1 deletion.
1 change: 1 addition & 0 deletions 4.Sistema/LOCCARR/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ dependencies {

apply plugin: 'com.google.gms.google-services'


3 changes: 2 additions & 1 deletion 4.Sistema/LOCCARR/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".Dashboard"></activity>
<activity android:name=".Dashboard" />
<activity android:name=".Cadastrar"></activity>
</application>

</manifest>
43 changes: 43 additions & 0 deletions 4.Sistema/LOCCARR/app/src/main/res/layout/activity_cadastrar.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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"
android:padding="16dp"
tools:context="br.com.flores.marcio.loccarr.Cadastrar">

<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="E-mail"
android:inputType="textEmailAddress"
android:id="@+id/editMail"/>

<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Senha"
android:id="@+id/editSenha"
android:inputType="textPassword"
android:layout_below="@id/editMail"/>

<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Confirme a senha"
android:inputType="textPassword"
android:id="@+id/editSenhaConfirmacao"
android:layout_below="@id/editSenha"/>

<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Cadastrar"
android:layout_below="@id/editSenhaConfirmacao"
android:background="@color/colorPrimary"
android:textColor="@color/colorWhite"
android:onClick="cadastro"
android:id="@+id/buttonCadastro"/>

</RelativeLayout>

0 comments on commit 691a6bf

Please sign in to comment.