From 9b2241a6c9ecd87ec3f61f3c9283ae4074641d06 Mon Sep 17 00:00:00 2001 From: Maxch26 Date: Mon, 18 Mar 2024 01:00:07 -0600 Subject: [PATCH 1/2] =?UTF-8?q?Le=20puse=20el=20GridLayout=20con=20unos=20?= =?UTF-8?q?botones=20para=20probar=20pero=20no=20se=20pudo=20emular,=20com?= =?UTF-8?q?ent=C3=A9=20una=20parte=20del=20MainActivity=20y=20ya?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../example/pantallacompra/MainActivity.kt | 12 +- app/src/main/res/layout/pantalla_sala.xml | 656 ++++++++++++++++++ 2 files changed, 662 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/com/example/pantallacompra/MainActivity.kt b/app/src/main/java/com/example/pantallacompra/MainActivity.kt index 729bf7a..ff8ecb7 100644 --- a/app/src/main/java/com/example/pantallacompra/MainActivity.kt +++ b/app/src/main/java/com/example/pantallacompra/MainActivity.kt @@ -22,14 +22,14 @@ class MainActivity : AppCompatActivity() { salasReference= FirebaseDatabase.getInstance().getReference("Salas") asientosReference= FirebaseDatabase.getInstance().getReference("Asientos") - setContentView(R.layout.activity_main) + setContentView(R.layout.pantalla_sala) - val boton = findViewById