<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/root"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<LinearLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="0dp"
android:layout_weight="0.5"
android:layout_margin="20dp">
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
android:text="@string/describe_problem"
android:id="@+id/textView2"
android:background="@color/gray"
android:padding="5dp"
android:textColor="@color/DarkGray"
android:textStyle="bold"
android:gravity="center" />
<RatingBar
android:id="@+id/ratingWrite"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:max="5"
android:numStars="5"
android:stepSize="1"
android:progressDrawable="@drawable/rating_bar_big_full"
android:layout_gravity="center" />
<EditText
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/editWrite"
android:layout_weight="1"
android:layout_marginBottom="10dp"
android:textSize="@dimen/TextBig" />
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TextView
android:layout_width="0dp"
android:layout_height="fill_parent"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="@string/cancel"
android:id="@+id/cancelWrite"
android:layout_weight="0.5"
android:padding="3dp"
android:layout_marginRight="20dp"
android:textStyle="bold"
android:textColor="@color/White"
android:textSize="@dimen/cancel"
android:background="@drawable/btn_cancel"
android:gravity="center" />
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="@string/send"
android:id="@+id/sendWrite"
android:layout_weight="0.5"
android:padding="10dp"
android:textSize="@dimen/TextBig"
android:textColor="@color/White"
android:background="@drawable/btn_enter"
android:textStyle="bold"
android:gravity="center" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="0dp"
android:layout_weight="0.6">
<ListView
android:id="@+id/ratingsList"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:cacheColorHint="#0000"
android:clickable="false"
android:divider="#000"
android:dividerHeight="0dp"
android:listSelector="#0000"
android:visibility="visible" >
</ListView>
<TextView
android:id="@+id/noReviews"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="30dp"
android:layout_marginRight="10dp"
android:text="@string/no_reviews"
android:textColor="@android:color/black"
android:visibility="gone"
android:textSize="@dimen/TextBig" />
</LinearLayout>
</LinearLayout>
<ProgressBar
android:id="@+id/ratingsProgress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerInParent="true"
android:layout_centerVertical="true"
android:indeterminate="true"
android:visibility="visible" />
</RelativeLayout>