Advertisement
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:id="@+id/productChildView"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="5dp"
- android:gravity="center_vertical"
- android:paddingBottom="5dp"
- android:paddingRight="5dp" >
- <LinearLayout
- android:id="@+id/layoutProductStockDiscountView"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_marginBottom="3dp"
- android:layout_marginTop="3dp"
- android:baselineAligned="false"
- android:gravity="center_vertical"
- android:paddingLeft="5dp"
- android:paddingRight="5dp" >
- <TextView
- android:id="@+id/productStockTextView"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginRight="4dp"
- android:singleLine="true"
- android:text="@string/stock_"
- android:textColor="@color/gray"
- android:textSize="@dimen/common_fontsize_small" />
- <TextView
- android:id="@+id/productOfferDiscountTextViewValue"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginRight="4dp"
- android:background="@drawable/order_offer_disc_bg"
- android:gravity="center_horizontal"
- android:paddingLeft="3dp"
- android:paddingRight="3dp"
- android:singleLine="true"
- android:text="10% off"
- android:textColor="@android:color/white"
- android:textSize="@dimen/common_fontsize_small" />
- <TextView
- android:id="@+id/productBundleQtyTextViewValue"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/quantity"
- android:textColor="@color/gray"
- android:textSize="@dimen/common_fontsize_small" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/productEditTextViewAbove"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@+id/layoutProductStockDiscountView"
- android:baselineAligned="false"
- android:paddingLeft="5dp"
- android:paddingRight="5dp" >
- <TextView
- android:id="@+id/productPriceTagTitle"
- android:layout_width="0dp"
- android:layout_height="0dp" />
- <TextView
- android:id="@+id/productRsLable"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/rs_"
- android:textColor="@android:color/holo_blue_dark"
- android:textSize="@dimen/product_edit_text_size" />
- <TextView
- android:id="@+id/productRateValue"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/price_"
- android:textColor="@android:color/holo_blue_dark"
- android:textSize="@dimen/product_edit_text_size" />
- <LinearLayout
- android:id="@+id/productViewMiddle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom" >
- <TextView
- android:id="@+id/productOriginalRateValue"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="4dp"
- android:text="@string/price_"
- android:textColor="@color/gray"
- android:textSize="@dimen/product_text_size_small" />
- <TextView
- android:id="@+id/productDiscountValue"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="4dp"
- android:text="@string/disc"
- android:textColor="@android:color/holo_red_dark"
- android:textSize="@dimen/product_text_size_small" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:id="@+id/productEditTextViewBelow"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/productEditTextViewAbove"
- android:baselineAligned="false"
- android:gravity="center_vertical"
- android:paddingLeft="5dp"
- android:paddingRight="5dp" >
- <LinearLayout
- android:id="@+id/productQuantityLayout"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1" >
- <TextView
- android:id="@+id/productQuantityTitle"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="@string/qty_"
- android:textColor="@android:color/black"
- android:textSize="@dimen/product_edit_text_size" />
- <EditText
- android:id="@+id/productQuantityValue"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginRight="5dp"
- android:hint="@string/hint_quantity"
- android:imeOptions="actionDone"
- android:inputType="numberDecimal"
- android:maxLength="8"
- android:textColor="@android:color/black"
- android:textSize="@dimen/product_edit_text_size" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/productAmountLayout"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1" >
- <TextView
- android:id="@+id/productAmountValue"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:lines="1"
- android:maxLines="1"
- android:text="@string/amt"
- android:textColor="@android:color/black"
- android:textSize="@dimen/product_edit_text_size" />
- </LinearLayout>
- </LinearLayout>
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement