cpp-137: Wrong padding in a pane on tablets

Fixes #137
This commit is contained in:
serso
2015-02-17 16:55:17 +01:00
parent 7498cc51bf
commit 496a1e9a79
6 changed files with 174 additions and 152 deletions

View File

@@ -21,56 +21,58 @@
~ Email: se.solovyev@gmail.com
~ Site: http://se.solovyev.org
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/main_layout"
a:orientation="vertical"
style="@style/CppMain.Multipane">
<LinearLayout
a:id="@+id/main_layout"
style="@style/CppMain.Multipane"
xmlns:a="http://schemas.android.com/apk/res/android"
a:orientation="vertical">
<LinearLayout
a:layout_height="0dp"
a:layout_width="match_parent"
a:layout_weight="3"
a:orientation="horizontal"
a:baselineAligned="false">
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_marginTop="@dimen/cpp_pane_margin"
a:layout_weight="3"
a:baselineAligned="false"
a:orientation="horizontal">
<LinearLayout
a:layout_height="match_parent"
a:layout_width="0dp"
a:layout_weight="1"
a:orientation="vertical"
a:layout_gravity="center">
a:layout_width="0dp"
a:layout_height="match_parent"
a:layout_gravity="center"
a:layout_weight="1"
a:orientation="vertical">
<LinearLayout
a:id="@+id/editorContainer"
a:layout_height="0dp"
a:layout_width="match_parent"
style="@style/CppPaneStyle"
a:layout_weight="1"/>
a:id="@+id/editorContainer"
style="@style/CppPane.Multipane.Left"
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1"/>
<FrameLayout
a:id="@+id/displayContainer"
a:layout_height="0dp"
a:layout_width="match_parent"
style="@style/CppPaneStyle"
a:layout_weight="1"/>
a:id="@+id/displayContainer"
style="@style/CppPane.Multipane.Left"
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1"/>
</LinearLayout>
<LinearLayout
a:id="@+id/main_second_pane"
a:layout_height="match_parent"
a:layout_width="0dp"
a:layout_weight="1"
a:orientation="vertical"
style="@style/CppPaneStyle"/>
a:id="@+id/main_second_pane"
style="@style/CppPane.Multipane.Right"
a:layout_width="0dp"
a:layout_height="match_parent"
a:layout_weight="1"
a:orientation="vertical"/>
</LinearLayout>
<LinearLayout
a:id="@+id/keyboardContainer"
a:layout_height="0dp"
a:layout_width="match_parent"
a:layout_weight="2"
style="@style/CppPaneStyle.Transparent"/>
a:id="@+id/keyboardContainer"
style="@style/CppPane.Transparent.Bottom"
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="2"/>
</LinearLayout>