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

93 lines
3.2 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>
<LinearLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="0dp"
android:layout_gravity="center_horizontal"
android:layout_weight="2"
android:orientation="horizontal"
android:paddingBottom="@dimen/activity_vertical_margin">
<Button
android:id="@+id/lotViewSubmitRating"
android:layout_gravity="center"
style="?android:attr/buttonStyleSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/submit_rating"
android:onClick="onSubmitRating"
android:background="#488214"/>
</LinearLayout>