Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TangKuPos
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王海
TangKuPos
Commits
b06a9244
Commit
b06a9244
authored
Jan 15, 2018
by
陈前
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
3b1fd97e
60d3f91a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
13 deletions
+16
-13
app/src/main/java/com/xingdata/zzdpos/ui/manage/bale/fragment/BaleEditFragment.java
...data/zzdpos/ui/manage/bale/fragment/BaleEditFragment.java
+3
-2
app/src/main/res/layout/item_bale.xml
app/src/main/res/layout/item_bale.xml
+6
-6
app/src/main/res/layout/item_bale_edit.xml
app/src/main/res/layout/item_bale_edit.xml
+5
-3
app/src/main/res/layout/item_bale_edit_query.xml
app/src/main/res/layout/item_bale_edit_query.xml
+2
-2
No files found.
app/src/main/java/com/xingdata/zzdpos/ui/manage/bale/fragment/BaleEditFragment.java
View file @
b06a9244
...
...
@@ -84,8 +84,8 @@ public class BaleEditFragment extends BaseFragment<BalePresenter, FragmentBaleEd
mViewBinding
.
rvShopItemList
.
addItemDecoration
(
new
DividerItemDecoration
(
getActivity
(),
DividerItemDecoration
.
VERTICAL
));
mViewBinding
.
rvShopItemList
.
setAdapter
(
queryShopAdapter
);
queryShopAdapter
.
setOnItemClickListener
((
adapter
,
view
,
position
)
->
clickProduct
(
queryShopAdapter
.
getData
().
get
(
position
)));
//
queryShopAdapter.setOnItemClickListener((adapter, view, position) -> clickProduct
//
(queryShopAdapter.getData().get(position)));
editFragmentImgShopAdapter
=
new
EditFragmentImgShopAdapter
(
R
.
layout
.
item_bale_editfragment_img
,
listData
);
...
...
@@ -219,6 +219,7 @@ public class BaleEditFragment extends BaseFragment<BalePresenter, FragmentBaleEd
super
.
convert
(
helper
,
item
);
ItemBaleEditBinding
mItemViewBinding
=
(
ItemBaleEditBinding
)
helper
.
mViewBinding
;
mItemViewBinding
.
tvGoodsSize
.
setText
(
"规格/"
+
item
.
getSpuUnitName
());
if
(
item
.
isEdit
())
{
mItemViewBinding
.
llUpDown
.
setVisibility
(
View
.
GONE
);
mItemViewBinding
.
llEdit
.
setVisibility
(
View
.
VISIBLE
);
...
...
app/src/main/res/layout/item_bale.xml
View file @
b06a9244
...
...
@@ -11,10 +11,9 @@
<android.support.constraint.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:card_view=
"http://schemas.android.com/apk/res-auto"
android:layout_width=
"match_parent"
android:layout_height=
"1
8
0dp"
android:layout_height=
"1
5
0dp"
android:background=
"@color/white"
android:foreground=
"?android:attr/selectableItemBackground"
android:padding=
"@dimen/all_margin"
>
android:foreground=
"?android:attr/selectableItemBackground"
>
<!--<com.xingdata.zzdhd.ui.manager.bale.view.NineGridImageView-->
<!--android:id="@+id/iv_pic"-->
...
...
@@ -31,14 +30,14 @@
<com.xingdata.zzdpos.ui.manage.bale.view.TribeAvatar
android:id=
"@+id/iv_pic"
android:layout_width=
"0dp"
android:layout_height=
"0dp"
android:layout_width=
"
10
0dp"
android:layout_height=
"
10
0dp"
android:layout_margin=
"@dimen/all_margin"
android:background=
"@drawable/shape_black"
android:padding=
"2dp"
card_view:layout_constraintBottom_toBottomOf=
"parent"
card_view:layout_constraintHorizontal_weight=
"1"
card_view:layout_constraintLeft_toLeftOf=
"parent"
card_view:layout_constraintBottom_toBottomOf=
"parent"
card_view:layout_constraintRight_toLeftOf=
"@id/ll_shop_message"
card_view:layout_constraintTop_toTopOf=
"parent"
>
...
...
@@ -50,6 +49,7 @@
android:layout_width=
"0dp"
android:layout_height=
"0dp"
android:orientation=
"vertical"
android:gravity=
"center"
android:padding=
"@dimen/all_padding"
card_view:layout_constraintBottom_toBottomOf=
"parent"
card_view:layout_constraintHorizontal_weight=
"1.5"
...
...
app/src/main/res/layout/item_bale_edit.xml
View file @
b06a9244
...
...
@@ -11,7 +11,7 @@
<android.support.constraint.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"1
8
0dp"
android:layout_height=
"1
5
0dp"
android:layout_marginBottom=
"@dimen/all_padding"
android:foreground=
"?android:attr/selectableItemBackground"
android:padding=
"@dimen/all_margin"
>
...
...
@@ -109,6 +109,7 @@
android:layout_marginEnd=
"@dimen/all_margin"
android:layout_weight=
"1"
android:background=
"@color/white"
android:onClick=
"@{onClick}"
android:src=
"@mipmap/but_reduce"
/>
...
...
@@ -138,6 +139,7 @@
android:layout_marginStart=
"@dimen/all_margin"
android:layout_weight=
"1"
android:background=
"@color/white"
android:onClick=
"@{onClick}"
android:src=
"@mipmap/but_add"
android:visibility=
"visible"
tools:layout_editor_absoluteX=
"666dp"
...
...
@@ -185,9 +187,9 @@
android:id=
"@+id/btn_edit_ok"
android:layout_width=
"55dp"
android:layout_height=
"27dp"
android:onClick=
"@{onClick}"
android:layout_marginStart=
"@dimen/all_margin"
android:background=
"@drawable/shape_black_solid_blue"
android:onClick=
"@{onClick}"
android:text=
"确定"
android:textColor=
"@color/white"
/>
...
...
@@ -198,7 +200,7 @@
style=
"@style/other_select_smallstyle"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/all_
padding
"
android:layout_marginTop=
"@dimen/all_
margin
"
android:text=
"进价:"
android:textStyle=
"bold"
app:layout_constraintStart_toStartOf=
"@id/tv_no_hint"
...
...
app/src/main/res/layout/item_bale_edit_query.xml
View file @
b06a9244
...
...
@@ -48,8 +48,8 @@
android:layout_height=
"wrap_content"
android:ellipsize=
"end"
android:gravity=
"left"
android:lines=
"
2
"
android:maxLines=
"
2
"
android:lines=
"
1
"
android:maxLines=
"
1
"
android:text=
"生日蛋糕组装礼盒带增补品啊是的那是代表开机速度卡角度看啦啦;等哈阿大大"
android:textColor=
"@color/black"
android:textSize=
"@dimen/all_text_size"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment