160 lines
6.2 KiB
XML
160 lines
6.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<ScrollView 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="match_parent"
|
|
android:fillViewport="true"
|
|
android:background="@color/background"
|
|
android:clipToPadding="false"
|
|
android:fitsSystemWindows="true">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="32dp">
|
|
|
|
<!-- Encabezado -->
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="150dp">
|
|
|
|
<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_alignParentStart="true"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_margin="16dp"
|
|
android:background="@drawable/circle_mask"
|
|
android:clipToOutline="true"
|
|
android:scaleType="centerCrop"
|
|
android:src="@drawable/ic_profile" />
|
|
|
|
<TextView
|
|
android:id="@+id/usernameText"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignBottom="@id/avatarImage"
|
|
android:layout_marginStart="12dp"
|
|
android:layout_toEndOf="@id/avatarImage"
|
|
android:text="BtwIsSanti"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="20sp"
|
|
android:textStyle="bold" />
|
|
</RelativeLayout>
|
|
|
|
<!-- Contenido con márgenes -->
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginEnd="16dp">
|
|
|
|
<!-- Biografía -->
|
|
<EditText
|
|
android:id="@+id/editBiography"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:layout_marginTop="12dp"
|
|
android:background="@drawable/edit_text_background"
|
|
android:hint="Escribe tu biografía aquí"
|
|
android:textColor="@android:color/white"
|
|
android:textColorHint="@android:color/white"
|
|
android:inputType="textMultiLine"
|
|
android:minLines="2"
|
|
android:maxLines="5"
|
|
android:textSize="14sp" />
|
|
|
|
<Button
|
|
android:id="@+id/buttonSaveBio"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="4dp"
|
|
android:text="Guardar Biografía" />
|
|
|
|
<!-- Anime Stats -->
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:text="Anime Stats"
|
|
android:textSize="18sp"
|
|
android:textStyle="bold"
|
|
android:textColor="@android:color/white" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/animeStatsContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="16dp"
|
|
android:orientation="vertical" />
|
|
|
|
<!-- Manga Stats -->
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:text="Manga Stats"
|
|
android:textSize="18sp"
|
|
android:textStyle="bold"
|
|
android:textColor="@android:color/white" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/mangaStatsContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="16dp"
|
|
android:orientation="vertical" />
|
|
|
|
<!-- Estado -->
|
|
<EditText
|
|
android:id="@+id/editStatus"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:background="@drawable/edit_text_background"
|
|
android:hint="¿Qué estás pensando?"
|
|
android:inputType="text"
|
|
android:textColor="@android:color/white"
|
|
android:textColorHint="@android:color/white"
|
|
android:textSize="14sp" />
|
|
|
|
<Button
|
|
android:id="@+id/buttonPostStatus"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="4dp"
|
|
android:text="Publicar Estado" />
|
|
|
|
<!-- Actividad Reciente -->
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:text="Actividad Reciente"
|
|
android:textSize="18sp"
|
|
android:textStyle="bold"
|
|
android:textColor="@android:color/white" />
|
|
|
|
</LinearLayout>
|
|
|
|
<!-- ¡ESTO es lo nuevo! El contenedor alineado con el título -->
|
|
<LinearLayout
|
|
android:id="@+id/activityContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginEnd="16dp" />
|
|
</LinearLayout>
|
|
</ScrollView>
|