UNCCGameDay/res/layout/lot_view.xml
2013-12-05 18:22:16 -05:00

70 lines
2.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tool"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:orientation="vertical" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/lotViewFilledStatus"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/filled_status"/>
<ProgressBar
android:id="@+id/lotViewCurrentFilled"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
</LinearLayout>
<TextView
android:id="@+id/lotViewRateLot"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/rate_lot" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical" >
<TextView
android:id="@+id/lotViewEmpty"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/empty_lot"/>
<SeekBar
android:id="@+id/lotViewLotRating"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
style="@style/GameDayTheme"/>
<TextView
android:id="@+id/lotViewFull"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/full_lot" />
</LinearLayout>
<Button
android:id="@+id/lotViewSubmitRating"
style="@style/GameDayTheme"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/submit_rating"
android:onClick="onSubmitRating" />
</LinearLayout>