2025-05-06 14:07:11 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
2025-04-27 13:01:05 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="@color/background"
|
2025-05-06 14:07:11 +00:00
|
|
|
android:padding="16dp">
|
2025-04-27 13:01:05 +00:00
|
|
|
|
2025-05-06 14:07:11 +00:00
|
|
|
<LinearLayout
|
|
|
|
|
android:orientation="vertical"
|
2025-04-27 13:01:05 +00:00
|
|
|
android:layout_width="match_parent"
|
2025-05-06 14:07:11 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingBottom="80dp"> <!-- evita que se tape el final -->
|
2025-04-27 13:01:05 +00:00
|
|
|
|
2025-05-06 14:07:11 +00:00
|
|
|
<!-- Header con imagen -->
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="200dp">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/coverImage"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:scaleType="centerCrop"
|
|
|
|
|
android:src="@drawable/sample_cover" />
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/avatarImage"
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="80dp"
|
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
|
android:background="@drawable/circle_mask"
|
|
|
|
|
android:clipToOutline="true"
|
|
|
|
|
android:src="@drawable/sample_avatar" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/usernameText"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_alignBottom="@id/avatarImage"
|
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
|
android:layout_toEndOf="@id/avatarImage"
|
|
|
|
|
android:text="BtwIsSanti"
|
|
|
|
|
android:textColor="@color/textPrimary"
|
|
|
|
|
android:textSize="20sp"
|
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
<!-- Descripción -->
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/descriptionText"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
android:text="Eiko is my waifu right now\nMai and Mikasa is my second wife"
|
|
|
|
|
android:textColor="@color/textPrimary"
|
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
|
|
|
|
|
<!-- Título: Anime Stats -->
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="Anime Stats"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:textColor="@color/textPrimary"
|
|
|
|
|
android:textSize="18sp"
|
|
|
|
|
android:layout_marginTop="16dp" />
|
|
|
|
|
|
|
|
|
|
<!-- Totales de anime -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:weightSum="3"
|
|
|
|
|
android:layout_marginTop="16dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="520\nTotal Anime"
|
|
|
|
|
android:textColor="@color/textPrimary"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:textAlignment="center" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="150.5\nDays Watched"
|
|
|
|
|
android:textColor="@color/textPrimary"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:textAlignment="center" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="67.8\nMean Score"
|
|
|
|
|
android:textColor="@color/textPrimary"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:textAlignment="center" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<!-- Contenedor de barras dinámicas de anime -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/animeStatsContainer"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_marginTop="8dp" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Título: Manga Stats -->
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="Manga Stats"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:textColor="@color/textPrimary"
|
|
|
|
|
android:textSize="18sp"
|
|
|
|
|
android:layout_marginTop="16dp" />
|
|
|
|
|
|
|
|
|
|
<!-- Totales de manga -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:weightSum="3"
|
|
|
|
|
android:layout_marginTop="16dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="189\nTotal Manga"
|
|
|
|
|
android:textColor="@color/textPrimary"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:textAlignment="center" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="9280\nChapters Read"
|
|
|
|
|
android:textColor="@color/textPrimary"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:textAlignment="center" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="71.0\nMean Score"
|
|
|
|
|
android:textColor="@color/textPrimary"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:textAlignment="center" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<!-- Contenedor de barras dinámicas de manga -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/mangaStatsContainer"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_marginTop="8dp" />
|
|
|
|
|
|
|
|
|
|
<!-- Actividad -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/activityContainer"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_marginTop="24dp" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</ScrollView>
|