Guest User

Untitled

a guest
Feb 22nd, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. <ListView
  2. android:id="@+id/lvOrderItems"
  3. android:layout_width="match_parent"
  4. android:layout_height="0dp"
  5. android:layout_margin="15dp"
  6. android:layout_weight=".35"
  7. android:clickable="true"
  8. android:divider="@null" />
  9.  
  10. <?xml version="1.0" encoding="utf-8"?>
  11. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  12. xmlns:app="http://schemas.android.com/apk/res-auto"
  13. android:layout_width="match_parent"
  14. android:layout_height="wrap_content"
  15. android:gravity="center_vertical"
  16. android:orientation="horizontal"
  17. android:descendantFocusability="blocksDescendants"
  18. android:padding="5dp">
  19.  
  20. <ImageView
  21. android:id="@+id/imgItemImage"
  22. android:layout_width="50dp"
  23. android:layout_height="50dp"
  24. android:layout_gravity="center_vertical"
  25. android:layout_margin="5dp"
  26. android:elevation="2dp"
  27. android:scaleType="fitCenter" />
  28.  
  29. <LinearLayout
  30. android:layout_width="0dp"
  31. android:layout_height="wrap_content"
  32. android:layout_weight="7"
  33. android:orientation="vertical"
  34. android:paddingLeft="10dp">
  35.  
  36. <TextView
  37. android:id="@+id/txtItemName"
  38. android:layout_width="match_parent"
  39. android:layout_height="wrap_content"
  40. android:fontFamily="@font/lato"
  41. android:text="TextView"
  42. android:textColor="#666666" />
  43.  
  44. <TextView
  45. android:id="@+id/txtItemPrice"
  46. android:layout_width="match_parent"
  47. android:layout_height="wrap_content"
  48. android:fontFamily="@font/lato_bold"
  49. android:text="$0.00"
  50. android:textColor="#333333"
  51. android:textSize="18sp" />
  52.  
  53. </LinearLayout>
  54.  
  55. <LinearLayout
  56. android:layout_width="0dp"
  57. android:layout_height="wrap_content"
  58. android:layout_weight="1.2"
  59. android:orientation="vertical">
  60.  
  61. <TextView
  62. android:id="@+id/textView7"
  63. android:layout_width="match_parent"
  64. android:layout_height="wrap_content"
  65. android:fontFamily="@font/lato"
  66. android:text="Qty:" />
  67.  
  68. <EditText
  69. android:id="@+id/txtTabletQty"
  70. android:layout_width="match_parent"
  71. android:layout_height="wrap_content"
  72. android:background="@drawable/textbox_background"
  73. android:ems="10"
  74. android:inputType="number"
  75. android:padding="10dp"
  76. android:singleLine="true" />
  77.  
  78. </LinearLayout>
  79.  
  80. </LinearLayout>
Add Comment
Please, Sign In to add comment