diff --git a/fints4javaAndroidApp/src/main/res/layout/dialog_enter_tan.xml b/fints4javaAndroidApp/src/main/res/layout/dialog_enter_tan.xml
index 7cf681bd..69c89594 100644
--- a/fints4javaAndroidApp/src/main/res/layout/dialog_enter_tan.xml
+++ b/fints4javaAndroidApp/src/main/res/layout/dialog_enter_tan.xml
@@ -72,6 +72,7 @@
android:id="@+id/flickerCodeView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:layout_marginBottom="@dimen/dialog_enter_tan_margin_before_enter_tan"
android:visibility="gone"
/>
@@ -81,6 +82,7 @@
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center_vertical"
+ android:layout_marginBottom="@dimen/dialog_enter_tan_margin_before_enter_tan"
android:visibility="gone"
/>
diff --git a/fints4javaAndroidApp/src/main/res/values/dimens.xml b/fints4javaAndroidApp/src/main/res/values/dimens.xml
index 8a816527..e182d497 100644
--- a/fints4javaAndroidApp/src/main/res/values/dimens.xml
+++ b/fints4javaAndroidApp/src/main/res/values/dimens.xml
@@ -78,6 +78,7 @@
15sp
175dp
20dp
+ 6dp
50dp
110dp
6dp