Why do not the buttons I create in xml show up in avd? In the layout they appear with a gray color, however when boto to run in the emulator they are simply invisible. If I put some text in the button, the text appears, but the button does not. I'm following the tutorial to create this game and did nothing different, but mine is like this.
My xml file:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<Button
android:layout_width="100dp"
android:layout_height="100dp"
android:tag="quadrado1"
android:onClick="clickQuadrado" />
<Button
android:layout_width="100dp"
android:layout_height="100dp"
android:tag="quadrado2"
android:onClick="clickQuadrado" />
<Button
android:layout_width="100dp"
android:layout_height="100dp"
android:tag="quadrado3"
android:onClick="clickQuadrado" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<Button
android:layout_width="100dp"
android:layout_height="100dp"
android:tag="quadrado4"
android:onClick="clickQuadrado" />
<Button
android:layout_width="100dp"
android:layout_height="100dp"
android:tag="quadrado5"
android:onClick="clickQuadrado" />
<Button
android:layout_width="100dp"
android:layout_height="100dp"
android:tag="quadrado6"
android:onClick="clickQuadrado" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<Button
android:layout_width="100dp"
android:layout_height="100dp"
android:tag="quadrado7"
android:onClick="clickQuadrado" />
<Button
android:layout_width="100dp"
android:layout_height="100dp"
android:tag="quadrado8"
android:onClick="clickQuadrado" />
<Button
android:layout_width="100dp"
android:layout_height="100dp"
android:tag="quadrado9"
android:onClick="clickQuadrado" />
</LinearLayout>
</LinearLayout>