From 4bddd280f204f1036f9933a4b683a0b20a7d85a0 Mon Sep 17 00:00:00 2001 From: Christian Lohmaier Date: Mon, 30 Dec 2013 01:23:49 +0100 Subject: [PATCH] tweak paddings in landcape mode (maximize space for preview & notes) add minimal padding around slide preview (to not touch actionbar and bottom of screen - horizontal whitespace will be larger becasue height is limiting factor anyway) avoid adding two left-paddings for the notes - the Text is "indented" compared to the notes area already, so margin implied by the layout weight distribution and the text indent is enough to separate it from the preview. avoid adding two right paddings for the note-text, as the text is not justified and the word-break itself will account for a "padding" at the edge, and the container already has a right-padding (that was reduced, since the word-padding as well as centering in the unused space will increase the effective margin) Change-Id: I2a4605ba5a98eeed93a01db16d3d86c90df56470 Reviewed-on: https://gerrit.libreoffice.org/7230 Reviewed-by: Andrzej Hunt Tested-by: Andrzej Hunt --- .../sdremote/res/layout-land/fragment_slides_pager.xml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/android/sdremote/res/layout-land/fragment_slides_pager.xml b/android/sdremote/res/layout-land/fragment_slides_pager.xml index 340a4623246b..e3e3c9bc9351 100644 --- a/android/sdremote/res/layout-land/fragment_slides_pager.xml +++ b/android/sdremote/res/layout-land/fragment_slides_pager.xml @@ -25,14 +25,14 @@ @@ -45,6 +45,8 @@ @@ -53,9 +55,6 @@ android:inAnimation="@android:anim/fade_in" android:outAnimation="@android:anim/fade_out" android:measureAllChildren="false" - android:paddingTop="@dimen/padding_slide_notes" - android:paddingLeft="@dimen/padding_slide_notes" - android:paddingRight="@dimen/padding_slide_notes" android:layout_width="match_parent" android:layout_height="wrap_content">