a acabar
This commit is contained in:
@@ -7,6 +7,7 @@ import android.util.Patterns;
|
|||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.widget.Button;
|
import android.widget.Button;
|
||||||
import android.widget.EditText;
|
import android.widget.EditText;
|
||||||
|
import android.widget.ImageView;
|
||||||
import android.widget.ProgressBar;
|
import android.widget.ProgressBar;
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
import com.example.lifegrid.utils.CustomToast;
|
import com.example.lifegrid.utils.CustomToast;
|
||||||
@@ -59,6 +60,9 @@ public class CriarContaActivity extends AppCompatActivity {
|
|||||||
|
|
||||||
// Configura o botão de registo para acionar a validação e criação de conta
|
// Configura o botão de registo para acionar a validação e criação de conta
|
||||||
loginButton2.setOnClickListener(v -> criarConta());
|
loginButton2.setOnClickListener(v -> criarConta());
|
||||||
|
|
||||||
|
ImageView btnBack = findViewById(R.id.btnBack);
|
||||||
|
btnBack.setOnClickListener(v -> finish());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ import android.widget.Button;
|
|||||||
import android.widget.EditText;
|
import android.widget.EditText;
|
||||||
import android.widget.ProgressBar;
|
import android.widget.ProgressBar;
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
|
import android.widget.ImageView;
|
||||||
import com.example.lifegrid.utils.CustomToast;
|
import com.example.lifegrid.utils.CustomToast;
|
||||||
|
|
||||||
import androidx.activity.EdgeToEdge;
|
import androidx.activity.EdgeToEdge;
|
||||||
@@ -59,6 +60,9 @@ public class RecupearPasswordActivity extends AppCompatActivity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
loginButton3.setOnClickListener(v -> recuperarPassword());
|
loginButton3.setOnClickListener(v -> recuperarPassword());
|
||||||
|
|
||||||
|
ImageView btnBack = findViewById(R.id.btnBack);
|
||||||
|
btnBack.setOnClickListener(v -> finish());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -8,6 +8,19 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
tools:context=".CriarContaActivity">
|
tools:context=".CriarContaActivity">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/btnBack"
|
||||||
|
android:layout_width="32dp"
|
||||||
|
android:layout_height="32dp"
|
||||||
|
android:layout_marginStart="16dp"
|
||||||
|
android:layout_marginTop="16dp"
|
||||||
|
android:src="@drawable/diagonalarrowleftdownoutline_110924"
|
||||||
|
app:tint="@color/preto"
|
||||||
|
android:rotation="45"
|
||||||
|
android:padding="4dp"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/logoImageView"
|
android:id="@+id/logoImageView"
|
||||||
android:layout_width="213dp"
|
android:layout_width="213dp"
|
||||||
|
|||||||
@@ -8,6 +8,19 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
tools:context=".RecupearPasswordActivity">
|
tools:context=".RecupearPasswordActivity">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/btnBack"
|
||||||
|
android:layout_width="32dp"
|
||||||
|
android:layout_height="32dp"
|
||||||
|
android:layout_marginStart="16dp"
|
||||||
|
android:layout_marginTop="16dp"
|
||||||
|
android:src="@drawable/diagonalarrowleftdownoutline_110924"
|
||||||
|
app:tint="@color/preto"
|
||||||
|
android:rotation="45"
|
||||||
|
android:padding="4dp"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/loginButton3"
|
android:id="@+id/loginButton3"
|
||||||
android:layout_width="315dp"
|
android:layout_width="315dp"
|
||||||
|
|||||||
Reference in New Issue
Block a user