Tweak the button layouts on the initial screen.

This commit is contained in:
Kevin Ruland 2012-07-18 21:20:23 +00:00
parent 492f5bdeb2
commit 425612afd4
2 changed files with 12 additions and 65 deletions

View File

@ -1,56 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/starfield"
android:orientation="vertical" >
<ImageView
android:id="@+id/openrocket"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_horizontal"
android:paddingTop="22dp"
android:src="@drawable/openrocket" />
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:text="@string/version" />
<ImageView
android:id="@+id/rocketglobe"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="4"
android:src="@drawable/rocketglobe" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_horizontal" >
<Button
android:id="@+id/main_open"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:text="@string/openfilelabel" />
<Button
android:id="@+id/main_browse"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:text="@string/viewmotorslabel" />
<Button
android:id="@+id/main_donate"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:background="@drawable/sf_donate" />
</LinearLayout>
</LinearLayout>

View File

@ -11,6 +11,7 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_horizontal"
android:paddingTop="22dp"
android:src="@drawable/openrocket" />
<TextView
@ -35,21 +36,23 @@
<Button
android:id="@+id/main_open"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_height="50dp"
android:layout_gravity="center"
android:text="@string/openfilelabel" />
<Button
android:id="@+id/main_browse"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_height="50dp"
android:layout_gravity="center"
android:text="@string/viewmotorslabel" />
<Button
android:id="@+id/main_donate"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:background="@drawable/sf_donate" />
</LinearLayout>
<Button
android:id="@+id/main_donate"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:background="@drawable/sf_donate" />
</LinearLayout>