diff --git a/app/src/main/res/layout/dialog_poll_create.xml b/app/src/main/res/layout/dialog_poll_create.xml index 5d9e150c5..f48baaa2a 100644 --- a/app/src/main/res/layout/dialog_poll_create.xml +++ b/app/src/main/res/layout/dialog_poll_create.xml @@ -31,13 +31,14 @@ + android:orientation="vertical" + android:paddingTop="@dimen/dialog_padding"> @@ -46,8 +47,8 @@ android:id="@+id/poll_create_question" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginStart="@dimen/standard_margin" - android:layout_marginEnd="@dimen/standard_margin" + android:layout_marginStart="@dimen/dialog_padding" + android:layout_marginEnd="@dimen/dialog_padding" android:inputType="textMultiLine" tools:ignore="Autofill,LabelFor"> @@ -58,8 +59,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/standard_margin" - android:paddingStart="@dimen/standard_padding" - android:paddingEnd="@dimen/standard_padding" + android:paddingStart="@dimen/dialog_padding" + android:paddingEnd="@dimen/dialog_padding" android:text="@string/polls_options" android:textColor="@color/colorPrimary" android:textStyle="bold" /> @@ -75,9 +76,9 @@ style="@style/OutlinedButton" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginStart="@dimen/standard_margin" + android:layout_marginStart="@dimen/dialog_padding" android:layout_marginTop="@dimen/standard_half_margin" - android:layout_marginEnd="@dimen/standard_margin" + android:layout_marginEnd="@dimen/dialog_padding" android:minHeight="@dimen/min_size_clickable_area" android:text="@string/polls_add_option" app:cornerRadius="@dimen/button_corner_radius" @@ -89,8 +90,8 @@ android:layout_height="wrap_content" android:layout_marginTop="@dimen/standard_margin" android:layout_marginBottom="@dimen/standard_half_margin" - android:paddingStart="@dimen/standard_padding" - android:paddingEnd="@dimen/standard_padding" + android:paddingStart="@dimen/dialog_padding" + android:paddingEnd="@dimen/dialog_padding" android:text="@string/polls_settings" android:textColor="@color/colorPrimary" android:textStyle="bold" /> @@ -121,8 +122,8 @@ android:layout_marginTop="@dimen/standard_margin" android:gravity="end" android:orientation="horizontal" - android:paddingStart="@dimen/standard_padding" - android:paddingEnd="@dimen/standard_padding" + android:paddingStart="@dimen/dialog_padding" + android:paddingEnd="@dimen/dialog_padding" android:paddingBottom="@dimen/standard_padding"> @@ -45,7 +45,7 @@ style="@style/Widget.AppTheme.Button.IconButton" android:layout_width="@dimen/min_size_clickable_area" android:layout_height="@dimen/min_size_clickable_area" - android:layout_marginStart="5dp" + android:layout_marginEnd="@dimen/standard_half_margin" android:contentDescription="@string/nc_action_open_main_menu" app:cornerRadius="@dimen/button_corner_radius" app:icon="@drawable/ic_baseline_close_24" diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index 9b286236b..9962226da 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -59,6 +59,7 @@ 8dp 8dp 400dp + 24dp 180dp 110dp @@ -71,7 +72,7 @@ 40dp 2dp - 10dp + 18dp 50dp