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
659f62fd
Commit
659f62fd
authored
Jan 23, 2018
by
陈前
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UI
parent
25f9a03f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
14 deletions
+21
-14
app/src/main/java/com/xingdata/zzdpos/ui/manage/otherselect/OtherSelectPresenter.java
...ta/zzdpos/ui/manage/otherselect/OtherSelectPresenter.java
+1
-0
app/src/main/res/layout/item_other_select.xml
app/src/main/res/layout/item_other_select.xml
+3
-1
app/src/main/res/layout/title.xml
app/src/main/res/layout/title.xml
+17
-13
app/src/main/res/mipmap-xhdpi/icon_address.png
app/src/main/res/mipmap-xhdpi/icon_address.png
+0
-0
No files found.
app/src/main/java/com/xingdata/zzdpos/ui/manage/otherselect/OtherSelectPresenter.java
View file @
659f62fd
...
...
@@ -40,6 +40,7 @@ public class OtherSelectPresenter extends OtherSelectContract.Presenter {
.
subscribe
(
osskus
->
{
if
(
osskus
.
getTotalRow
()
==
0
)
{
ToastUtils
.
showShort
(
"没有搜到当前商品,请重新输入"
);
mView
.
loadOssku
(
osskus
,
nowPageNumber
==
1
,
keyword
);
}
else
{
mView
.
loadOssku
(
osskus
,
nowPageNumber
==
1
,
keyword
);
}
...
...
app/src/main/res/layout/item_other_select.xml
View file @
659f62fd
...
...
@@ -115,6 +115,7 @@
android:paddingEnd=
"@dimen/all_bounced_padding"
android:paddingTop=
"@dimen/all_bounced_padding"
android:text=
"@{shopName}"
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/all_text_size_low"
/>
<TextView
...
...
@@ -126,6 +127,7 @@
android:paddingEnd=
"@dimen/all_bounced_padding"
android:paddingTop=
"@dimen/all_bounced_padding"
android:text=
"@{address}"
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/all_text_size_low"
/>
<TextView
...
...
@@ -134,10 +136,10 @@
android:background=
"@color/white_caocao"
android:drawablePadding=
"@dimen/all_padding"
android:drawableStart=
"@mipmap/icon_telephone"
android:paddingEnd=
"@dimen/all_bounced_padding"
android:paddingTop=
"@dimen/all_bounced_padding"
android:text=
"@{phone}"
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/all_text_size_low"
/>
...
...
app/src/main/res/layout/title.xml
View file @
659f62fd
...
...
@@ -5,16 +5,16 @@
<variable
name=
"onClickListener"
type=
"com.xingdata.zzdpos.util.OnClickListener"
/>
type=
"com.xingdata.zzdpos.util.OnClickListener"
/>
</data>
<android.support.constraint.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"?attr/actionBarSize"
android:background=
"@drawable/singleline_white_gray
"
android:orientation=
"horizontal"
>
android:layout_width=
"match_parent"
android:layout_height=
"?attr/actionBarSize"
android:background=
"@color/white_caocao
"
android:orientation=
"horizontal"
>
<ImageButton
...
...
@@ -22,8 +22,8 @@
android:layout_width=
"?attr/actionBarSize"
android:layout_height=
"match_parent"
android:background=
"@color/transparent"
android:
src=
"@mipmap/go_back
"
android:
onClick=
"@{onClickListener}
"
/>
android:
onClick=
"@{onClickListener}
"
android:
src=
"@mipmap/go_back
"
/>
<TextView
android:id=
"@+id/tv_title"
...
...
@@ -31,14 +31,18 @@
android:layout_height=
"wrap_content"
android:layout_centerInParent=
"true"
android:text=
"标题"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/all_sub_title_size"
/>
android:textSize=
"@dimen/all_sub_title_size"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/view_line_L050"
android:background=
"@color/gray_huanggai"
app:layout_constraintBottom_toBottomOf=
"parent"
/>
</android.support.constraint.ConstraintLayout>
</layout>
\ No newline at end of file
app/src/main/res/mipmap-xhdpi/icon_address.png
View replaced file @
25f9a03f
View file @
659f62fd
1.62 KB
|
W:
|
H:
1.52 KB
|
W:
|
H:
2-up
Swipe
Onion skin
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