Layout simplifications

This commit is contained in:
Sergey Solovyev 2012-04-21 17:14:17 +04:00
parent 2757e76f29
commit 94d67c1237
4 changed files with 288 additions and 310 deletions

View File

@ -5,20 +5,15 @@
~ For more information, please, contact se.solovyev@gmail.com
~ or visit http://se.solovyev.org
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
<LinearLayout
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res/org.solovyev.android.calculator"
a:orientation="vertical"
a:layout_width="fill_parent"
a:layout_height="fill_parent"
a:background="#ff000000">
<LinearLayout
a:layout_width="fill_parent"
a:id="@+id/ad_parent_view"
a:layout_height="fill_parent"
a:orientation="vertical"
a:layout_gravity="center">
a:layout_gravity="center"
a:background="#ff000000">
<include layout="@layout/calc_editor"/>
@ -120,5 +115,4 @@
</LinearLayout>
</LinearLayout>
</LinearLayout>

View File

@ -1,18 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
<LinearLayout
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res/org.solovyev.android.calculator"
a:orientation="vertical"
a:layout_width="fill_parent"
a:layout_height="fill_parent"
a:background="#ff000000">
<LinearLayout
a:layout_width="fill_parent"
a:layout_height="fill_parent"
a:id="@+id/ad_parent_view"
a:orientation="vertical"
a:layout_gravity="center">
a:layout_gravity="center"
a:background="#ff000000">
<include layout="@layout/calc_editor"/>
@ -114,5 +110,4 @@
</LinearLayout>
</LinearLayout>
</LinearLayout>

View File

@ -6,18 +6,14 @@
~ or visit http://se.solovyev.org
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:orientation="vertical"
a:layout_width="fill_parent"
a:layout_height="fill_parent"
a:background="#ff000000">
<LinearLayout
<LinearLayout
xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="fill_parent"
a:layout_height="fill_parent"
a:id="@+id/ad_parent_view"
a:orientation="vertical"
a:layout_gravity="center">
a:layout_gravity="center"
a:background="#ff000000">
<include layout="@layout/calc_editor"/>
@ -85,5 +81,4 @@
<include layout="@layout/calc_history_button"/>
</LinearLayout>
</LinearLayout>
</LinearLayout>

View File

@ -1,17 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:orientation="vertical"
a:layout_width="fill_parent"
a:layout_height="fill_parent"
a:background="#ff000000">
<LinearLayout
<LinearLayout
xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="fill_parent"
a:layout_height="fill_parent"
a:id="@+id/ad_parent_view"
a:orientation="vertical"
a:layout_gravity="center">
a:layout_gravity="center"
a:background="#ff000000">
<include layout="@layout/calc_editor"/>
@ -79,5 +74,4 @@
<include layout="@layout/calc_history_button"/>
</LinearLayout>
</LinearLayout>
</LinearLayout>