UNCCGameDay/res/layout/lot_view.xml

79 lines
2.9 KiB
XML
Raw Normal View History

<?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"
2013-12-08 22:21:31 -05:00
android:orientation="vertical"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
2013-12-08 22:21:31 -05:00
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"
2013-12-08 23:25:23 -05:00
android:text="@string/filled_status" />
<ProgressBar
android:id="@+id/lotViewCurrentFilled"
2013-12-08 22:21:31 -05:00
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
2013-12-08 14:56:46 -05:00
android:layout_height="wrap_content"
2013-12-08 22:21:31 -05:00
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"
2013-12-08 23:25:23 -05:00
android:text="@string/empty_lot" />
<SeekBar
android:id="@+id/lotViewLotRating"
2013-12-08 23:25:23 -05:00
style="@style/GameDayTheme"
android:layout_width="0dip"
android:layout_height="wrap_content"
2013-12-08 23:25:23 -05:00
android:layout_weight="1" />
<TextView
android:id="@+id/lotViewFull"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/full_lot" />
</LinearLayout>
2013-12-08 23:25:23 -05:00
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
2013-12-08 23:25:23 -05:00
android:orientation="vertical"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin" >
2013-12-08 22:21:31 -05:00
2013-12-08 23:25:23 -05:00
<Button
android:id="@+id/lotViewSubmitRating"
style="?android:attr/buttonStyleSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:background="#488214"
android:onClick="onSubmitRating"
android:text="@string/submit_rating" />
</LinearLayout>
</LinearLayout>