diff --git a/android-app/src/main/res/layout-large-land/main_calculator.xml b/android-app/src/main/res/layout-large-land/main_calculator.xml index 964055e8..8fe07ec1 100644 --- a/android-app/src/main/res/layout-large-land/main_calculator.xml +++ b/android-app/src/main/res/layout-large-land/main_calculator.xml @@ -21,56 +21,58 @@ ~ Email: se.solovyev@gmail.com ~ Site: http://se.solovyev.org --> - + + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_marginTop="@dimen/cpp_pane_margin" + a:layout_weight="3" + a:baselineAligned="false" + a:orientation="horizontal"> + a:layout_width="0dp" + a:layout_height="match_parent" + a:layout_gravity="center" + a:layout_weight="1" + a:orientation="vertical"> + a:id="@+id/editorContainer" + style="@style/CppPane.Multipane.Left" + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_weight="1"/> + a:id="@+id/displayContainer" + style="@style/CppPane.Multipane.Left" + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_weight="1"/> + a:id="@+id/main_second_pane" + style="@style/CppPane.Multipane.Right" + a:layout_width="0dp" + a:layout_height="match_parent" + a:layout_weight="1" + a:orientation="vertical"/> + a:id="@+id/keyboardContainer" + style="@style/CppPane.Transparent.Bottom" + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_weight="2"/> diff --git a/android-app/src/main/res/layout-large/main_calculator.xml b/android-app/src/main/res/layout-large/main_calculator.xml index b8595925..911720ff 100644 --- a/android-app/src/main/res/layout-large/main_calculator.xml +++ b/android-app/src/main/res/layout-large/main_calculator.xml @@ -21,56 +21,58 @@ ~ Email: se.solovyev@gmail.com ~ Site: http://se.solovyev.org --> - + + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_marginTop="@dimen/cpp_pane_margin" + a:layout_weight="3" + a:baselineAligned="false" + a:orientation="horizontal"> + a:layout_width="0dp" + a:layout_height="match_parent" + a:layout_gravity="center" + a:layout_weight="1" + a:orientation="vertical"> + a:id="@+id/editorContainer" + style="@style/CppPane.Multipane.Left" + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_weight="3"/> + a:id="@+id/displayContainer" + style="@style/CppPane.Multipane.Left" + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_weight="1"/> + a:id="@+id/main_second_pane" + style="@style/CppPane.Multipane.Right" + a:layout_width="0dp" + a:layout_height="match_parent" + a:layout_weight="1" + a:orientation="vertical"/> + a:id="@+id/keyboardContainer" + style="@style/CppPane.Transparent.Bottom" + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_weight="2"/> diff --git a/android-app/src/main/res/layout-xlarge-land/main_calculator.xml b/android-app/src/main/res/layout-xlarge-land/main_calculator.xml index 253afd97..4eb1cb6f 100644 --- a/android-app/src/main/res/layout-xlarge-land/main_calculator.xml +++ b/android-app/src/main/res/layout-xlarge-land/main_calculator.xml @@ -21,56 +21,59 @@ ~ Email: se.solovyev@gmail.com ~ Site: http://se.solovyev.org --> - + + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_marginTop="@dimen/cpp_pane_margin" + a:layout_weight="5" + a:baselineAligned="false" + a:orientation="horizontal"> + a:layout_width="0dp" + a:layout_height="match_parent" + a:layout_gravity="center" + a:layout_weight="1" + a:orientation="vertical"> + a:id="@+id/editorContainer" + style="@style/CppPane.Multipane.Left" + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_weight="3" + a:orientation="horizontal"/> + a:id="@+id/displayContainer" + style="@style/CppPane.Multipane.Left" + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_weight="1"/> + a:id="@+id/main_second_pane" + style="@style/CppPane.Multipane.Right" + a:layout_width="0dp" + a:layout_height="match_parent" + a:layout_weight="1" + a:orientation="vertical"/> + a:id="@+id/keyboardContainer" + style="@style/CppPane.Transparent.Bottom" + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_weight="1"/> diff --git a/android-app/src/main/res/layout-xlarge/main_calculator.xml b/android-app/src/main/res/layout-xlarge/main_calculator.xml index d97f0f38..8cfc769d 100644 --- a/android-app/src/main/res/layout-xlarge/main_calculator.xml +++ b/android-app/src/main/res/layout-xlarge/main_calculator.xml @@ -21,56 +21,58 @@ ~ Email: se.solovyev@gmail.com ~ Site: http://se.solovyev.org --> - + + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_marginTop="@dimen/cpp_pane_margin" + a:layout_weight="3" + a:baselineAligned="false" + a:orientation="horizontal"> + a:layout_width="0dp" + a:layout_height="match_parent" + a:layout_gravity="center" + a:layout_weight="1" + a:orientation="vertical"> + a:id="@+id/editorContainer" + style="@style/CppPane.Multipane.Left" + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_weight="4"/> + a:id="@+id/displayContainer" + style="@style/CppPane.Multipane.Left" + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_weight="1"/> + a:id="@+id/main_second_pane" + style="@style/CppPane.Multipane.Right" + a:layout_width="0dp" + a:layout_height="match_parent" + a:layout_weight="1" + a:orientation="vertical"/> + a:id="@+id/keyboardContainer" + style="@style/CppPane.Transparent.Bottom" + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_weight="1"/> diff --git a/android-app/src/main/res/values/dimens.xml b/android-app/src/main/res/values/dimens.xml index 91532a54..b540125b 100644 --- a/android-app/src/main/res/values/dimens.xml +++ b/android-app/src/main/res/values/dimens.xml @@ -22,8 +22,7 @@ 25sp 25sp - 3dp - 0dp + 2dp 16sp 14sp diff --git a/android-app/src/main/res/values/styles.xml b/android-app/src/main/res/values/styles.xml index 2e2d66a5..6840a4da 100644 --- a/android-app/src/main/res/values/styles.xml +++ b/android-app/src/main/res/values/styles.xml @@ -187,19 +187,35 @@ - + + + + - + + + + @@ -211,8 +227,8 @@