Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:orientation="vertical">
- <TextView
- android:id="@+id/feedbackTitle"
- android:paddingTop="20dip"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:textSize="16sp"
- android:textColor="#00ff00"
- android:layout_alignParentTop="true"
- android:text="Feedback" />
- <TextView
- android:id="@+id/feedbackText"
- android:layout_margin="15dip"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_below="@id/feedbackTitle"
- <!--Strings like this should be in a string variable-->
- android:text="Taking a few seconds to rate an app is very important for the developer. It allows us to continually improve the experience, and helps other users decide whether an app is right for them. How about telling us what you think?" />
- <TextView
- android:id="@+id/updateSentence"
- android:paddingTop="20dip"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_margin="15dip"
- android:textSize="16sp"
- android:textColor="#ff0000"
- android:layout_below="@id/feedbackText"
- android:text="This screen will only appear once per update." />
- <TableLayout
- android:id="@+id/ratingButtons"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:shrinkColumns="*"
- android:stretchColumns="*">
- <TableRow
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:gravity="center_horizontal"
- style="?android:attr/buttonBarStyle"
- android:orientation="horizontal">
- <Button
- android:id="@+id/i_love_it"
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- style="?android:attr/buttonBarButtonStyle"
- android:text="I love it!"/>
- <Button
- android:id="@+id/needs_work"
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- style="?android:attr/buttonBarButtonStyle"
- android:text="Needs work!"/>
- <Button
- android:id="@+id/maybe_later"
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- style="?android:attr/buttonBarButtonStyle"
- android:text="Maybe later."/>
- </TableRow>
- </TableLayout>
- <View
- android:layout_width="fill_parent"
- android:layout_height="1dip"
- android:layout_above="@id/ratingButtons"
- android:background="@color/DimGray"/>
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment