activity_new_order.xml 4.0 KB

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