UNCCGameDay/res/layout/lot_view.xml
2013-12-08 22:21:31 -05:00

73 lines
2.4 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:orientation="vertical"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin" >
<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"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical|top" />
</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>