File: main.xml

package info (click to toggle)
openrocket 12.03-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 41,220 kB
  • sloc: java: 69,764; xml: 1,400; php: 198; perl: 38; sh: 36; makefile: 18
file content (55 lines) | stat: -rw-r--r-- 1,875 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?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: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="wrap_content"
            android:text="@string/openfilelabel" />

        <Button
            android:id="@+id/main_browse"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/viewmotorslabel" />
    </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>