Added new images to home screen. Very nice!

This commit is contained in:
Kevin Ruland 2012-02-09 21:25:29 +00:00
parent e7d180f120
commit e3924d39ac
4 changed files with 26 additions and 20 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

View File

@ -2,42 +2,46 @@
<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="horizontal" >
<ImageView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="4"
android:src="@drawable/rocketglobe" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="4"
android:orientation="vertical" >
<TextView
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_horizontal"
android:text="Welcome to OpenRocket" />
android:src="@drawable/openrocket" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:gravity="center"
android:orientation="horizontal" >
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/main_open"
android:text="View ork file" />
<Button
android:id="@+id/main_open"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="View ork file" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/main_browse"
android:text="View motors" />
<Button
android:id="@+id/main_browse"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="View motors" />
</LinearLayout>
</LinearLayout>

View File

@ -1,40 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
<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" >
<TextView
<ImageView
android:id="@+id/openrocket"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_horizontal"
android:text="Welcome to OpenRocket" />
android:src="@drawable/openrocket" />
<ImageView
android:id="@+id/rocketglobe"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/openrocket"
android:layout_weight="4"
android:src="@drawable/rocketglobe" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/rocketglobe"
android:layout_weight="1"
android:gravity="center_horizontal" >
<Button
android:id="@+id/main_open"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/main_open"
android:text="View ork file" />
<Button
android:id="@+id/main_browse"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/main_browse"
android:text="View motors" />
</LinearLayout>
</RelativeLayout>
</LinearLayout>