Merge remote-tracking branch 'origin/master'
# Conflicts: # app/src/main/java/com/example/pantallacompra/compra.kt
This commit is contained in:
commit
6602ae6d3e
|
@ -19,7 +19,7 @@ class ChairList : AppCompatActivity() {
|
|||
private lateinit var dbreference : DatabaseReference
|
||||
private lateinit var recycleView: RecyclerView
|
||||
private lateinit var eventList : ArrayList<Asiento>
|
||||
private lateinit var seleccionados : ArrayList<String>
|
||||
public lateinit var seleccionados : ArrayList<String>
|
||||
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
|
||||
|
@ -73,6 +73,7 @@ class ChairList : AppCompatActivity() {
|
|||
|
||||
adapter.setOnItemClickListener(object : ChairAdapter.onItemClickListener{
|
||||
override fun onItemClick(position: Int) {
|
||||
Toast.makeText(this@ChairList,"No deja",Toast.LENGTH_SHORT).show()
|
||||
adapter.toggleSelection(position)
|
||||
}
|
||||
|
||||
|
|
|
@ -4,58 +4,34 @@ import android.content.Intent
|
|||
import android.os.Bundle
|
||||
import android.widget.Button
|
||||
import android.widget.EditText
|
||||
import android.widget.ImageView
|
||||
import android.widget.Toast
|
||||
import androidx.appcompat.app.AlertDialog
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import com.bumptech.glide.Glide
|
||||
|
||||
|
||||
class compra: AppCompatActivity() {
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
setContentView(R.layout.pantallacompra)
|
||||
|
||||
val btnComprar: Button = findViewById(R.id.buttonComprar)
|
||||
val btnCancelar: Button = findViewById(R.id.buttonCancelar)
|
||||
val editTextNombre: EditText = findViewById(R.id.editTextNombre)
|
||||
val editTextTelefono: EditText = findViewById(R.id.editTextTelefono)
|
||||
val btnComprar: Button = findViewById(R.id.buttonComprar)
|
||||
|
||||
btnComprar.setOnClickListener {
|
||||
val nombre = editTextNombre.text.toString()
|
||||
val telefono = editTextTelefono.text.toString()
|
||||
|
||||
// Verifica si se ingresó un nombre y un teléfono antes de mostrar el mensaje
|
||||
if (nombre.isNotEmpty() && telefono.isNotEmpty()) {
|
||||
val mensaje = "Nombre: $nombre\nTeléfono: $telefono"
|
||||
mostrarMensaje(mensaje)
|
||||
Toast.makeText(this, mensaje, Toast.LENGTH_SHORT).show()
|
||||
} else {
|
||||
mostrarAlerta("Error", "Por favor, ingrese su nombre y número de teléfono")
|
||||
Toast.makeText(this, "Por favor, ingrese su nombre y número de teléfono", Toast.LENGTH_SHORT).show()
|
||||
}
|
||||
}
|
||||
|
||||
val btnCancelar: Button = findViewById(R.id.buttonCancelar)
|
||||
|
||||
btnCancelar.setOnClickListener {
|
||||
val intent = Intent(this, EventList::class.java)
|
||||
startActivity(intent)
|
||||
}
|
||||
}
|
||||
|
||||
private fun mostrarMensaje(mensaje: String) {
|
||||
val builder = AlertDialog.Builder(this)
|
||||
builder.setTitle("Datos de la compra")
|
||||
builder.setMessage(mensaje)
|
||||
builder.setPositiveButton("Aceptar", null)
|
||||
val dialog = builder.create()
|
||||
dialog.show()
|
||||
}
|
||||
|
||||
private fun mostrarAlerta(titulo: String, mensaje: String) {
|
||||
val builder = AlertDialog.Builder(this)
|
||||
builder.setTitle(titulo)
|
||||
builder.setMessage(mensaje)
|
||||
builder.setPositiveButton("Aceptar", null)
|
||||
val dialog = builder.create()
|
||||
dialog.show()
|
||||
}
|
||||
}
|
|
@ -14,9 +14,10 @@
|
|||
android:background="#08404F"
|
||||
android:gravity="center"
|
||||
android:text="Playpal"
|
||||
android:fontFamily="@font/cinepolis"
|
||||
android:textAlignment="gravity"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="34sp"
|
||||
android:textSize="50sp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
@ -33,11 +34,11 @@
|
|||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/chairRecycleView"
|
||||
android:layout_width="374dp"
|
||||
android:layout_height="499dp"
|
||||
android:layout_marginTop="60dp"
|
||||
android:layout_width="375dp"
|
||||
android:layout_height="299dp"
|
||||
android:layout_marginTop="76dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.567"
|
||||
app:layout_constraintHorizontal_bias="0.444"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/eventTextTitle" />
|
||||
|
||||
|
@ -59,35 +60,43 @@
|
|||
android:id="@+id/eventoText"
|
||||
android:layout_width="292dp"
|
||||
android:layout_height="59dp"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:fontFamily="@font/cinepolis"
|
||||
android:gravity="center"
|
||||
android:text="Los Caligaris"
|
||||
|
||||
android:textAlignment="center"
|
||||
android:textSize="30sp"
|
||||
app:layout_constraintBottom_toTopOf="@+id/chairRecycleView"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.0"
|
||||
app:layout_constraintStart_toEndOf="@+id/noSalaText"
|
||||
app:layout_constraintTop_toBottomOf="@+id/eventTextTitle" />
|
||||
app:layout_constraintTop_toBottomOf="@+id/eventTextTitle"
|
||||
app:layout_constraintVertical_bias="0.0" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="409dp"
|
||||
android:layout_height="81dp"
|
||||
android:layout_marginTop="502dp"
|
||||
android:id="@+id/linearLayout"
|
||||
android:layout_width="366dp"
|
||||
android:layout_height="77dp"
|
||||
android:layout_marginTop="28dp"
|
||||
android:layout_marginEnd="2dp"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.511"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/chairRecycleView">
|
||||
app:layout_constraintTop_toBottomOf="@+id/textView8">
|
||||
|
||||
<Button
|
||||
android:id="@+id/btncancelar"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="4dp"
|
||||
android:layout_marginTop="15dp"
|
||||
android:layout_weight="1"
|
||||
android:backgroundTint="#D9D9D9"
|
||||
android:text="Cancelar"
|
||||
android:fontFamily="@font/cinepolis"
|
||||
android:text="Cancelar"
|
||||
android:textColor="#000000"
|
||||
android:layout_marginTop="15dp"
|
||||
android:layout_marginLeft="4dp"
|
||||
android:textSize="18dp" />
|
||||
|
||||
<Button
|
||||
|
@ -105,4 +114,20 @@
|
|||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView8"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="130dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:background="#612020"
|
||||
android:fontFamily="@font/cinepolis"
|
||||
android:gravity="center"
|
||||
android:text="Escenario"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="50dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.0"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/chairRecycleView" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -19,6 +19,8 @@
|
|||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/logo"
|
||||
android:layout_width="97dp"
|
||||
|
@ -39,6 +41,284 @@
|
|||
app:layout_constraintStart_toStartOf="parent"
|
||||
tools:layout_editor_absoluteY="106dp" />
|
||||
|
||||
<!-- Rojo -->
|
||||
<GridLayout
|
||||
android:layout_width="0dp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:layout_margin="10dp"
|
||||
android:columnCount="11"
|
||||
android:rowCount="3"
|
||||
android:layout_height="0dp">
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton1"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="50dp"
|
||||
tools:layout_editor_absoluteY="163dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton2"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="80dp"
|
||||
tools:layout_editor_absoluteY="163dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton3"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="110dp"
|
||||
tools:layout_editor_absoluteY="163dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton4"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="140dp"
|
||||
tools:layout_editor_absoluteY="163dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton5"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="170dp"
|
||||
tools:layout_editor_absoluteY="163dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton6"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="200dp"
|
||||
tools:layout_editor_absoluteY="163dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton7"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="230dp"
|
||||
tools:layout_editor_absoluteY="163dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton8"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="260dp"
|
||||
tools:layout_editor_absoluteY="163dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton9"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="290dp"
|
||||
tools:layout_editor_absoluteY="163dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton10"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="320dp"
|
||||
tools:layout_editor_absoluteY="163dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton11"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="350dp"
|
||||
tools:layout_editor_absoluteY="163dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton12"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="50dp"
|
||||
tools:layout_editor_absoluteY="184dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton13"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="80dp"
|
||||
tools:layout_editor_absoluteY="184dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton14"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="110dp"
|
||||
tools:layout_editor_absoluteY="184dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton15"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="140dp"
|
||||
tools:layout_editor_absoluteY="184dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton16"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="170dp"
|
||||
tools:layout_editor_absoluteY="184dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton17"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="200dp"
|
||||
tools:layout_editor_absoluteY="184dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton18"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="230dp"
|
||||
tools:layout_editor_absoluteY="184dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton19"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="260dp"
|
||||
tools:layout_editor_absoluteY="184dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton20"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="290dp"
|
||||
tools:layout_editor_absoluteY="184dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton21"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="320dp"
|
||||
tools:layout_editor_absoluteY="184dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton22"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="350dp"
|
||||
tools:layout_editor_absoluteY="184dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton23"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="50dp"
|
||||
tools:layout_editor_absoluteY="205dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton24"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="80dp"
|
||||
tools:layout_editor_absoluteY="205dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton25"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="110dp"
|
||||
tools:layout_editor_absoluteY="205dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton26"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="140dp"
|
||||
tools:layout_editor_absoluteY="205dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton27"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="170dp"
|
||||
tools:layout_editor_absoluteY="205dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton28"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="200dp"
|
||||
tools:layout_editor_absoluteY="205dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton29"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="230dp"
|
||||
tools:layout_editor_absoluteY="205dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton30"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="260dp"
|
||||
tools:layout_editor_absoluteY="205dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton31"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="290dp"
|
||||
tools:layout_editor_absoluteY="205dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton32"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="320dp"
|
||||
tools:layout_editor_absoluteY="205dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton33"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#FF0000"
|
||||
tools:layout_editor_absoluteX="350dp"
|
||||
tools:layout_editor_absoluteY="205dp" />
|
||||
|
||||
</GridLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView3"
|
||||
android:layout_width="300dp"
|
||||
|
@ -51,6 +331,222 @@
|
|||
app:layout_constraintStart_toStartOf="parent"
|
||||
tools:layout_editor_absoluteY="241dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton34"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#08404F"
|
||||
tools:layout_editor_absoluteX="50dp"
|
||||
tools:layout_editor_absoluteY="297dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton35"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#08404F"
|
||||
tools:layout_editor_absoluteX="80dp"
|
||||
tools:layout_editor_absoluteY="297dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton36"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#08404F"
|
||||
tools:layout_editor_absoluteX="110dp"
|
||||
tools:layout_editor_absoluteY="297dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton37"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#08404F"
|
||||
tools:layout_editor_absoluteX="170dp"
|
||||
tools:layout_editor_absoluteY="297dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton38"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#08404F"
|
||||
tools:layout_editor_absoluteX="200dp"
|
||||
tools:layout_editor_absoluteY="297dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton39"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#08404F"
|
||||
tools:layout_editor_absoluteX="230dp"
|
||||
tools:layout_editor_absoluteY="297dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton40"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#08404F"
|
||||
tools:layout_editor_absoluteX="290dp"
|
||||
tools:layout_editor_absoluteY="297dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton41"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#08404F"
|
||||
tools:layout_editor_absoluteX="320dp"
|
||||
tools:layout_editor_absoluteY="297dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton42"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#08404F"
|
||||
tools:layout_editor_absoluteX="350dp"
|
||||
tools:layout_editor_absoluteY="297dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton43"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#08404F"
|
||||
tools:layout_editor_absoluteX="50dp"
|
||||
tools:layout_editor_absoluteY="318dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton44"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#08404F"
|
||||
tools:layout_editor_absoluteX="80dp"
|
||||
tools:layout_editor_absoluteY="318dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton45"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#08404F"
|
||||
tools:layout_editor_absoluteX="110dp"
|
||||
tools:layout_editor_absoluteY="318dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton46"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#08404F"
|
||||
tools:layout_editor_absoluteX="170dp"
|
||||
tools:layout_editor_absoluteY="318dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton47"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#08404F"
|
||||
tools:layout_editor_absoluteX="200dp"
|
||||
tools:layout_editor_absoluteY="318dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton48"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#08404F"
|
||||
tools:layout_editor_absoluteX="230dp"
|
||||
tools:layout_editor_absoluteY="318dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton49"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#08404F"
|
||||
tools:layout_editor_absoluteX="290dp"
|
||||
tools:layout_editor_absoluteY="318dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton50"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#08404F"
|
||||
tools:layout_editor_absoluteX="320dp"
|
||||
tools:layout_editor_absoluteY="318dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton51"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#08404F"
|
||||
tools:layout_editor_absoluteX="350dp"
|
||||
tools:layout_editor_absoluteY="318dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton52"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#08404F"
|
||||
tools:layout_editor_absoluteX="50dp"
|
||||
tools:layout_editor_absoluteY="339dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton53"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#08404F"
|
||||
tools:layout_editor_absoluteX="80dp"
|
||||
tools:layout_editor_absoluteY="339dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton54"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#08404F"
|
||||
tools:layout_editor_absoluteX="110dp"
|
||||
tools:layout_editor_absoluteY="339dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton55"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#08404F"
|
||||
tools:layout_editor_absoluteX="170dp"
|
||||
tools:layout_editor_absoluteY="339dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton56"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#08404F"
|
||||
tools:layout_editor_absoluteX="200dp"
|
||||
tools:layout_editor_absoluteY="339dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton57"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#08404F"
|
||||
tools:layout_editor_absoluteX="230dp"
|
||||
tools:layout_editor_absoluteY="339dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton58"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#08404F"
|
||||
tools:layout_editor_absoluteX="290dp"
|
||||
tools:layout_editor_absoluteY="339dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton59"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#08404F"
|
||||
tools:layout_editor_absoluteX="320dp"
|
||||
tools:layout_editor_absoluteY="339dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton60"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#08404F"
|
||||
tools:layout_editor_absoluteX="350dp"
|
||||
tools:layout_editor_absoluteY="339dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView4"
|
||||
android:layout_width="300dp"
|
||||
|
@ -63,6 +559,166 @@
|
|||
app:layout_constraintStart_toStartOf="parent"
|
||||
tools:layout_editor_absoluteY="369dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton61"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#10E4E4"
|
||||
tools:layout_editor_absoluteX="50dp"
|
||||
tools:layout_editor_absoluteY="434dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton62"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#10E4E4"
|
||||
tools:layout_editor_absoluteX="80dp"
|
||||
tools:layout_editor_absoluteY="434dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton63"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#10E4E4"
|
||||
tools:layout_editor_absoluteX="110dp"
|
||||
tools:layout_editor_absoluteY="434dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton64"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#10E4E4"
|
||||
tools:layout_editor_absoluteX="140dp"
|
||||
tools:layout_editor_absoluteY="434dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton65"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#10E4E4"
|
||||
tools:layout_editor_absoluteX="170dp"
|
||||
tools:layout_editor_absoluteY="434dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton66"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#10E4E4"
|
||||
tools:layout_editor_absoluteX="200dp"
|
||||
tools:layout_editor_absoluteY="434dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton67"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#10E4E4"
|
||||
tools:layout_editor_absoluteX="230dp"
|
||||
tools:layout_editor_absoluteY="434dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton68"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#10E4E4"
|
||||
tools:layout_editor_absoluteX="260dp"
|
||||
tools:layout_editor_absoluteY="434dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton69"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#10E4E4"
|
||||
tools:layout_editor_absoluteX="290dp"
|
||||
tools:layout_editor_absoluteY="434dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton70"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#10E4E4"
|
||||
tools:layout_editor_absoluteX="320dp"
|
||||
tools:layout_editor_absoluteY="434dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton71"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#10E4E4"
|
||||
tools:layout_editor_absoluteX="350dp"
|
||||
tools:layout_editor_absoluteY="434dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton72"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#10E4E4"
|
||||
tools:layout_editor_absoluteX="80dp"
|
||||
tools:layout_editor_absoluteY="453dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton73"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#10E4E4"
|
||||
tools:layout_editor_absoluteX="110dp"
|
||||
tools:layout_editor_absoluteY="453dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton74"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#10E4E4"
|
||||
tools:layout_editor_absoluteX="140dp"
|
||||
tools:layout_editor_absoluteY="453dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton75"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#10E4E4"
|
||||
tools:layout_editor_absoluteX="170dp"
|
||||
tools:layout_editor_absoluteY="453dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton76"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#10E4E4"
|
||||
tools:layout_editor_absoluteX="200dp"
|
||||
tools:layout_editor_absoluteY="453dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton77"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#10E4E4"
|
||||
tools:layout_editor_absoluteX="230dp"
|
||||
tools:layout_editor_absoluteY="453dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton78"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#10E4E4"
|
||||
tools:layout_editor_absoluteX="260dp"
|
||||
tools:layout_editor_absoluteY="453dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton79"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#10E4E4"
|
||||
tools:layout_editor_absoluteX="290dp"
|
||||
tools:layout_editor_absoluteY="453dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/boton80"
|
||||
android:layout_width="45px"
|
||||
android:layout_height="45px"
|
||||
android:backgroundTint="#10E4E4"
|
||||
tools:layout_editor_absoluteX="320dp"
|
||||
tools:layout_editor_absoluteY="453dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView5"
|
||||
android:layout_width="414dp"
|
||||
|
|
|
@ -97,8 +97,8 @@
|
|||
android:id="@+id/textView3"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_marginStart="4dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:gravity="center"
|
||||
android:text="DETALLES DE LA VENTA"
|
||||
android:textColor="#FFFFFF"
|
||||
|
@ -207,20 +207,6 @@
|
|||
app:layout_constraintStart_toStartOf="@id/textView7"
|
||||
app:layout_constraintTop_toBottomOf="@id/editTextNombre" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/buttonComprar"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:backgroundTint="#D9D9D9"
|
||||
android:text="Comprar"
|
||||
android:textColor="#000000"
|
||||
android:textSize="10sp"
|
||||
app:layout_constraintEnd_toStartOf="@id/buttonCancelar"
|
||||
app:layout_constraintStart_toStartOf="@id/editTextNombre"
|
||||
app:layout_constraintTop_toBottomOf="@id/editTextTelefono" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/buttonCancelar"
|
||||
android:layout_width="0dp"
|
||||
|
@ -229,11 +215,27 @@
|
|||
android:layout_marginTop="16dp"
|
||||
android:backgroundTint="#D9D9D9"
|
||||
android:text="Cancelar"
|
||||
android:fontFamily="@font/cinepolis"
|
||||
android:textColor="#000000"
|
||||
android:textSize="10sp"
|
||||
app:layout_constraintEnd_toEndOf="@id/editTextTelefono"
|
||||
android:textSize="18sp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/buttonComprar"
|
||||
app:layout_constraintTop_toBottomOf="@id/editTextTelefono" />
|
||||
<Button
|
||||
android:id="@+id/buttonComprar"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:backgroundTint="#D9D9D9"
|
||||
android:text="Comprar"
|
||||
android:fontFamily="@font/cinepolis"
|
||||
android:textColor="#000000"
|
||||
android:textSize="18sp"
|
||||
app:layout_constraintEnd_toStartOf="@id/buttonCancelar"
|
||||
app:layout_constraintStart_toStartOf="@id/editTextNombre"
|
||||
app:layout_constraintTop_toBottomOf="@id/editTextTelefono" />
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
|
Loading…
Reference in New Issue