activity_new_order.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:zhy="http://schemas.android.com/apk/res/com.dongkesoft.ibossmini"
  4. android:layout_width="match_parent"
  5. android:id="@+id/layout_home_content"
  6. android:layout_height="match_parent"
  7. android:background="#ffff"
  8. android:fitsSystemWindows="true" >
  9. <include
  10. android:id="@+id/ll_title"
  11. layout="@layout/fragment_title" />
  12. <com.dongkesoft.ibossmini.activity.approve.ViewPagerIndicator
  13. android:id="@+id/vpi_merger"
  14. android:layout_width="match_parent"
  15. android:layout_height="45dp"
  16. android:layout_below="@id/ll_title"
  17. android:orientation="horizontal"
  18. zhy:item_count="3" >
  19. </com.dongkesoft.ibossmini.activity.approve.ViewPagerIndicator>
  20. <LinearLayout
  21. android:id="@+id/ll_bottom"
  22. android:layout_width="match_parent"
  23. android:background="@color/white"
  24. android:layout_height="50dp"
  25. android:layout_alignParentBottom="true"
  26. android:orientation="vertical" >
  27. <View
  28. android:layout_width="match_parent"
  29. android:layout_height="1dp"
  30. android:background="@color/lightgray"
  31. />
  32. <LinearLayout
  33. android:layout_width="match_parent"
  34. android:layout_height="match_parent"
  35. android:orientation="horizontal" >
  36. <LinearLayout
  37. android:id="@+id/ll_rounding"
  38. android:layout_width="0dp"
  39. android:layout_height="match_parent"
  40. android:gravity="center"
  41. android:layout_weight="1"
  42. android:orientation="vertical" >
  43. <TextView
  44. android:layout_width="wrap_content"
  45. android:textSize="13sp"
  46. android:textColor="@color/black"
  47. android:layout_height="wrap_content"
  48. android:text="舍零金额"/>
  49. <EditText
  50. android:id="@+id/etRounding"
  51. android:layout_width="100dp"
  52. android:layout_marginTop="2dp"
  53. android:gravity="center"
  54. android:textSize="13sp"
  55. android:numeric="integer"
  56. android:singleLine="true"
  57. android:textColor="@color/black"
  58. android:background="@null"
  59. android:hint="请输入舍零金额"
  60. android:layout_height="wrap_content"
  61. />
  62. </LinearLayout>
  63. <LinearLayout
  64. android:id="@+id/ll_remainder_receivables"
  65. android:layout_width="0dp"
  66. android:layout_height="match_parent"
  67. android:gravity="center"
  68. android:layout_weight="1"
  69. android:orientation="vertical" >
  70. <TextView
  71. android:layout_width="wrap_content"
  72. android:layout_height="wrap_content"
  73. android:textColor="@color/black"
  74. android:text="剩余应收"/>
  75. <TextView
  76. android:id="@+id/txtRemainderReceivables"
  77. android:layout_width="wrap_content"
  78. android:layout_marginTop="2dp"
  79. android:textColor="@color/black"
  80. android:layout_height="wrap_content"
  81. />
  82. </LinearLayout>
  83. <LinearLayout
  84. android:id="@+id/ll_save"
  85. android:layout_width="0dp"
  86. android:layout_height="match_parent"
  87. android:gravity="right"
  88. android:layout_weight="1"
  89. android:orientation="horizontal" >
  90. <Button
  91. android:id="@+id/btn_save"
  92. android:layout_width="match_parent"
  93. android:layout_height="match_parent"
  94. android:textColor="@color/white"
  95. android:layout_gravity="center"
  96. android:text="保存"
  97. android:background="@color/red"
  98. />
  99. </LinearLayout>
  100. </LinearLayout>
  101. </LinearLayout>
  102. <android.support.v4.view.ViewPager
  103. android:id="@+id/vp_nav"
  104. android:layout_width="fill_parent"
  105. android:layout_height="fill_parent"
  106. android:layout_above="@id/ll_bottom"
  107. android:layout_below="@id/vpi_merger" >
  108. </android.support.v4.view.ViewPager>
  109. </RelativeLayout>