activity_lobby.xml 4.07 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_margin="15dp"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    xmlns:app="http://schemas.android.com/apk/res-auto">

    <!--View de Rooms solo hay principal-->
    <androidx.constraintlayout.widget.ConstraintLayout
        android:id="@+id/lobbyRooms"
        android:visibility="visible"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintHorizontal_bias="0.461"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent">

        <TextView
            android:id="@+id/textID"
            android:text="ID"
            android:padding="10dp"
            android:textSize="24sp"
            android:textColor="@color/white"
            android:background="@color/blue"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent"/>
        <TextView
            android:id="@+id/textNAME"
            android:text="Name"
            android:padding="10dp"
            android:textSize="24sp"
            android:textColor="@color/white"
            android:background="@color/blue"
            android:layout_width="200dp"
            android:layout_height="wrap_content"
            app:layout_constraintStart_toEndOf="@+id/textID"
            app:layout_constraintTop_toTopOf="parent"/>

        <TextView
            android:id="@+id/textAction"
            android:text="Action"
            android:padding="10dp"
            android:textSize="24sp"
            android:textColor="@color/white"
            android:background="@color/blue"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            app:layout_constraintStart_toEndOf="@id/textNAME"
            app:layout_constraintTop_toTopOf="parent"
            app:layout_constraintEnd_toEndOf="parent"/>

        <TextView
            android:layout_marginTop="10dp"
            android:id="@+id/campoID"
            android:text="0"
            android:padding="10dp"
            android:textSize="24sp"
            android:textColor="@color/black"
            android:background="@color/white"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintEnd_toEndOf="@id/textID"
            app:layout_constraintTop_toBottomOf="@id/textID"/>
        <TextView
            android:layout_marginTop="10dp"
            android:id="@+id/campoNAME"
            android:text="-"
            android:gravity="center_horizontal"
            android:padding="10dp"
            android:textSize="24sp"
            android:textColor="@color/blue"
            android:background="@color/white"
            android:layout_width="200dp"
            android:layout_height="wrap_content"
            app:layout_constraintStart_toEndOf="@+id/campoID"
            app:layout_constraintTop_toBottomOf="@id/textNAME"/>

        <Button
            android:id="@+id/btnSelect"
            android:text="Seleccionar"
            android:padding="10dp"
            android:gravity="center"
            android:layout_margin="10dp"
            android:textSize="15sp"
            android:textColor="@color/white"
            android:background="@color/blue"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            app:layout_constraintStart_toEndOf="@id/textNAME"
            app:layout_constraintTop_toBottomOf="@id/textAction"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintBottom_toBottomOf="parent"/>
    </androidx.constraintlayout.widget.ConstraintLayout>


</androidx.constraintlayout.widget.ConstraintLayout>