Buttons now use drawable padding (via InsetDrawable) to have some margins between them

This commit is contained in:
serso
2015-02-05 14:39:16 +01:00
parent c85f5a2f25
commit c5748e2d94
26 changed files with 178 additions and 101 deletions

View File

@@ -42,7 +42,6 @@
<include
layout="@layout/cpp_drag_button_equals"
a:layout_margin="@dimen/cpp_button_margin"
a:layout_weight="1"
a:layout_width="0dp"
a:layout_height="match_parent"/>

View File

@@ -33,7 +33,8 @@
a:id="@+id/editorContainer"
a:layout_weight="2"
a:layout_width="match_parent"
a:layout_height="0dp"/>
a:layout_height="0dp"
a:orientation="horizontal" />
<LinearLayout
a:layout_weight="1"
@@ -42,7 +43,6 @@
<include
layout="@layout/cpp_drag_button_equals"
a:layout_margin="@dimen/cpp_button_margin"
a:layout_weight="1"
a:layout_width="0dp"
a:layout_height="match_parent"/>
@@ -51,7 +51,8 @@
a:id="@+id/displayContainer"
a:layout_weight="4"
a:layout_width="0dp"
a:layout_height="match_parent"/>
a:layout_height="match_parent"
a:orientation="horizontal" />
</LinearLayout>
@@ -59,6 +60,7 @@
a:id="@+id/keyboardContainer"
a:layout_weight="5"
a:layout_width="match_parent"
a:layout_height="0dp"/>
a:layout_height="0dp"
a:orientation="vertical" />
</LinearLayout>

View File

@@ -26,7 +26,6 @@
<include
layout="@layout/cpp_simple_button_equals"
a:layout_margin="@dimen/cpp_button_margin"
a:layout_weight="1"
a:layout_width="0dp"
a:layout_height="match_parent"/>

View File

@@ -19,7 +19,6 @@
<include
layout="@layout/cpp_simple_button_equals"
a:layout_margin="@dimen/cpp_button_margin"
a:layout_weight="1"
a:layout_width="0dp"
a:layout_height="match_parent"/>

View File

@@ -19,7 +19,6 @@
<include
layout="@layout/cpp_simple_button_equals"
a:layout_margin="@dimen/cpp_button_margin"
a:layout_weight="1"
a:layout_width="0dp"
a:layout_height="match_parent" />

View File

@@ -30,7 +30,6 @@
<include
layout="@layout/cpp_simple_button_equals"
a:layout_margin="@dimen/cpp_button_margin"
a:layout_weight="1"
a:layout_width="0dp"
a:layout_height="match_parent" />