2010-04-23 18:04:13 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2010-10-07 17:53:59 +00:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2010-04-23 18:04:13 +00:00
|
|
|
xmlns:myapp="http://schemas.android.com/apk/res/org.r3pek.droiduptime"
|
2010-10-07 17:53:59 +00:00
|
|
|
android:layout_width="fill_parent" android:layout_height="fill_parent">
|
|
|
|
<ScrollView android:id="@+id/ScrollView01"
|
|
|
|
android:layout_width="fill_parent" android:layout_height="fill_parent">
|
|
|
|
<LinearLayout android:orientation="vertical"
|
|
|
|
android:layout_width="fill_parent" android:layout_height="fill_parent">
|
2010-04-23 18:04:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2010-10-07 17:53:59 +00:00
|
|
|
<ImageView android:id="@+id/ImageView01"
|
|
|
|
android:layout_width="wrap_content" android:layout_height="wrap_content"
|
|
|
|
android:src="@drawable/droiduptime" android:layout_gravity="center_horizontal"
|
|
|
|
android:layout_marginTop="20dip"></ImageView>
|
|
|
|
|
|
|
|
<TableLayout android:id="@+id/TableLayout01"
|
|
|
|
android:layout_height="wrap_content" android:layout_width="fill_parent"
|
|
|
|
android:stretchColumns="1" android:paddingTop="20dip">
|
|
|
|
<TableRow android:id="@+id/TableRow01"
|
|
|
|
android:layout_width="wrap_content" android:layout_height="wrap_content">
|
|
|
|
<LinearLayout android:id="@+id/LinearLayout01"
|
|
|
|
android:layout_height="wrap_content" android:orientation="horizontal"
|
|
|
|
android:layout_width="fill_parent">
|
|
|
|
<TextView android:id="@+id/TextView01"
|
|
|
|
android:layout_width="wrap_content" android:layout_height="wrap_content"
|
|
|
|
android:textStyle="bold" android:layout_marginTop="15dip"
|
|
|
|
android:text="@string/servicestatus"></TextView>
|
|
|
|
<TextView android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" android:layout_marginLeft="20dip"
|
|
|
|
android:id="@+id/tvStatus" android:layout_marginTop="15dip"></TextView>
|
|
|
|
</LinearLayout>
|
|
|
|
<Button android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" android:id="@+id/btnStartStopService"
|
|
|
|
android:layout_gravity="right"></Button>
|
|
|
|
</TableRow>
|
|
|
|
</TableLayout>
|
2010-04-23 18:04:13 +00:00
|
|
|
|
|
|
|
|
2010-10-07 17:53:59 +00:00
|
|
|
<LinearLayout android:id="@+id/LinearLayout02"
|
|
|
|
android:layout_width="wrap_content" android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal" android:paddingTop="10dip">
|
|
|
|
<TextView android:id="@+id/TextView02"
|
|
|
|
android:layout_width="wrap_content" android:layout_height="wrap_content"
|
|
|
|
android:textStyle="bold" android:text="@string/uptime"></TextView>
|
|
|
|
<TextView android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" android:layout_marginLeft="20dip"
|
|
|
|
android:id="@+id/tvUptime"></TextView>
|
|
|
|
</LinearLayout>
|
2010-04-23 18:04:13 +00:00
|
|
|
|
2010-10-07 17:53:59 +00:00
|
|
|
<TableLayout android:id="@+id/TableLayout02"
|
|
|
|
android:layout_height="wrap_content" android:layout_width="fill_parent"
|
|
|
|
android:stretchColumns="1" android:paddingTop="20dip">
|
|
|
|
<TableRow android:id="@+id/TableRow02"
|
|
|
|
android:layout_width="wrap_content" android:layout_height="wrap_content">
|
|
|
|
<LinearLayout android:id="@+id/LinearLayout05"
|
|
|
|
android:layout_width="wrap_content" android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal" android:layout_marginTop="15dip">
|
|
|
|
<TextView android:id="@+id/TextView06"
|
|
|
|
android:layout_width="wrap_content" android:layout_height="wrap_content"
|
|
|
|
android:textStyle="bold" android:text="@string/lastupdate"></TextView>
|
|
|
|
<TextView android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" android:layout_marginLeft="20dip"
|
|
|
|
android:id="@+id/tvLastUpdate"></TextView>
|
|
|
|
</LinearLayout>
|
|
|
|
<Button android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" android:id="@+id/btnUpdate"
|
|
|
|
android:text="@string/update" android:layout_gravity="right"></Button>
|
|
|
|
</TableRow>
|
|
|
|
</TableLayout>
|
|
|
|
<TextView android:id="@+id/TextView03" android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" android:layout_marginTop="15dip"
|
|
|
|
android:linksClickable="true" android:autoLink="web" android:text="@string/message"></TextView>
|
2010-04-23 18:04:13 +00:00
|
|
|
|
|
|
|
|
2010-10-07 17:53:59 +00:00
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
<com.admob.android.ads.AdView
|
|
|
|
android:layout_gravity="bottom" android:id="@+id/ad"
|
|
|
|
android:layout_width="fill_parent" android:layout_alignParentBottom="true"
|
|
|
|
myapp:backgroundColor="#000000" myapp:primaryTextColor="#FFFFFF"
|
|
|
|
myapp:secondaryTextColor="#CCCCCC" android:layout_height="wrap_content" />
|
|
|
|
</RelativeLayout>
|