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"
- xmlns:tools="http://schemas.android.com/tools"
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:weightSum="100"
- tools:context=".MainActivity">
- <TextView
- android:id="@+id/Virtual_Screen"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="16"
- />
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_weight="17"
- android:layout_height="0dp"
- android:weightSum="100"
- tools:context=".MainActivity">
- <Button
- android:id="@+id/buttonCancel"
- android:layout_width="0dp"
- Chevre
- android:layout_height="match_parent"
- android:layout_weight="25"
- android:text="@string/buttonCancel"/>
- <Button
- android:id="@+id/buttonParenthesis"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="25"
- android:text="@string/buttonParenthesis"/>
- <Space
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="25"/>
- <Button
- android:id="@+id/buttonDivide"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="25"
- android:text="@string/buttonDivide"/>
- </LinearLayout>
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_weight="17"
- android:layout_height="0dp"
- android:weightSum="100"
- tools:context=".MainActivity">
- <Button
- android:id="@+id/button7"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="25"
- android:text="@string/button7"/>
- <Button
- android:id="@+id/button8"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="25"
- android:text="@string/button8"/>
- <Button
- android:id="@+id/button9"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="25"
- android:text="@string/button9"/>
- <Button
- android:id="@+id/buttonMultiply"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="25"
- android:text="@string/buttonMultiply"/>
- </LinearLayout>
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_weight="17"
- android:layout_height="0dp"
- android:weightSum="100"
- tools:context=".MainActivity">
- <Button
- android:id="@+id/button4"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="25"
- android:text="@string/button4"/>
- <Button
- android:id="@+id/button5"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="25"
- android:text="@string/button5"/>
- <Button
- android:id="@+id/button6"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="25"
- android:text="@string/button6"/>
- <Button
- android:id="@+id/buttonMinus"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="25"
- android:text="@string/buttonMinus"/>
- </LinearLayout>
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_weight="17"
- android:layout_height="0dp"
- android:weightSum="100"
- tools:context=".MainActivity">
- <Button
- android:id="@+id/button1"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="25"
- android:text="@string/button1"/>
- <Button
- android:id="@+id/button2"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="25"
- android:text="@string/button2"/>
- <Button
- android:id="@+id/button3"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="25"
- android:text="@string/button3"/>
- <Button
- android:id="@+id/buttonAnd"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="25"
- android:text="@string/buttonAnd"/>
- </LinearLayout>
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_weight="17"
- android:layout_height="0dp"
- android:weightSum="100"
- tools:context=".MainActivity">
- <Space
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="25"/>
- <Button
- android:id="@+id/button0"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="25"
- android:text="@string/button0"/>
- <Button
- android:id="@+id/buttonComa"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="25"
- android:text="@string/buttonComa"/>
- <Button
- android:id="@+id/buttonEqual"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="25"
- android:text="@string/buttonEqual"/>
- </LinearLayout>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement