From 83f9bcdf88f5c676d438d3efa7247d29b116268c Mon Sep 17 00:00:00 2001 From: Binondi Date: Fri, 4 Apr 2025 15:23:01 +0530 Subject: [PATCH] Bug Fix, Added Some More Calculation Features in Calculator Part. --- app/src/main/res/layout/activity_main.xml | 226 ++++++++++++---------- 1 file changed, 122 insertions(+), 104 deletions(-) diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 6f3f941..ce127a7 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -13,47 +13,65 @@ android:layout_width="0dp" android:layout_height="0dp" android:layout_margin="16dp" - app:layout_constraintTop_toTopOf="parent" - app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintHeight_percent="0.3"> + app:layout_constraintHeight_percent="0.3" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> - + app:layout_constraintVertical_chainStyle="packed"> + + + + + + + + @@ -64,209 +82,209 @@ android:layout_height="0dp" android:layout_margin="8dp" app:columnCount="4" - app:rowCount="5" - app:layout_constraintTop_toBottomOf="@id/displayContainer" app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintEnd_toEndOf="parent"> + app:layout_constraintTop_toBottomOf="@id/displayContainer" + app:rowCount="5"> + app:layout_columnWeight="1" + app:layout_rowWeight="1" /> + app:layout_columnWeight="1" + app:layout_rowWeight="1" /> + app:layout_columnWeight="1" + app:layout_rowWeight="1" /> + app:layout_columnWeight="1" + app:layout_rowWeight="1" /> + app:layout_columnWeight="1" + app:layout_rowWeight="1" /> + app:layout_columnWeight="1" + app:layout_rowWeight="1" /> + app:layout_columnWeight="1" + app:layout_rowWeight="1" /> + app:layout_columnWeight="1" + app:layout_rowWeight="1" /> + android:textSize="30sp" + app:cornerRadius="15dp" + app:layout_columnWeight="1" + app:layout_rowWeight="1" /> + app:layout_columnWeight="1" + app:layout_rowWeight="1" /> + app:layout_columnWeight="1" + app:layout_rowWeight="1" /> + app:layout_columnWeight="1" + app:layout_rowWeight="1" /> + app:layout_columnWeight="1" + app:layout_rowWeight="1" /> + app:layout_columnWeight="1" + app:layout_rowWeight="1" /> + app:layout_columnWeight="1" + app:layout_rowWeight="1" /> + app:layout_columnWeight="1" + app:layout_rowWeight="1" /> + app:layout_rowWeight="1" /> + app:layout_columnWeight="1" + app:layout_rowWeight="1" /> + app:layout_columnWeight="1" + app:layout_rowWeight="1" />