Actualizacion de los xml de la app

This commit is contained in:
santi 2025-04-27 16:23:08 +02:00
parent b671e1dac1
commit be4f0cfc33
5 changed files with 45 additions and 48 deletions

View File

@ -52,16 +52,6 @@
</RelativeLayout>
</androidx.appcompat.widget.Toolbar>
<!-- BottomAppBar (sin hijos directos) -->
<com.google.android.material.bottomappbar.BottomAppBar
android:id="@+id/bottombar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:background="@color/background"
app:fabCradleMargin="10dp"
app:fabCradleRoundedCornerRadius="50dp" />
<!-- BottomNavigationView (fuera del BottomAppBar) -->
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bottomNavigationView"

View File

@ -5,13 +5,23 @@
android:background="@color/background"
tools:context="ui.fragments.home.FragmentHome">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingTop="100dp"
android:paddingBottom="32dp"
android:clipToPadding="false">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/mainRecyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:paddingTop="8dp"
android:paddingBottom="32dp"
android:paddingBottom="100dp"
android:clipToPadding="false"
android:overScrollMode="never"
android:contentDescription="@string/home_section_list" />
</LinearLayout>
</FrameLayout>

View File

@ -2,25 +2,27 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_marginEnd="8dp"
android:layout_marginBottom="8dp"
android:padding="8dp"
android:gravity="center_horizontal"
android:layout_marginBottom="8dp">
android:gravity="center_horizontal">
<ImageView
android:id="@+id/imageView"
android:layout_width="140dp"
android:layout_height="190dp"
android:layout_width="160dp"
android:layout_height="220dp"
android:scaleType="centerCrop"
android:contentDescription="@string/anime_image_desc"
android:background="@drawable/rectangle_placeholder" />
<TextView
android:id="@+id/titleTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Anime Title"
android:textSize="14sp"
android:textColor="@color/textPrimary"
android:textColor="@color/background"
android:maxLines="1"
android:ellipsize="end"
android:layout_marginTop="4dp" />

View File

@ -8,12 +8,13 @@
<ImageView
android:id="@+id/imageView"
android:layout_width="140dp"
android:layout_height="190dp"
android:layout_width="160dp"
android:layout_height="220dp"
android:scaleType="centerCrop"
android:contentDescription="@string/manga_image_desc"
android:contentDescription="@string/anime_image_desc"
android:background="@drawable/rectangle_placeholder" />
<TextView
android:id="@+id/titleTextView"
android:layout_width="wrap_content"

View File

@ -1,16 +1,11 @@
<androidx.cardview.widget.CardView 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="wrap_content"
android:layout_margin="12dp"
app:cardCornerRadius="12dp"
app:cardElevation="6dp">
<LinearLayout
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="12dp">
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:paddingTop="16dp"
android:paddingBottom="16dp">
<TextView
android:id="@+id/sectionTitle"
@ -20,14 +15,13 @@
android:textSize="20sp"
android:textStyle="bold"
android:textColor="@color/textPrimary"
android:layout_marginBottom="8dp" />
android:layout_marginBottom="12dp" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/sectionRecycler"
android:layout_width="match_parent"
android:layout_height="220dp"
android:layout_height="wrap_content"
android:overScrollMode="never"
android:clipToPadding="false"
android:overScrollMode="never" />
</LinearLayout>
</androidx.cardview.widget.CardView>
android:nestedScrollingEnabled="false" />
</LinearLayout>