diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 0f8f0a7..766f0c7 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -12,6 +12,17 @@
android:supportsRtl="true"
android:theme="@style/Theme.PantallaCompra"
tools:targetApi="31" >
+
+
+
diff --git a/app/src/main/java/com/example/pantallacompra/MainActivity.kt b/app/src/main/java/com/example/pantallacompra/MainActivity.kt
index 183b718..85f1242 100644
--- a/app/src/main/java/com/example/pantallacompra/MainActivity.kt
+++ b/app/src/main/java/com/example/pantallacompra/MainActivity.kt
@@ -1,11 +1,76 @@
package com.example.pantallacompra
+import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
+import android.widget.Button
+import androidx.recyclerview.widget.GridLayoutManager
+import androidx.recyclerview.widget.RecyclerView
class MainActivity : AppCompatActivity() {
+ private lateinit var binding: ActivityMainBinding
+ private lateinit var eventosReferences : DatabaseReference
+ private lateinit var salasReference: DatabaseReference
+ private lateinit var asientosReference: DatabaseReference
+
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
+ binding= ActivityMainBinding.inflate(layoutInflater)
+ eventosReferences= FirebaseDatabase.getInstance().getReference("Eventos")
+ salasReference= FirebaseDatabase.getInstance().getReference("Salas")
+ asientosReference= FirebaseDatabase.getInstance().getReference("Asientos")
+
setContentView(R.layout.activity_main)
+
+ val boton = findViewById