From 743ddeb3db3e58b1ee6af2d30694e03541d172db Mon Sep 17 00:00:00 2001
From: 230421 <230421@epvc.pt>
Date: Fri, 12 Dec 2025 09:28:14 +0000
Subject: [PATCH] =?UTF-8?q?mudan=C3=A7as?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../vdcscore/ui/definicoes/ContaActivity.java | 1 +
.../vdcscore/ui/gallery/GalleryFragment.java | 10 +-
app/src/main/res/layout/fragment_gallery.xml | 133 ++++++++++++++++--
app/src/main/res/layout/nav_header_main.xml | 20 ++-
app/src/main/res/values/strings.xml | 2 +-
5 files changed, 141 insertions(+), 25 deletions(-)
diff --git a/app/src/main/java/com/example/vdcscore/ui/definicoes/ContaActivity.java b/app/src/main/java/com/example/vdcscore/ui/definicoes/ContaActivity.java
index 76a1c12..22b35b8 100644
--- a/app/src/main/java/com/example/vdcscore/ui/definicoes/ContaActivity.java
+++ b/app/src/main/java/com/example/vdcscore/ui/definicoes/ContaActivity.java
@@ -28,6 +28,7 @@ import androidx.core.graphics.Insets;
import androidx.core.view.ViewCompat;
import androidx.core.view.WindowInsetsCompat;
+import com.example.vdcscore.LoginActivity;
import com.example.vdcscore.R;
import com.google.android.material.appbar.MaterialToolbar;
import com.google.android.material.textfield.TextInputEditText;
diff --git a/app/src/main/java/com/example/vdcscore/ui/gallery/GalleryFragment.java b/app/src/main/java/com/example/vdcscore/ui/gallery/GalleryFragment.java
index 2956b7e..2c41436 100644
--- a/app/src/main/java/com/example/vdcscore/ui/gallery/GalleryFragment.java
+++ b/app/src/main/java/com/example/vdcscore/ui/gallery/GalleryFragment.java
@@ -17,15 +17,15 @@ public class GalleryFragment extends Fragment {
private FragmentGalleryBinding binding;
public View onCreateView(@NonNull LayoutInflater inflater,
- ViewGroup container, Bundle savedInstanceState) {
- GalleryViewModel galleryViewModel =
- new ViewModelProvider(this).get(GalleryViewModel.class);
+ ViewGroup container, Bundle savedInstanceState) {
+ GalleryViewModel galleryViewModel = new ViewModelProvider(this).get(GalleryViewModel.class);
binding = FragmentGalleryBinding.inflate(inflater, container, false);
View root = binding.getRoot();
- final TextView textView = binding.textGallery;
- galleryViewModel.getText().observe(getViewLifecycleOwner(), textView::setText);
+ // final TextView textView = binding.textGallery;
+ // galleryViewModel.getText().observe(getViewLifecycleOwner(),
+ // textView::setText);
return root;
}
diff --git a/app/src/main/res/layout/fragment_gallery.xml b/app/src/main/res/layout/fragment_gallery.xml
index 643fe25..4f541ca 100644
--- a/app/src/main/res/layout/fragment_gallery.xml
+++ b/app/src/main/res/layout/fragment_gallery.xml
@@ -6,17 +6,126 @@
android:layout_height="match_parent"
tools:context=".ui.gallery.GalleryFragment">
-
+ android:layout_height="match_parent"
+ android:fillViewport="true">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/nav_header_main.xml b/app/src/main/res/layout/nav_header_main.xml
index 036e278..fa55072 100644
--- a/app/src/main/res/layout/nav_header_main.xml
+++ b/app/src/main/res/layout/nav_header_main.xml
@@ -12,15 +12,21 @@
android:paddingBottom="@dimen/activity_vertical_margin"
android:theme="@style/ThemeOverlay.AppCompat.Dark">
-
+ android:layout_marginTop="@dimen/nav_header_vertical_spacing"
+ app:cardCornerRadius="40dp"
+ app:cardBackgroundColor="#E0E0E0">
+
+
+
Settings
Home
- Gallery
+ Classificação
Definições
\ No newline at end of file