95 lines
3.9 KiB
XML
95 lines
3.9 KiB
XML
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="#F5F7FA"
|
|
android:padding="24dp">
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
app:cardCornerRadius="16dp"
|
|
app:cardElevation="8dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="24dp">
|
|
|
|
<ImageView
|
|
android:layout_width="64dp"
|
|
android:layout_height="64dp"
|
|
android:layout_gravity="center"
|
|
android:src="@drawable/imagem_convertida"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:text="Finzora"
|
|
android:textSize="28sp"
|
|
android:textStyle="bold"
|
|
android:textColor="#333333"
|
|
android:layout_marginTop="8dp"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:text="Entre na sua conta para gerir as suas despesas"
|
|
android:textColor="#666666"
|
|
android:layout_marginBottom="24dp"/>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="Email"
|
|
app:boxCornerRadiusBottomEnd="8dp"
|
|
app:boxCornerRadiusTopStart="8dp">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/editEmail"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="textEmailAddress" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:hint="Palavra-passe"
|
|
app:passwordToggleEnabled="true">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/editPassword"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="textPassword" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<Button
|
|
android:id="@+id/btnEntrar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:layout_marginTop="24dp"
|
|
android:text="Entrar"
|
|
android:backgroundTint="#4A47E0"
|
|
app:cornerRadius="8dp" />
|
|
|
|
<TextView
|
|
android:id="@+id/txtRegistrar"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginTop="16dp"
|
|
android:text="Não tem conta? Registar agora"
|
|
android:textColor="#4A47E0" />
|
|
|
|
</LinearLayout>
|
|
</com.google.android.material.card.MaterialCardView>
|
|
</RelativeLayout> |