Waldemar/res/layout/main.xml

36 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/LinearLayout01" android:layout_height="100dp"
android:layout_width="80dp" android:background="@drawable/background"
android:gravity="center" android:orientation="vertical">
<TextView android:id="@+id/name" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:gravity="center"
android:textColor="@android:color/white" android:text="@string/title"
android:textSize="5pt" />
<TextView android:id="@+id/daycount" android:layout_width="fill_parent"
android:layout_height="10pt" android:gravity="center"
android:textColor="@android:color/white" android:text="@string/notyet"
android:paddingBottom="0dp" android:textStyle="bold" android:textSize="10pt"
android:includeFontPadding="false" />
<TextView android:id="@+id/days" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:gravity="center"
android:textColor="@android:color/white" android:text="@string/days"
android:paddingTop="0dp" android:textSize="4pt" />
<FrameLayout android:id="@+id/progressBarFrame"
android:layout_width="wrap_content" android:layout_height="wrap_content">
<ProgressBar style="@android:style/Widget.ProgressBar.Horizontal"
android:id="@+id/progress" android:layout_width="wrap_content"
android:layout_height="10dp" android:paddingTop="6dp" />
</FrameLayout>
<TextView android:id="@+id/status" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:gravity="center"
android:textColor="@android:color/white" android:text="debug"
android:textSize="4pt" />
</LinearLayout>