Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="4"
- android:background="@color/black">
- <Button
- android:id="@+id/But1"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:layout_margin="5dp"
- android:textSize="24dp"
- android:background="@color/green" />
- <Button
- android:id="@+id/But2"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:layout_margin="5dp"
- android:textSize="24dp"
- android:background="@color/green"/>
- <Button
- android:id="@+id/But3"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:layout_margin="5dp"
- android:textSize="24dp"
- android:background="@color/green"/>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="4"
- android:background="@color/black">
- <Button
- android:id="@+id/But4"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:layout_margin="5dp"
- android:textSize="24dp"
- android:background="@color/green"/>
- <Button
- android:id="@+id/But5"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:layout_margin="5dp"
- android:textSize="24dp"
- android:background="@color/green"/>
- <Button
- android:id="@+id/But6"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:layout_margin="5dp"
- android:textSize="24dp"
- android:background="@color/green"/>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="4"
- android:background="@color/black">
- <Button
- android:id="@+id/But7"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:layout_margin="5dp"
- android:textSize="24dp"
- android:background="@color/green"/>
- <Button
- android:id="@+id/But8"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:layout_margin="5dp"
- android:textSize="24dp"
- android:background="@color/green"/>
- <Button
- android:id="@+id/But9"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:layout_margin="5dp"
- android:textSize="24dp"
- android:background="@color/green"/>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="3"
- android:background="@color/black">
- <TextView
- android:id="@+id/tviMensaje"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center_vertical"
- android:layout_margin="5dp"
- android:textSize="18dp"
- android:background="@color/green" />
- </LinearLayout>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement