Skip to content

Commit

Permalink
Interface tela de login
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbmarcio committed Nov 20, 2017
1 parent 9b8dd37 commit 07ac015
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 10 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 49 additions & 8 deletions 4.Sistema/LOCCARR/app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
@@ -1,18 +1,59 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
<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.MainActivity">

<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:src="@drawable/loccarr_logo"
android:id="@+id/logo"/>

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

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

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Esqueci a minha senha"
android:id="@+id/textEsqueci"
android:layout_below="@id/buttonLogin"
android:textColor="@color/colorAccent"
android:textAlignment="center"
android:textSize="25dp"/>

<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Entrar"
android:layout_below="@id/editSenha"
android:id="@+id/buttonLogin"
android:background="@color/colorPrimary"
android:textColor="@color/colorWhite"
android:onClick="entrar"/>

<TextView
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Hello World!"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
android:text="Inscrever-se"
android:textAlignment="center"
android:layout_alignParentBottom="true"
android:textSize="25dp"
android:textColor="@color/colorPrimary"/>

</android.support.constraint.ConstraintLayout>
</RelativeLayout>
4 changes: 3 additions & 1 deletion 4.Sistema/LOCCARR/app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@
<resources>
<color name="colorPrimary">#3F51B5</color>
<color name="colorPrimaryDark">#303F9F</color>
<color name="colorAccent">#FF4081</color>
<color name="colorAccent">#ff4081</color>
<color name="colorBlack">#000000</color>
<color name="colorWhite">#ffffff</color>
</resources>
2 changes: 1 addition & 1 deletion 4.Sistema/LOCCARR/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Fri Nov 10 21:35:49 BRST 2017
#Mon Nov 20 18:26:38 BRST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
Expand Down

0 comments on commit 07ac015

Please sign in to comment.