<?xml version="1.0" encoding="utf-8"?> <layout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/dp_13.3" android:layout_marginTop="5dp" android:layout_marginRight="@dimen/dp_13.3" android:background="@drawable/item_shape" android:orientation="horizontal" android:padding="@dimen/dp_10"> <ImageView android:id="@+id/iv_img" android:layout_width="@dimen/dp_89" android:layout_height="@dimen/dp_89" android:layout_gravity="center_vertical" android:src="@drawable/icon_img_default" /> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/dp_15" android:layout_weight="1" android:orientation="vertical"> <LinearLayout style="@style/sale_linearlayout"> <TextView style="@style/sale_item_text" android:text="@string/brand_model" android:textStyle="bold" /> <TextView android:id="@+id/tv_brand_model" style="@style/sale_item_text2" android:textStyle="bold" /> </LinearLayout> <RelativeLayout android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_marginTop="5dp" android:layout_marginRight="5dp"> <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="horizontal"> <TextView style="@style/sale_item_text" android:text="@string/sale_order_price" /> <TextView android:id="@+id/tv_price" style="@style/sale_item_text2" android:text="00" android:textColor="@color/bg_button" /> </LinearLayout> <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" android:orientation="horizontal"> <TextView style="@style/sale_item_text" android:text="@string/commision_str" /> <TextView android:id="@+id/tv_commision" style="@style/sale_item_text2" android:text="00" android:textColor="@color/common_red" /> </LinearLayout> </RelativeLayout> <LinearLayout style="@style/sale_linearlayout"> <TextView style="@style/sale_item_text" android:text="@string/sale_company_name" /> <TextView android:id="@+id/tv_company" style="@style/sale_item_text2" /> </LinearLayout> <LinearLayout style="@style/sale_linearlayout"> <TextView android:id="@+id/tv_date_desc" style="@style/sale_item_text" android:text="@string/sale_order_date" /> <TextView android:id="@+id/tv_date" style="@style/sale_item_text2" /> </LinearLayout> <LinearLayout style="@style/sale_linearlayout"> <TextView style="@style/sale_item_text" android:text="@string/sale_order_status" /> <TextView android:id="@+id/tv_status" style="@style/sale_item_text2" /> </LinearLayout> </LinearLayout> </LinearLayout> </layout>