diff --git a/app/src/main/res/layout-land/layout_main.xml b/app/src/main/res/layout-land/layout_main.xml index fe0645113fb52c8b058ab64a2713e57f9228f1c7..839ab2728640daffa0b47768783c7fe44dc8c4c5 100644 --- a/app/src/main/res/layout-land/layout_main.xml +++ b/app/src/main/res/layout-land/layout_main.xml @@ -51,11 +51,22 @@ tools:listitem="@layout/widget_nick" /> </android.support.design.widget.CoordinatorLayout> - <de.kuschku.quasseldroid.util.ui.ShadowView + <LinearLayout android:layout_width="match_parent" - android:layout_height="16dp" - android:gravity="bottom" - app:layout_anchor="@id/fragment_chatline" /> + android:layout_height="wrap_content" + android:orientation="vertical" + app:layout_anchor="@id/fragment_chatline" + app:layout_anchorGravity="top"> + + <de.kuschku.quasseldroid.util.ui.ShadowView + android:layout_width="match_parent" + android:layout_height="@dimen/shadow_height" + android:gravity="bottom" /> + + <Space + android:layout_width="match_parent" + android:layout_height="@dimen/shadow_height" /> + </LinearLayout> <fragment android:id="@+id/fragment_chatline" diff --git a/app/src/main/res/layout-sw600dp-land/layout_main.xml b/app/src/main/res/layout-sw600dp-land/layout_main.xml index 1e0c0825b6a238a012342f10306164a24e17efd6..675b648f52dd9814e4f3d9f8fe6d0b90149883bd 100644 --- a/app/src/main/res/layout-sw600dp-land/layout_main.xml +++ b/app/src/main/res/layout-sw600dp-land/layout_main.xml @@ -49,11 +49,22 @@ tools:listitem="@layout/widget_nick" /> </android.support.design.widget.CoordinatorLayout> - <de.kuschku.quasseldroid.util.ui.ShadowView + <LinearLayout android:layout_width="match_parent" - android:layout_height="16dp" - android:gravity="bottom" - app:layout_anchor="@id/fragment_chatline" /> + android:layout_height="wrap_content" + android:orientation="vertical" + app:layout_anchor="@id/fragment_chatline" + app:layout_anchorGravity="top"> + + <de.kuschku.quasseldroid.util.ui.ShadowView + android:layout_width="match_parent" + android:layout_height="@dimen/shadow_height" + android:gravity="bottom" /> + + <Space + android:layout_width="match_parent" + android:layout_height="@dimen/shadow_height" /> + </LinearLayout> <fragment android:id="@+id/fragment_chatline" diff --git a/app/src/main/res/layout/layout_main.xml b/app/src/main/res/layout/layout_main.xml index 542176b9e17df63336f2d36f356d283b91354790..abf1a11d4b9f216ee142cbb9bd9bc3039249352a 100644 --- a/app/src/main/res/layout/layout_main.xml +++ b/app/src/main/res/layout/layout_main.xml @@ -56,11 +56,22 @@ tools:listitem="@layout/widget_nick" /> </android.support.design.widget.CoordinatorLayout> - <de.kuschku.quasseldroid.util.ui.ShadowView + <LinearLayout android:layout_width="match_parent" - android:layout_height="16dp" - android:gravity="bottom" - app:layout_anchor="@id/fragment_chatline" /> + android:layout_height="wrap_content" + android:orientation="vertical" + app:layout_anchor="@id/fragment_chatline" + app:layout_anchorGravity="top"> + + <de.kuschku.quasseldroid.util.ui.ShadowView + android:layout_width="match_parent" + android:layout_height="@dimen/shadow_height" + android:gravity="bottom" /> + + <Space + android:layout_width="match_parent" + android:layout_height="@dimen/shadow_height" /> + </LinearLayout> <fragment android:id="@+id/fragment_chatline" diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index 234c5282c32f6dcdebea3fb48b0bfd8d8415da16..b27240fb99aa066accbd200db839a30817b632f0 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -32,6 +32,8 @@ <dimen name="button_corner_radius">2dp</dimen> + <dimen name="shadow_height">4dp</dimen> + <dimen name="colorchooser_circlesize">56dp</dimen> <dimen name="avatar_size">35sp</dimen>