move Equals at the bottom right corner in portrait mode
This commit is contained in:
parent
6afb4eceef
commit
5013301092
|
@ -64,14 +64,6 @@
|
|||
android:layout_weight="1"
|
||||
android:text="√" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_clear"
|
||||
style="@style/MyButton"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:text="C" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_reset"
|
||||
style="@style/MyButton"
|
||||
|
@ -81,6 +73,14 @@
|
|||
android:text="AC"
|
||||
android:visibility="gone" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_divide"
|
||||
style="@style/MyButton"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:text="÷" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
|
@ -114,12 +114,12 @@
|
|||
android:text="9" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_divide"
|
||||
android:id="@+id/btn_multiply"
|
||||
style="@style/MyButton"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:text="÷" />
|
||||
android:text="×" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
@ -154,12 +154,12 @@
|
|||
android:text="6" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_multiply"
|
||||
android:id="@+id/btn_minus"
|
||||
style="@style/MyButton"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:text="×" />
|
||||
android:text="-" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
@ -194,12 +194,12 @@
|
|||
android:text="3" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_minus"
|
||||
android:id="@+id/btn_plus"
|
||||
style="@style/MyButton"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:text="-" />
|
||||
android:text="+" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
@ -225,6 +225,14 @@
|
|||
android:layout_weight="1"
|
||||
android:text="." />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_clear"
|
||||
style="@style/MyButton"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:text="C" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_equals"
|
||||
style="@style/MyButton"
|
||||
|
@ -233,13 +241,5 @@
|
|||
android:layout_weight="1"
|
||||
android:text="=" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_plus"
|
||||
style="@style/MyButton"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:text="+" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
|
Loading…
Reference in New Issue