correcao de erros
parent
9875c82e65
commit
4d80a9a27d
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:shape="oval">
|
android:shape="oval">
|
||||||
<solid android:color="#667eea" />
|
<solid android:color="#616161" />
|
||||||
<size
|
<size
|
||||||
android:width="36dp"
|
android:width="36dp"
|
||||||
android:height="36dp" />
|
android:height="36dp" />
|
||||||
|
|
|
||||||
|
|
@ -20,11 +20,11 @@
|
||||||
android:id="@+id/toolbar"
|
android:id="@+id/toolbar"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="?attr/actionBarSize"
|
android:layout_height="?attr/actionBarSize"
|
||||||
android:background="@drawable/bg_gradient"
|
android:background="#FFFFFF"
|
||||||
app:title="Definições de Conta"
|
app:title="Definições de Conta"
|
||||||
app:titleTextColor="#FFFFFF"
|
app:titleTextColor="#212121"
|
||||||
app:navigationIcon="@drawable/ic_arrow_back"
|
app:navigationIcon="@drawable/ic_arrow_back"
|
||||||
app:navigationIconTint="#FFFFFF" />
|
app:navigationIconTint="#212121" />
|
||||||
|
|
||||||
</com.google.android.material.appbar.AppBarLayout>
|
</com.google.android.material.appbar.AppBarLayout>
|
||||||
|
|
||||||
|
|
@ -108,7 +108,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
android:text="Alterar Foto"
|
android:text="Alterar Foto"
|
||||||
android:textColor="#667eea"
|
android:textColor="#616161"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
|
|
@ -157,11 +157,10 @@
|
||||||
app:boxCornerRadiusBottomEnd="16dp"
|
app:boxCornerRadiusBottomEnd="16dp"
|
||||||
app:boxStrokeWidth="2dp"
|
app:boxStrokeWidth="2dp"
|
||||||
app:boxStrokeWidthFocused="2dp"
|
app:boxStrokeWidthFocused="2dp"
|
||||||
app:boxStrokeColor="#E0E0E0"
|
app:boxStrokeColor="#BDBDBD"
|
||||||
app:boxStrokeColorFocused="#667eea"
|
app:boxStrokeColorFocused="#616161"
|
||||||
app:startIconDrawable="@android:drawable/ic_menu_myplaces"
|
app:startIconDrawable="@android:drawable/ic_menu_myplaces"
|
||||||
app:startIconTint="#667eea"
|
app:startIconTint="#616161"
|
||||||
app:hintTextColor="#667eea"
|
|
||||||
app:boxBackgroundMode="outline"
|
app:boxBackgroundMode="outline"
|
||||||
style="@style/Widget.Material3.TextInputLayout.OutlinedBox">
|
style="@style/Widget.Material3.TextInputLayout.OutlinedBox">
|
||||||
|
|
||||||
|
|
@ -184,12 +183,12 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="56dp"
|
android:layout_height="56dp"
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
android:background="@drawable/button_modern"
|
android:backgroundTint="#424242"
|
||||||
android:text="Guardar Nome"
|
android:text="Guardar Nome"
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#FFFFFF"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:elevation="4dp"
|
android:elevation="2dp"
|
||||||
android:stateListAnimator="@null" />
|
android:stateListAnimator="@null" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
|
||||||
|
|
@ -5,33 +5,10 @@
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:background="@drawable/bg_gradient"
|
android:background="#FFFFFF"
|
||||||
android:id="@+id/main"
|
android:id="@+id/main"
|
||||||
android:padding="0dp">
|
android:padding="0dp">
|
||||||
|
|
||||||
<!-- Decorative circles for modern look -->
|
|
||||||
<View
|
|
||||||
android:id="@+id/circle1"
|
|
||||||
android:layout_width="200dp"
|
|
||||||
android:layout_height="200dp"
|
|
||||||
android:background="@drawable/circle_decoration"
|
|
||||||
android:alpha="0.1"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
|
||||||
app:layout_constraintEnd_margin="-80dp"
|
|
||||||
app:layout_constraintTop_margin="-80dp" />
|
|
||||||
|
|
||||||
<View
|
|
||||||
android:id="@+id/circle2"
|
|
||||||
android:layout_width="150dp"
|
|
||||||
android:layout_height="150dp"
|
|
||||||
android:background="@drawable/circle_decoration"
|
|
||||||
android:alpha="0.15"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintStart_margin="-60dp"
|
|
||||||
app:layout_constraintBottom_margin="100dp" />
|
|
||||||
|
|
||||||
<!-- Logo/Title Section -->
|
<!-- Logo/Title Section -->
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/headerSection"
|
android:id="@+id/headerSection"
|
||||||
|
|
@ -39,10 +16,10 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
|
android:layout_marginTop="60dp"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent">
|
||||||
app:layout_constraintTop_margin="60dp">
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/textView4"
|
android:id="@+id/textView4"
|
||||||
|
|
@ -51,9 +28,8 @@
|
||||||
android:text="VdcScore"
|
android:text="VdcScore"
|
||||||
android:textSize="48sp"
|
android:textSize="48sp"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#212121"
|
||||||
android:letterSpacing="0.05"
|
android:letterSpacing="0.05" />
|
||||||
android:elevation="4dp" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/textView"
|
android:id="@+id/textView"
|
||||||
|
|
@ -62,8 +38,7 @@
|
||||||
android:layout_marginTop="12dp"
|
android:layout_marginTop="12dp"
|
||||||
android:text="Criar Conta"
|
android:text="Criar Conta"
|
||||||
android:textSize="18sp"
|
android:textSize="18sp"
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#757575"
|
||||||
android:alpha="0.95"
|
|
||||||
android:fontFamily="sans-serif-light" />
|
android:fontFamily="sans-serif-light" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
@ -76,11 +51,12 @@
|
||||||
android:layout_marginStart="24dp"
|
android:layout_marginStart="24dp"
|
||||||
android:layout_marginEnd="24dp"
|
android:layout_marginEnd="24dp"
|
||||||
android:layout_marginTop="40dp"
|
android:layout_marginTop="40dp"
|
||||||
android:elevation="12dp"
|
android:elevation="2dp"
|
||||||
app:cardCornerRadius="28dp"
|
app:cardCornerRadius="16dp"
|
||||||
app:cardBackgroundColor="#FFFFFF"
|
app:cardBackgroundColor="#FFFFFF"
|
||||||
app:cardUseCompatPadding="true"
|
app:cardUseCompatPadding="true"
|
||||||
app:strokeWidth="0dp"
|
app:strokeWidth="1dp"
|
||||||
|
app:strokeColor="#E0E0E0"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/headerSection">
|
app:layout_constraintTop_toBottomOf="@+id/headerSection">
|
||||||
|
|
@ -103,7 +79,7 @@
|
||||||
android:text="Registo"
|
android:text="Registo"
|
||||||
android:textSize="32sp"
|
android:textSize="32sp"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:textColor="#1A1A1A"
|
android:textColor="#212121"
|
||||||
android:layout_marginBottom="8dp" />
|
android:layout_marginBottom="8dp" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
|
@ -120,17 +96,16 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="20dp"
|
android:layout_marginBottom="20dp"
|
||||||
android:hint="Email"
|
android:hint="Email"
|
||||||
app:boxCornerRadiusTopStart="16dp"
|
app:boxCornerRadiusTopStart="12dp"
|
||||||
app:boxCornerRadiusTopEnd="16dp"
|
app:boxCornerRadiusTopEnd="12dp"
|
||||||
app:boxCornerRadiusBottomStart="16dp"
|
app:boxCornerRadiusBottomStart="12dp"
|
||||||
app:boxCornerRadiusBottomEnd="16dp"
|
app:boxCornerRadiusBottomEnd="12dp"
|
||||||
app:boxStrokeWidth="2dp"
|
app:boxStrokeWidth="1dp"
|
||||||
app:boxStrokeWidthFocused="2dp"
|
app:boxStrokeWidthFocused="2dp"
|
||||||
app:boxStrokeColor="#E0E0E0"
|
app:boxStrokeColor="#BDBDBD"
|
||||||
app:boxStrokeColorFocused="#667eea"
|
app:boxStrokeColorFocused="#616161"
|
||||||
app:startIconDrawable="@android:drawable/ic_dialog_email"
|
app:startIconDrawable="@android:drawable/ic_dialog_email"
|
||||||
app:startIconTint="#667eea"
|
app:startIconTint="#616161"
|
||||||
app:hintTextColor="#667eea"
|
|
||||||
app:boxBackgroundMode="outline"
|
app:boxBackgroundMode="outline"
|
||||||
style="@style/Widget.Material3.TextInputLayout.OutlinedBox">
|
style="@style/Widget.Material3.TextInputLayout.OutlinedBox">
|
||||||
|
|
||||||
|
|
@ -139,7 +114,7 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:inputType="textEmailAddress"
|
android:inputType="textEmailAddress"
|
||||||
android:textColor="#1A1A1A"
|
android:textColor="#212121"
|
||||||
android:textColorHint="#9E9E9E"
|
android:textColorHint="#9E9E9E"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
android:padding="18dp"
|
android:padding="18dp"
|
||||||
|
|
@ -153,19 +128,18 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="20dp"
|
android:layout_marginBottom="20dp"
|
||||||
android:hint="Password"
|
android:hint="Password"
|
||||||
app:boxCornerRadiusTopStart="16dp"
|
app:boxCornerRadiusTopStart="12dp"
|
||||||
app:boxCornerRadiusTopEnd="16dp"
|
app:boxCornerRadiusTopEnd="12dp"
|
||||||
app:boxCornerRadiusBottomStart="16dp"
|
app:boxCornerRadiusBottomStart="12dp"
|
||||||
app:boxCornerRadiusBottomEnd="16dp"
|
app:boxCornerRadiusBottomEnd="12dp"
|
||||||
app:boxStrokeWidth="2dp"
|
app:boxStrokeWidth="1dp"
|
||||||
app:boxStrokeWidthFocused="2dp"
|
app:boxStrokeWidthFocused="2dp"
|
||||||
app:boxStrokeColor="#E0E0E0"
|
app:boxStrokeColor="#BDBDBD"
|
||||||
app:boxStrokeColorFocused="#667eea"
|
app:boxStrokeColorFocused="#616161"
|
||||||
app:startIconDrawable="@android:drawable/ic_lock_lock"
|
app:startIconDrawable="@android:drawable/ic_lock_lock"
|
||||||
app:startIconTint="#667eea"
|
app:startIconTint="#616161"
|
||||||
app:hintTextColor="#667eea"
|
|
||||||
app:endIconMode="password_toggle"
|
app:endIconMode="password_toggle"
|
||||||
app:endIconTint="#667eea"
|
app:endIconTint="#616161"
|
||||||
app:boxBackgroundMode="outline"
|
app:boxBackgroundMode="outline"
|
||||||
style="@style/Widget.Material3.TextInputLayout.OutlinedBox">
|
style="@style/Widget.Material3.TextInputLayout.OutlinedBox">
|
||||||
|
|
||||||
|
|
@ -174,7 +148,7 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:inputType="textPassword"
|
android:inputType="textPassword"
|
||||||
android:textColor="#1A1A1A"
|
android:textColor="#212121"
|
||||||
android:textColorHint="#9E9E9E"
|
android:textColorHint="#9E9E9E"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
android:padding="18dp"
|
android:padding="18dp"
|
||||||
|
|
@ -188,19 +162,18 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="12dp"
|
android:layout_marginBottom="12dp"
|
||||||
android:hint="Confirmar Password"
|
android:hint="Confirmar Password"
|
||||||
app:boxCornerRadiusTopStart="16dp"
|
app:boxCornerRadiusTopStart="12dp"
|
||||||
app:boxCornerRadiusTopEnd="16dp"
|
app:boxCornerRadiusTopEnd="12dp"
|
||||||
app:boxCornerRadiusBottomStart="16dp"
|
app:boxCornerRadiusBottomStart="12dp"
|
||||||
app:boxCornerRadiusBottomEnd="16dp"
|
app:boxCornerRadiusBottomEnd="12dp"
|
||||||
app:boxStrokeWidth="2dp"
|
app:boxStrokeWidth="1dp"
|
||||||
app:boxStrokeWidthFocused="2dp"
|
app:boxStrokeWidthFocused="2dp"
|
||||||
app:boxStrokeColor="#E0E0E0"
|
app:boxStrokeColor="#BDBDBD"
|
||||||
app:boxStrokeColorFocused="#667eea"
|
app:boxStrokeColorFocused="#616161"
|
||||||
app:startIconDrawable="@android:drawable/ic_lock_lock"
|
app:startIconDrawable="@android:drawable/ic_lock_lock"
|
||||||
app:startIconTint="#667eea"
|
app:startIconTint="#616161"
|
||||||
app:hintTextColor="#667eea"
|
|
||||||
app:endIconMode="password_toggle"
|
app:endIconMode="password_toggle"
|
||||||
app:endIconTint="#667eea"
|
app:endIconTint="#616161"
|
||||||
app:boxBackgroundMode="outline"
|
app:boxBackgroundMode="outline"
|
||||||
style="@style/Widget.Material3.TextInputLayout.OutlinedBox">
|
style="@style/Widget.Material3.TextInputLayout.OutlinedBox">
|
||||||
|
|
||||||
|
|
@ -209,7 +182,7 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:inputType="textPassword"
|
android:inputType="textPassword"
|
||||||
android:textColor="#1A1A1A"
|
android:textColor="#212121"
|
||||||
android:textColorHint="#9E9E9E"
|
android:textColorHint="#9E9E9E"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
android:padding="18dp"
|
android:padding="18dp"
|
||||||
|
|
@ -222,13 +195,13 @@
|
||||||
android:id="@+id/btnCreateAccount"
|
android:id="@+id/btnCreateAccount"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="60dp"
|
android:layout_height="60dp"
|
||||||
android:background="@drawable/button_modern"
|
android:backgroundTint="#424242"
|
||||||
android:text="Criar Conta"
|
android:text="Criar Conta"
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#FFFFFF"
|
||||||
android:textSize="17sp"
|
android:textSize="17sp"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:letterSpacing="0.05"
|
android:letterSpacing="0.05"
|
||||||
android:elevation="6dp"
|
android:elevation="2dp"
|
||||||
android:stateListAnimator="@null"
|
android:stateListAnimator="@null"
|
||||||
android:layout_marginTop="12dp" />
|
android:layout_marginTop="12dp" />
|
||||||
|
|
||||||
|
|
@ -246,25 +219,24 @@
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:padding="16dp"
|
android:padding="16dp"
|
||||||
|
android:layout_marginTop="24dp"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/cardRegister"
|
app:layout_constraintTop_toBottomOf="@+id/cardRegister">
|
||||||
app:layout_constraintTop_margin="24dp">
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="Já tens conta? "
|
android:text="Já tens conta? "
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#757575"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp" />
|
||||||
android:alpha="0.9" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/txtGoLogin"
|
android:id="@+id/txtGoLogin"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="Entrar"
|
android:text="Entrar"
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#212121"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
|
|
|
||||||
|
|
@ -5,32 +5,9 @@
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:background="@drawable/bg_gradient"
|
android:background="#FFFFFF"
|
||||||
android:padding="0dp">
|
android:padding="0dp">
|
||||||
|
|
||||||
<!-- Decorative circles for modern look -->
|
|
||||||
<View
|
|
||||||
android:id="@+id/circle1"
|
|
||||||
android:layout_width="200dp"
|
|
||||||
android:layout_height="200dp"
|
|
||||||
android:background="@drawable/circle_decoration"
|
|
||||||
android:alpha="0.1"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
|
||||||
app:layout_constraintEnd_margin="-80dp"
|
|
||||||
app:layout_constraintTop_margin="-80dp" />
|
|
||||||
|
|
||||||
<View
|
|
||||||
android:id="@+id/circle2"
|
|
||||||
android:layout_width="150dp"
|
|
||||||
android:layout_height="150dp"
|
|
||||||
android:background="@drawable/circle_decoration"
|
|
||||||
android:alpha="0.15"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintStart_margin="-60dp"
|
|
||||||
app:layout_constraintBottom_margin="100dp" />
|
|
||||||
|
|
||||||
<!-- Logo/Title Section -->
|
<!-- Logo/Title Section -->
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/headerSection"
|
android:id="@+id/headerSection"
|
||||||
|
|
@ -38,10 +15,10 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
|
android:layout_marginTop="80dp"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent">
|
||||||
app:layout_constraintTop_margin="80dp">
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/textView3"
|
android:id="@+id/textView3"
|
||||||
|
|
@ -50,9 +27,8 @@
|
||||||
android:text="VdcScore"
|
android:text="VdcScore"
|
||||||
android:textSize="48sp"
|
android:textSize="48sp"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#212121"
|
||||||
android:letterSpacing="0.05"
|
android:letterSpacing="0.05" />
|
||||||
android:elevation="4dp" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/textSubtitle"
|
android:id="@+id/textSubtitle"
|
||||||
|
|
@ -61,8 +37,7 @@
|
||||||
android:layout_marginTop="12dp"
|
android:layout_marginTop="12dp"
|
||||||
android:text="Bem-vindo de volta"
|
android:text="Bem-vindo de volta"
|
||||||
android:textSize="18sp"
|
android:textSize="18sp"
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#757575"
|
||||||
android:alpha="0.95"
|
|
||||||
android:fontFamily="sans-serif-light" />
|
android:fontFamily="sans-serif-light" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
@ -75,11 +50,12 @@
|
||||||
android:layout_marginStart="24dp"
|
android:layout_marginStart="24dp"
|
||||||
android:layout_marginEnd="24dp"
|
android:layout_marginEnd="24dp"
|
||||||
android:layout_marginTop="40dp"
|
android:layout_marginTop="40dp"
|
||||||
android:elevation="12dp"
|
android:elevation="2dp"
|
||||||
app:cardCornerRadius="28dp"
|
app:cardCornerRadius="16dp"
|
||||||
app:cardBackgroundColor="#FFFFFF"
|
app:cardBackgroundColor="#FFFFFF"
|
||||||
app:cardUseCompatPadding="true"
|
app:cardUseCompatPadding="true"
|
||||||
app:strokeWidth="0dp"
|
app:strokeWidth="1dp"
|
||||||
|
app:strokeColor="#E0E0E0"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/headerSection">
|
app:layout_constraintTop_toBottomOf="@+id/headerSection">
|
||||||
|
|
@ -97,7 +73,7 @@
|
||||||
android:text="Login"
|
android:text="Login"
|
||||||
android:textSize="32sp"
|
android:textSize="32sp"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:textColor="#1A1A1A"
|
android:textColor="#212121"
|
||||||
android:layout_marginBottom="8dp" />
|
android:layout_marginBottom="8dp" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
|
@ -114,17 +90,16 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="20dp"
|
android:layout_marginBottom="20dp"
|
||||||
android:hint="Email"
|
android:hint="Email"
|
||||||
app:boxCornerRadiusTopStart="16dp"
|
app:boxCornerRadiusTopStart="12dp"
|
||||||
app:boxCornerRadiusTopEnd="16dp"
|
app:boxCornerRadiusTopEnd="12dp"
|
||||||
app:boxCornerRadiusBottomStart="16dp"
|
app:boxCornerRadiusBottomStart="12dp"
|
||||||
app:boxCornerRadiusBottomEnd="16dp"
|
app:boxCornerRadiusBottomEnd="12dp"
|
||||||
app:boxStrokeWidth="2dp"
|
app:boxStrokeWidth="1dp"
|
||||||
app:boxStrokeWidthFocused="2dp"
|
app:boxStrokeWidthFocused="2dp"
|
||||||
app:boxStrokeColor="#E0E0E0"
|
app:boxStrokeColor="#BDBDBD"
|
||||||
app:boxStrokeColorFocused="#667eea"
|
app:boxStrokeColorFocused="#616161"
|
||||||
app:startIconDrawable="@android:drawable/ic_dialog_email"
|
app:startIconDrawable="@android:drawable/ic_dialog_email"
|
||||||
app:startIconTint="#667eea"
|
app:startIconTint="#616161"
|
||||||
app:hintTextColor="#667eea"
|
|
||||||
app:boxBackgroundMode="outline"
|
app:boxBackgroundMode="outline"
|
||||||
style="@style/Widget.Material3.TextInputLayout.OutlinedBox">
|
style="@style/Widget.Material3.TextInputLayout.OutlinedBox">
|
||||||
|
|
||||||
|
|
@ -133,7 +108,7 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:inputType="textEmailAddress"
|
android:inputType="textEmailAddress"
|
||||||
android:textColor="#1A1A1A"
|
android:textColor="#212121"
|
||||||
android:textColorHint="#9E9E9E"
|
android:textColorHint="#9E9E9E"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
android:padding="18dp"
|
android:padding="18dp"
|
||||||
|
|
@ -147,19 +122,18 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="12dp"
|
android:layout_marginBottom="12dp"
|
||||||
android:hint="Password"
|
android:hint="Password"
|
||||||
app:boxCornerRadiusTopStart="16dp"
|
app:boxCornerRadiusTopStart="12dp"
|
||||||
app:boxCornerRadiusTopEnd="16dp"
|
app:boxCornerRadiusTopEnd="12dp"
|
||||||
app:boxCornerRadiusBottomStart="16dp"
|
app:boxCornerRadiusBottomStart="12dp"
|
||||||
app:boxCornerRadiusBottomEnd="16dp"
|
app:boxCornerRadiusBottomEnd="12dp"
|
||||||
app:boxStrokeWidth="2dp"
|
app:boxStrokeWidth="1dp"
|
||||||
app:boxStrokeWidthFocused="2dp"
|
app:boxStrokeWidthFocused="2dp"
|
||||||
app:boxStrokeColor="#E0E0E0"
|
app:boxStrokeColor="#BDBDBD"
|
||||||
app:boxStrokeColorFocused="#667eea"
|
app:boxStrokeColorFocused="#616161"
|
||||||
app:startIconDrawable="@android:drawable/ic_lock_lock"
|
app:startIconDrawable="@android:drawable/ic_lock_lock"
|
||||||
app:startIconTint="#667eea"
|
app:startIconTint="#616161"
|
||||||
app:hintTextColor="#667eea"
|
|
||||||
app:endIconMode="password_toggle"
|
app:endIconMode="password_toggle"
|
||||||
app:endIconTint="#667eea"
|
app:endIconTint="#616161"
|
||||||
app:boxBackgroundMode="outline"
|
app:boxBackgroundMode="outline"
|
||||||
style="@style/Widget.Material3.TextInputLayout.OutlinedBox">
|
style="@style/Widget.Material3.TextInputLayout.OutlinedBox">
|
||||||
|
|
||||||
|
|
@ -168,7 +142,7 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:inputType="textPassword"
|
android:inputType="textPassword"
|
||||||
android:textColor="#1A1A1A"
|
android:textColor="#212121"
|
||||||
android:textColorHint="#9E9E9E"
|
android:textColorHint="#9E9E9E"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
android:padding="18dp"
|
android:padding="18dp"
|
||||||
|
|
@ -184,7 +158,7 @@
|
||||||
android:layout_gravity="end"
|
android:layout_gravity="end"
|
||||||
android:layout_marginBottom="28dp"
|
android:layout_marginBottom="28dp"
|
||||||
android:text="Esqueceu a palavra-passe?"
|
android:text="Esqueceu a palavra-passe?"
|
||||||
android:textColor="#667eea"
|
android:textColor="#616161"
|
||||||
android:textSize="14sp"
|
android:textSize="14sp"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
|
|
@ -197,13 +171,13 @@
|
||||||
android:id="@+id/btnLogin"
|
android:id="@+id/btnLogin"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="60dp"
|
android:layout_height="60dp"
|
||||||
android:background="@drawable/button_modern"
|
android:backgroundTint="#424242"
|
||||||
android:text="Entrar"
|
android:text="Entrar"
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#FFFFFF"
|
||||||
android:textSize="17sp"
|
android:textSize="17sp"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:letterSpacing="0.05"
|
android:letterSpacing="0.05"
|
||||||
android:elevation="6dp"
|
android:elevation="2dp"
|
||||||
android:stateListAnimator="@null"
|
android:stateListAnimator="@null"
|
||||||
android:layout_marginTop="4dp" />
|
android:layout_marginTop="4dp" />
|
||||||
|
|
||||||
|
|
@ -219,25 +193,24 @@
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:padding="16dp"
|
android:padding="16dp"
|
||||||
|
android:layout_marginTop="24dp"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/cardLogin"
|
app:layout_constraintTop_toBottomOf="@+id/cardLogin">
|
||||||
app:layout_constraintTop_margin="24dp">
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="Não tens conta? "
|
android:text="Não tens conta? "
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#757575"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp" />
|
||||||
android:alpha="0.9" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/txtRegister"
|
android:id="@+id/txtRegister"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="Criar conta"
|
android:text="Criar conta"
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#212121"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue