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
1323b74a
Commit
1323b74a
authored
Jan 17, 2018
by
陈前
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UI
parent
ef4ad99a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
app/src/main/java/com/xingdata/zzdpos/ui/dialog/PromptDialog.java
...main/java/com/xingdata/zzdpos/ui/dialog/PromptDialog.java
+1
-1
app/src/main/java/com/xingdata/zzdpos/ui/manage/inventory/fragment/InventoryAddFragment.java
...os/ui/manage/inventory/fragment/InventoryAddFragment.java
+6
-3
No files found.
app/src/main/java/com/xingdata/zzdpos/ui/dialog/PromptDialog.java
View file @
1323b74a
...
...
@@ -183,7 +183,7 @@ public class PromptDialog extends BaseDialog<LoginPresenter, DialogPromptBinding
case
PROMPTDIALOG_SELECT:
{
mViewBinding
.
spinKit
.
setVisibility
(
View
.
GONE
);
mViewBinding
.
ivLogo
.
setVisibility
(
View
.
GONE
);
mViewBinding
.
tvText
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
succ
));
mViewBinding
.
tvText
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
black_baozheng
));
}
break
;
default
:
{
...
...
app/src/main/java/com/xingdata/zzdpos/ui/manage/inventory/fragment/InventoryAddFragment.java
View file @
1323b74a
...
...
@@ -56,12 +56,15 @@ public class InventoryAddFragment extends BaseFragment<InventoryPresenter, Fragm
initRecycler
();
mViewBinding
.
setCartCount
(
0
);
mViewBinding
.
icTitle
.
edTitle
.
setHint
(
R
.
string
.
inventory_add_et_hint
);
mViewBinding
.
icTitle
.
edTitle
.
setOnEditorActionListener
(
new
TextView
.
OnEditorActionListener
()
{
mViewBinding
.
icTitle
.
edTitle
.
setVisibility
(
View
.
GONE
);
mViewBinding
.
icTitle
.
tvTitle
.
setText
(
"商品盘点"
);
mViewBinding
.
icTitle
.
tvTitle
.
setVisibility
(
View
.
VISIBLE
);
mViewBinding
.
edTitle
.
setHint
(
R
.
string
.
inventory_add_et_hint
);
mViewBinding
.
edTitle
.
setOnEditorActionListener
(
new
TextView
.
OnEditorActionListener
()
{
@Override
public
boolean
onEditorAction
(
TextView
textView
,
int
i
,
KeyEvent
keyEvent
)
{
if
(
i
==
EditorInfo
.
IME_ACTION_SEARCH
)
{
mPresenter
.
getProductByBarcode
(
mViewBinding
.
icTitle
.
edTitle
.
getText
().
toString
());
mPresenter
.
getProductByBarcode
(
mViewBinding
.
edTitle
.
getText
().
toString
());
hideSoftInput
();
}
return
false
;
...
...
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