1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
| <RelativeLayout
android:id="@+id/LinearLayoutTopTop"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<!-- Image de la facture -->
<ImageView
android:id="@+id/ImageViewInvoiceInsideList"
android:src="@drawable/img_bill"
android:layout_alignParentLeft="true"
android:layout_margin="5dp"
android:adjustViewBounds="true"
android:layout_width="100dp"
android:layout_height="100dp"
android:scaleType="center" />
<!-- Nom de la facture -->
<LinearLayout
android:orientation="vertical"
android:layout_toRightOf="@id/ImageViewInvoiceInsideList"
android:layout_marginTop="20dp"
android:layout_marginLeft="@dimen/marginsequiapresimagecellulefacture"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:id="@+id/TextNomFacture"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/ImageViewInvoiceInsideList"
android:layout_centerVertical="true"
android:textColor="@color/couleurnomfacturecell"
android:text="Nom Facture"
android:textSize="@dimen/textsizefacturenom"
android:textStyle="italic" />
</LinearLayout>
<!-- Valeur de la Facture avec sont imageview toujours alignParentRight -->
<LinearLayout
android:orientation="horizontal"
android:layout_alignParentRight="true"
android:gravity="center_vertical|left"
android:layout_marginRight="10dp"
android:layout_marginTop="20dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/ImageViewInvoiceItem1"
android:src="@drawable/ic_money"
android:layout_width="49dp"
android:layout_height="40dp"
android:layout_margin="5dp"
android:scaleType="center" />
<TextView
android:id="@+id/TextValeurFactureCell"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/couleurvaleurfacturecell"
android:gravity="center"
android:text="500$"
android:textSize="@dimen/textsizefacturecellelementbas"
android:textStyle="italic" />
</LinearLayout>
</RelativeLayout> |
Partager