Guest User

Untitled

a guest
Mar 21st, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.86 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:id="@+id/relativeLayoutSaleListRow"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:layout_marginBottom="2dp"
  7. android:orientation="horizontal"
  8. android:padding="5dp" >
  9.  
  10. <ImageView
  11. android:id="@+id/imageViewRemoveRowSale"
  12. android:layout_width="@dimen/size_30px"
  13. android:layout_height="@dimen/size_30px"
  14. android:layout_alignParentLeft="true"
  15. android:layout_marginRight="10dp"
  16. android:layout_marginTop="10dp"
  17. android:src="@drawable/ic_action_remove"/>
  18.  
  19. <RelativeLayout
  20. android:id="@+id/relativeLayoutIncQuantity"
  21. android:layout_width="wrap_content"
  22. android:layout_height="wrap_content"
  23. android:layout_marginRight="10dp"
  24. android:layout_toRightOf="@+id/imageViewRemoveRowSale"
  25. android:layout_toLeftOf="@+id/imageViewEditRowSale"
  26. android:orientation="horizontal">
  27.  
  28.  
  29. <TextView
  30. android:id="@+id/textViewRowPrice"
  31. android:layout_width="wrap_content"
  32. android:layout_height="wrap_content"
  33. android:layout_alignParentRight="true"
  34. android:layout_marginRight="5dp"
  35. android:text="TextView" />
  36.  
  37. <TextView
  38. android:id="@+id/textViewRowQuantity"
  39. android:layout_width="wrap_content"
  40. android:layout_height="wrap_content"
  41. android:layout_below="@+id/textViewRowPrice"
  42. android:layout_alignParentRight="true"
  43. android:layout_marginRight="5dp"
  44. android:text="TextView" />
  45.  
  46.  
  47. <TextView
  48. android:id="@+id/textViewRowName"
  49. android:layout_width="wrap_content"
  50. android:layout_height="wrap_content"
  51. android:layout_alignParentLeft="true"
  52. android:layout_toLeftOf="@+id/textViewRowPrice"
  53. android:text="TextView" />
  54.  
  55.  
  56.  
  57. <LinearLayout
  58. android:id="@+id/layoutDiscount"
  59. android:layout_width="match_parent"
  60. android:layout_height="wrap_content"
  61. android:layout_below="@+id/textViewRowQuantity"
  62. android:orientation="horizontal">
  63.  
  64. <TextView
  65. android:id="@+id/textViewRowDiscountAmount"
  66. android:layout_width="wrap_content"
  67. android:layout_weight="1"
  68. android:layout_height="wrap_content"
  69. android:layout_marginRight="5dp"
  70. android:text="TextView" />
  71.  
  72. <TextView
  73. android:id="@+id/textViewRowAmountWithDiscount"
  74. android:layout_width="wrap_content"
  75. android:layout_height="wrap_content"
  76. android:gravity="right"
  77. android:layout_weight="1"
  78. android:layout_marginRight="5dp"
  79. android:text="TextView" />
  80. </LinearLayout>
  81.  
  82. </RelativeLayout>
  83.  
  84. <ImageView
  85. android:id="@+id/imageViewEditRowSale"
  86. android:layout_width="@dimen/size_45px"
  87. android:layout_height="@dimen/size_45px"
  88. android:layout_marginTop="5dp"
  89. android:layout_alignParentRight="true"
  90. android:src="@drawable/ic_action_edit" />
Add Comment
Please, Sign In to add comment