<?xml version= "1.0" encoding= "Utf-8"? ><gridlayout xmlns:android= "Http://schemas.android.com/apk/res/android"Android:layout_width= "Match_parent"Android:layout_height= "Match_parent"Android:rowcount= "6"Android:columncount= "4" > <TextView android:layout_width= "Match_parent"Android:layout_height= "200DP"Android:background= "#ccc"Android:text= "0"android:textsize= "30SP"android:gravity= "Right"Android:layout_columnspan= "4"/> <Button android:layout_width= "0DP"Android:layout_height= "0DP"Android:text= "C"android:textsize= "25SP"Android:layout_columnweight= "1"Android:layout_rowweight= "1"/> <Button android:layout_width= "0DP"Android:layout_height= "0DP"Android:text= "DEL"android:textsize= "25SP"Android:layout_columnweight= "1"Android:layout_rowweight= "1"/> <Button android:layout_width= "0DP"Android:layout_height= "0DP"Android:text= "÷"Android:background= "#ff0"android:textsize= "35SP"Android:layout_columnweight= "1"Android:layout_rowweight= "1"/> <Button android:layout_width= "0DP"Android:layout_height= "0DP"Android:text= "X"Android:background= "#ff0"android:textsize= "25SP"Android:layout_columnweight= "1"Android:layout_rowweight= "1"/> <Button android:layout_width= "0DP"Android:layout_height= "0DP"Android:text= "7"android:textsize= "25SP"Android:layout_columnweight= "1"Android:layout_rowweight= "1"/> <Button android:layout_width= "0DP"Android:layout_height= "0DP"Android:text= "8"android:textsize= "25SP"Android:layout_columnweight= "1"Android:layout_rowweight= "1"/> <Button android:layout_width= "0DP"Android:layout_height= "0DP"Android:text= "9"android:textsize= "25SP"Android:layout_columnweight= "1"Android:layout_rowweight= "1"/> <Button android:layout_width= "0DP"Android:layout_height= "0DP"Android:text="-"Android:background= "#ff0"android:textsize= "35SP"Android:layout_columnweight= "1"Android:layout_rowweight= "1"/> <Button android:layout_width= "0DP"Android:layout_height= "0DP"Android:text= "4"android:textsize= "25SP"Android:layout_columnweight= "1"Android:layout_rowweight= "1"/> <Button android:layout_width= "0DP"Android:layout_height= "0DP"Android:text= "5"android:textsize= "25SP"Android:layout_columnweight= "1"Android:layout_rowweight= "1"/> <Button android:layout_width= "0DP"Android:layout_height= "0DP"Android:text= "6"android:textsize= "25SP"Android:layout_columnweight= "1"Android:layout_rowweight= "1"/> <Button android:layout_width= "0DP"Android:layout_height= "0DP"Android:text="+"Android:background= "#ff0"android:textsize= "30SP"Android:layout_columnweight= "1"Android:layout_rowweight= "1"/> <Button android:layout_width= "0DP"Android:layout_height= "0DP"Android:text= "1"android:textsize= "25SP"Android:layout_columnweight= "1"Android:layout_rowweight= "1"/> <Button android:layout_width= "0DP"Android:layout_height= "0DP"Android:text= "2"android:textsize= "25SP"Android:layout_columnweight= "1"Android:layout_rowweight= "1"/> <Button android:layout_width= "0DP"Android:layout_height= "0DP"Android:text= "3"android:textsize= "25SP"Android:layout_columnweight= "1"Android:layout_rowweight= "1"/> <Button android:layout_width= "0DP"Android:layout_height= "0DP"Android:text="="android:textsize= "30SP"Android:layout_rowspan= "2"android:layout_gravity= "Fill"Android:layout_columnweight= "1"Android:layout_rowweight= "1"/> <Button android:layout_width= "0DP"Android:layout_height= "0DP"Android:text= "0"android:textsize= "25SP"Android:layout_columnspan= "2"Android:layout_columnweight= "1"Android:layout_rowweight= "1"/> <Button android:layout_width= "0DP"Android:layout_height= "0DP"Android:text="."android:textsize= "25DP"Android:layout_columnweight= "1"Android:layout_rowweight= "1"/></gridlayout>
Computer interface, Grid layout