Initial commit
This commit is contained in:
@@ -0,0 +1,153 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/bg_helldivers_gradient">
|
||||
|
||||
<!-- Contador -->
|
||||
<TextView
|
||||
android:id="@+id/tv_counter"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_margin="8dp"
|
||||
android:text="0"
|
||||
android:textSize="24sp"
|
||||
android:textStyle="bold"
|
||||
android:textColor="#00FF00" />
|
||||
|
||||
<!-- Secuencia - arriba -->
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_counter_label"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignTop="@id/tv_counter"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginEnd="26dp"
|
||||
android:layout_toStartOf="@id/tv_counter"
|
||||
android:text="ESTRATAGEMAS: "
|
||||
android:textColor="#00FF00"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_sequence"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_above="@id/buttons_grid"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:text=""
|
||||
android:textSize="36sp"
|
||||
android:textStyle="bold"
|
||||
android:textColor="#FFD700" />
|
||||
|
||||
<!-- Botones - mas separadas -->
|
||||
<GridLayout
|
||||
android:id="@+id/buttons_grid"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="48dp"
|
||||
android:rowCount="3"
|
||||
android:columnCount="3"
|
||||
android:padding="16dp">
|
||||
|
||||
<Space
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:layout_row="0"
|
||||
android:layout_column="0" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_up"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:layout_row="0"
|
||||
android:layout_column="1"
|
||||
android:background="@drawable/btn_direction"
|
||||
android:text="↑"
|
||||
android:textColor="#FFD700"
|
||||
android:textSize="36sp"
|
||||
android:layout_margin="6dp" />
|
||||
|
||||
<Space
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:layout_row="0"
|
||||
android:layout_column="2" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_left"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:layout_row="1"
|
||||
android:layout_column="0"
|
||||
android:background="@drawable/btn_direction"
|
||||
android:text="←"
|
||||
android:textColor="#FFD700"
|
||||
android:textSize="36sp"
|
||||
android:layout_margin="6dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_down"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:layout_row="1"
|
||||
android:layout_column="1"
|
||||
android:background="@drawable/btn_direction"
|
||||
android:text="↓"
|
||||
android:textColor="#FFD700"
|
||||
android:textSize="36sp"
|
||||
android:layout_margin="6dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_right"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:layout_row="1"
|
||||
android:layout_column="2"
|
||||
android:background="@drawable/btn_direction"
|
||||
android:text="→"
|
||||
android:textColor="#FFD700"
|
||||
android:textSize="36sp"
|
||||
android:layout_margin="6dp" />
|
||||
|
||||
<Space
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="10dp"
|
||||
android:layout_row="2"
|
||||
android:layout_column="0" />
|
||||
|
||||
<Space
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="10dp"
|
||||
android:layout_row="2"
|
||||
android:layout_column="1" />
|
||||
|
||||
<Space
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="10dp"
|
||||
android:layout_row="2"
|
||||
android:layout_column="2" />
|
||||
|
||||
</GridLayout>
|
||||
|
||||
<!-- Volver -->
|
||||
<Button
|
||||
android:id="@+id/btn_volver"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:text="VOLVER"
|
||||
android:textSize="14sp"
|
||||
android:textColor="#FFD700"
|
||||
android:background="@drawable/btn_helldivers_secondary"
|
||||
android:paddingHorizontal="24dp"
|
||||
android:paddingVertical="8dp" />
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -0,0 +1,87 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout 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:orientation="vertical"
|
||||
android:background="@drawable/bg_helldivers_gradient"
|
||||
android:gravity="center_horizontal"
|
||||
android:padding="16dp">
|
||||
|
||||
<!-- Logo Helldivers 2 - Area superior -->
|
||||
<TextView
|
||||
android:id="@+id/logo_helldivers"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginBottom="24dp"
|
||||
android:text="HELLDIVERS"
|
||||
android:textSize="36sp"
|
||||
android:textStyle="bold"
|
||||
android:textColor="#FFD700"
|
||||
android:fontFamily="monospace"
|
||||
android:shadowColor="#FF6B00"
|
||||
android:shadowDx="2"
|
||||
android:shadowDy="2"
|
||||
android:shadowRadius="4" />
|
||||
|
||||
<!-- Contenedor principal de botones -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center"
|
||||
android:paddingHorizontal="48dp">
|
||||
|
||||
<!-- Boton QR Instagram -->
|
||||
<androidx.appcompat.widget.AppCompatButton
|
||||
android:id="@+id/btn_qr_instagram"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginEnd="32dp"
|
||||
android:minHeight="72dp"
|
||||
android:text="@string/btn_qr_instagram"
|
||||
android:textColor="@color/helldivers_yellow"
|
||||
android:textSize="18sp"
|
||||
android:textAllCaps="true"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:background="@drawable/btn_helldivers_primary"
|
||||
android:drawableTop="@drawable/ic_qr_code"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingBottom="12dp"
|
||||
android:gravity="center" />
|
||||
|
||||
<!-- Boton Minijuego -->
|
||||
<androidx.appcompat.widget.AppCompatButton
|
||||
android:id="@+id/btn_minijuego"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginStart="32dp"
|
||||
android:minHeight="72dp"
|
||||
android:text="@string/btn_minijuego"
|
||||
android:textColor="@color/helldivers_yellow"
|
||||
android:textSize="18sp"
|
||||
android:textAllCaps="true"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:background="@drawable/btn_helldivers_primary"
|
||||
android:drawableTop="@drawable/ic_gamepad"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingBottom="12dp"
|
||||
android:gravity="center" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<!-- Footer con version -->
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:text="@string/app_version"
|
||||
android:textColor="@color/helldivers_gray"
|
||||
android:textSize="12sp"
|
||||
android:fontFamily="sans-serif-condensed" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/bg_helldivers_gradient">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/qr_image"
|
||||
android:layout_width="440dp"
|
||||
android:layout_height="379dp"
|
||||
android:layout_above="@id/btn_volver"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="-48dp"
|
||||
android:background="#FFFFFF"
|
||||
android:contentDescription="@string/qr_description"
|
||||
android:padding="8dp"
|
||||
android:scaleType="fitCenter" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_volver"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:background="@drawable/btn_helldivers_secondary"
|
||||
android:paddingHorizontal="36dp"
|
||||
android:paddingVertical="12dp"
|
||||
android:text="VOLVER"
|
||||
android:textColor="#FFD700"
|
||||
android:textSize="18sp" />
|
||||
|
||||
</RelativeLayout>
|
||||
Reference in New Issue
Block a user