Skip to content

Instantly share code, notes, and snippets.

Created September 1, 2014 08:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/6476254bd5a597e36b03 to your computer and use it in GitHub Desktop.
Save anonymous/6476254bd5a597e36b03 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical" >
<TextView
android:id="@+id/productnametv"
android:layout_width="319dp"
android:layout_height="wrap_content"
android:padding="8dp"
android:text="@string/productname" />
<ImageView
android:id="@+id/productimage"
android:layout_width="wrap_content"
android:layout_height="160dp"
android:src="@drawable/mobiles" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:weightSum="2" >
<TextView
android:id="@+id/actualpricetext"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="@string/actualprice" />
<TextView
android:id="@+id/offerprcetext"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="@string/offerprice" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:weightSum="2" >
<TextView
android:id="@+id/actualpricetv"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="$500" />
<TextView
android:id="@+id/offerprcetv"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="$350" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<TextView
android:id="@+id/reviewstext"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="10dp"
android:text="@string/reviews" />
<ListView
android:id="@+id/reviewslist"
android:layout_width="match_parent"
android:layout_height="176dp" >
</ListView>
</LinearLayout>
</LinearLayout>
<Button
android:id="@+id/rateandreviewbtn"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:text="@string/rateandreviewit" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment