diff --git a/app/build.gradle b/app/build.gradle index db45114f..6d581ae9 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -126,4 +126,5 @@ android { dependencies { implementation 'androidx.preference:preference:1.2.1' + implementation 'androidx.constraintlayout:constraintlayout:2.1.4' } \ No newline at end of file diff --git a/app/src/main/res/layout/main_numpad.xml b/app/src/main/res/layout/main_numpad.xml index 07a9db8d..8505b295 100644 --- a/app/src/main/res/layout/main_numpad.xml +++ b/app/src/main/res/layout/main_numpad.xml @@ -1,314 +1,333 @@ + android:gravity="center_horizontal"> - - - - - - - - - - - - - - - - - - - - - - - - - + android:maxWidth="@dimen/numpad_max_width" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> - - - + android:id="@+id/linearLayout" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:orientation="vertical" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> + android:id="@+id/separator_top" + style="@style/numRowSeparator" /> - - + - + - + + + + + + + + + + + + + + + android:id="@+id/separator_candidates_bottom" + style="@style/numRowSeparator" /> - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/app/src/main/res/values-land/dimens.xml b/app/src/main/res/values-land/dimens.xml new file mode 100644 index 00000000..ed1a2805 --- /dev/null +++ b/app/src/main/res/values-land/dimens.xml @@ -0,0 +1,4 @@ + + + 720dp + diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index 183b8625..3e164c14 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -21,6 +21,7 @@ 12dp + 10000dp 2dp 0dp