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
acda9470
Commit
acda9470
authored
Jan 30, 2018
by
zhang_z
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
d32741b7
5b7df46d
Changes
33
Show whitespace changes
Inline
Side-by-side
Showing
33 changed files
with
276 additions
and
190 deletions
+276
-190
app/src/main/java/com/xingdata/zzdpos/App.java
app/src/main/java/com/xingdata/zzdpos/App.java
+7
-0
app/src/main/java/com/xingdata/zzdpos/base/BaseDialog.java
app/src/main/java/com/xingdata/zzdpos/base/BaseDialog.java
+4
-1
app/src/main/java/com/xingdata/zzdpos/ui/main/MainActivity.java
...c/main/java/com/xingdata/zzdpos/ui/main/MainActivity.java
+1
-5
app/src/main/java/com/xingdata/zzdpos/ui/manage/inventory/InventoryActivity.java
...ingdata/zzdpos/ui/manage/inventory/InventoryActivity.java
+3
-3
app/src/main/java/com/xingdata/zzdpos/ui/manage/inventory/dialog/DeleteInventoryDialog.java
...pos/ui/manage/inventory/dialog/DeleteInventoryDialog.java
+49
-0
app/src/main/java/com/xingdata/zzdpos/ui/manage/inventory/fragment/InventoryAddFragment.java
...os/ui/manage/inventory/fragment/InventoryAddFragment.java
+35
-40
app/src/main/java/com/xingdata/zzdpos/ui/sendticke/fragment/VipFragment.java
...om/xingdata/zzdpos/ui/sendticke/fragment/VipFragment.java
+0
-1
app/src/main/java/com/xingdata/zzdpos/ui/statistics/StatisticsDetailActivity.java
...ngdata/zzdpos/ui/statistics/StatisticsDetailActivity.java
+11
-3
app/src/main/java/com/xingdata/zzdpos/ui/vip/fragment/VipListFragment.java
.../com/xingdata/zzdpos/ui/vip/fragment/VipListFragment.java
+7
-6
app/src/main/res/layout/activity_ms.xml
app/src/main/res/layout/activity_ms.xml
+3
-2
app/src/main/res/layout/activity_payment.xml
app/src/main/res/layout/activity_payment.xml
+3
-2
app/src/main/res/layout/activity_settle.xml
app/src/main/res/layout/activity_settle.xml
+3
-2
app/src/main/res/layout/activity_sssku.xml
app/src/main/res/layout/activity_sssku.xml
+4
-3
app/src/main/res/layout/activity_store.xml
app/src/main/res/layout/activity_store.xml
+8
-4
app/src/main/res/layout/dialog_delete_inventory.xml
app/src/main/res/layout/dialog_delete_inventory.xml
+29
-0
app/src/main/res/layout/fragment_bale_edit.xml
app/src/main/res/layout/fragment_bale_edit.xml
+3
-3
app/src/main/res/layout/fragment_bale_index.xml
app/src/main/res/layout/fragment_bale_index.xml
+3
-3
app/src/main/res/layout/fragment_bale_seach.xml
app/src/main/res/layout/fragment_bale_seach.xml
+4
-4
app/src/main/res/layout/fragment_bale_seach_shop.xml
app/src/main/res/layout/fragment_bale_seach_shop.xml
+4
-4
app/src/main/res/layout/fragment_inventory_add.xml
app/src/main/res/layout/fragment_inventory_add.xml
+0
-1
app/src/main/res/layout/fragment_send_ticker_vip.xml
app/src/main/res/layout/fragment_send_ticker_vip.xml
+15
-14
app/src/main/res/layout/fragment_vip_info_edit.xml
app/src/main/res/layout/fragment_vip_info_edit.xml
+14
-31
app/src/main/res/layout/fragment_vip_level_edit.xml
app/src/main/res/layout/fragment_vip_level_edit.xml
+5
-27
app/src/main/res/layout/fragment_vip_level_list.xml
app/src/main/res/layout/fragment_vip_level_list.xml
+1
-5
app/src/main/res/layout/fragment_vip_list.xml
app/src/main/res/layout/fragment_vip_list.xml
+25
-8
app/src/main/res/layout/fragment_vip_serch.xml
app/src/main/res/layout/fragment_vip_serch.xml
+4
-3
app/src/main/res/layout/item_vip_expense_item.xml
app/src/main/res/layout/item_vip_expense_item.xml
+2
-4
app/src/main/res/layout/item_vip_list_item.xml
app/src/main/res/layout/item_vip_list_item.xml
+6
-7
app/src/main/res/layout/line_layout_margin_left.xml
app/src/main/res/layout/line_layout_margin_left.xml
+7
-0
app/src/main/res/layout/line_layout_margin_right.xml
app/src/main/res/layout/line_layout_margin_right.xml
+7
-0
app/src/main/res/layout/title_pop.xml
app/src/main/res/layout/title_pop.xml
+9
-4
app/src/main/res/mipmap-xhdpi/vip_level_bg.9.png
app/src/main/res/mipmap-xhdpi/vip_level_bg.9.png
+0
-0
app/src/main/res/mipmap-xhdpi/vip_level_bg.png
app/src/main/res/mipmap-xhdpi/vip_level_bg.png
+0
-0
No files found.
app/src/main/java/com/xingdata/zzdpos/App.java
View file @
acda9470
...
@@ -18,6 +18,7 @@ import com.blankj.utilcode.util.ToastUtils;
...
@@ -18,6 +18,7 @@ import com.blankj.utilcode.util.ToastUtils;
import
com.blankj.utilcode.util.Utils
;
import
com.blankj.utilcode.util.Utils
;
import
com.facebook.drawee.backends.pipeline.Fresco
;
import
com.facebook.drawee.backends.pipeline.Fresco
;
import
com.wanjian.cockroach.Cockroach
;
import
com.wanjian.cockroach.Cockroach
;
import
com.xingdata.api.print.ZX_PrintPOS
;
import
com.xingdata.zzdpos.ui.exception.ErrorDialogActivity
;
import
com.xingdata.zzdpos.ui.exception.ErrorDialogActivity
;
import
com.xingdata.zzdpos.ui.splash.SplashActivity
;
import
com.xingdata.zzdpos.ui.splash.SplashActivity
;
import
com.xingdata.zzdpos.util.INI
;
import
com.xingdata.zzdpos.util.INI
;
...
@@ -167,4 +168,10 @@ public class App extends Application {
...
@@ -167,4 +168,10 @@ public class App extends Application {
android
.
os
.
Process
.
killProcess
(
android
.
os
.
Process
.
myPid
());
android
.
os
.
Process
.
killProcess
(
android
.
os
.
Process
.
myPid
());
System
.
exit
(
1
);
System
.
exit
(
1
);
}
}
@Override
public
void
onTerminate
()
{
ZX_PrintPOS
.
getInstance
(
this
).
Destory
();
super
.
onTerminate
();
}
}
}
app/src/main/java/com/xingdata/zzdpos/base/BaseDialog.java
View file @
acda9470
package
com
.
xingdata
.
zzdpos
.
base
;
package
com
.
xingdata
.
zzdpos
.
base
;
import
android.app.AlertDialog
;
import
android.app.Dialog
;
import
android.content.Context
;
import
android.content.Context
;
import
android.content.DialogInterface
;
import
android.content.DialogInterface
;
import
android.databinding.DataBindingUtil
;
import
android.databinding.DataBindingUtil
;
...
@@ -315,9 +317,10 @@ public abstract class BaseDialog<P extends BasePresenter, B extends ViewDataBind
...
@@ -315,9 +317,10 @@ public abstract class BaseDialog<P extends BasePresenter, B extends ViewDataBind
return
null
;
return
null
;
}
}
public
void
setBtnName
(
String
cancel
,
String
OK
)
{
public
BaseDialog
setBtnName
(
String
cancel
,
String
OK
)
{
mBaseBinding
.
btnCancel
.
setText
(
cancel
);
mBaseBinding
.
btnCancel
.
setText
(
cancel
);
mBaseBinding
.
btnConfirm
.
setText
(
OK
);
mBaseBinding
.
btnConfirm
.
setText
(
OK
);
return
this
;
}
}
}
}
\ No newline at end of file
app/src/main/java/com/xingdata/zzdpos/ui/main/MainActivity.java
View file @
acda9470
...
@@ -210,9 +210,5 @@ public class MainActivity extends BaseActivity<MainPresenter, ActivityMainBindin
...
@@ -210,9 +210,5 @@ public class MainActivity extends BaseActivity<MainPresenter, ActivityMainBindin
}
}
@Override
protected
void
onDestroy
()
{
ZX_PrintPOS
.
getInstance
(
this
).
Destory
();
super
.
onDestroy
();
}
}
}
app/src/main/java/com/xingdata/zzdpos/ui/manage/inventory/InventoryActivity.java
View file @
acda9470
...
@@ -33,7 +33,7 @@ public class InventoryActivity extends BaseActivity<InventoryPresenter, Activity
...
@@ -33,7 +33,7 @@ public class InventoryActivity extends BaseActivity<InventoryPresenter, Activity
implements
InventoryContract
.
View
{
implements
InventoryContract
.
View
{
private
InventoryFragment
mInventoryFragment
=
new
InventoryFragment
();
private
InventoryFragment
mInventoryFragment
=
new
InventoryFragment
();
private
ManageDateFragment
mManageDateFragment
=
new
ManageDateFragment
();
private
ManageDateFragment
mManageDateFragment
=
new
ManageDateFragment
();
private
InventoryAddFragment
mInventoryAddFragment
=
new
InventoryAddFragment
()
;
private
InventoryAddFragment
mInventoryAddFragment
;
;
;
LoadingDialog
mLoadingDialog
=
new
LoadingDialog
();
LoadingDialog
mLoadingDialog
=
new
LoadingDialog
();
private
ScanFragment
mScanFragment
;
private
ScanFragment
mScanFragment
;
...
@@ -56,7 +56,7 @@ public class InventoryActivity extends BaseActivity<InventoryPresenter, Activity
...
@@ -56,7 +56,7 @@ public class InventoryActivity extends BaseActivity<InventoryPresenter, Activity
mViewBinding
.
icTitle
.
setOnClickListener
(
new
OnClickListener
()
{
mViewBinding
.
icTitle
.
setOnClickListener
(
new
OnClickListener
()
{
@Override
@Override
protected
void
myOnClickListener
(
View
v
)
{
protected
void
myOnClickListener
(
View
v
)
{
if
(
mInventoryAddFragment
.
isAdded
())
{
if
(
mInventoryAddFragment
!=
null
&&
mInventoryAddFragment
.
isAdded
())
{
mInventoryAddFragment
.
popThis
();
mInventoryAddFragment
.
popThis
();
return
;
return
;
}
}
...
@@ -146,7 +146,7 @@ public class InventoryActivity extends BaseActivity<InventoryPresenter, Activity
...
@@ -146,7 +146,7 @@ public class InventoryActivity extends BaseActivity<InventoryPresenter, Activity
@Override
@Override
public
void
openInventoryAddFragment
(
Cs
cs
)
{
public
void
openInventoryAddFragment
(
Cs
cs
)
{
mInventoryAddFragment
=
new
InventoryAddFragment
();
mInventoryAddFragment
.
setCs
(
cs
);
mInventoryAddFragment
.
setCs
(
cs
);
changeTitle
(
"商品盘点"
,
true
);
changeTitle
(
"商品盘点"
,
true
);
start
(
mInventoryAddFragment
);
start
(
mInventoryAddFragment
);
...
...
app/src/main/java/com/xingdata/zzdpos/ui/manage/inventory/dialog/DeleteInventoryDialog.java
0 → 100644
View file @
acda9470
package
com
.
xingdata
.
zzdpos
.
ui
.
manage
.
inventory
.
dialog
;
import
android.view.View
;
import
com.blankj.utilcode.util.TimeUtils
;
import
com.xingdata.zzdpos.R
;
import
com.xingdata.zzdpos.base.BaseDialog
;
import
com.xingdata.zzdpos.databinding.DialogDeleteInventoryBinding
;
import
com.xingdata.zzdpos.databinding.DialogHandoverBinding
;
import
com.xingdata.zzdpos.ui.login.LoginPresenter
;
import
com.xingdata.zzdpos.ui.main.MainPresenter
;
import
com.xingdata.zzdpos.ui.manage.inventory.InventoryPresenter
;
import
com.xingdata.zzdpos.util.ConvertUtil
;
/**
* 交班页面
*/
public
class
DeleteInventoryDialog
extends
BaseDialog
<
InventoryPresenter
,
DialogDeleteInventoryBinding
>
{
@Override
public
int
getLayoutId
()
{
return
R
.
layout
.
dialog_delete_inventory
;
}
@Override
public
int
getTitle
()
{
return
-
1
;
}
@Override
public
void
initView
()
{
setBtnName
(
"不删除"
,
"删除"
);
// mViewBinding.tvDis.set
}
@Override
public
void
setOnCancelClick
(
View
.
OnClickListener
onCancelClick
)
{
super
.
setOnCancelClick
(
onCancelClick
);
}
@Override
public
void
setOnConfirmClick
(
View
.
OnClickListener
onConfirmClick
)
{
super
.
setOnConfirmClick
(
onConfirmClick
);
}
}
app/src/main/java/com/xingdata/zzdpos/ui/manage/inventory/fragment/InventoryAddFragment.java
View file @
acda9470
package
com
.
xingdata
.
zzdpos
.
ui
.
manage
.
inventory
.
fragment
;
package
com
.
xingdata
.
zzdpos
.
ui
.
manage
.
inventory
.
fragment
;
import
android.graphics.drawable.Drawable
;
import
android.graphics.drawable.Drawable
;
import
android.support.v4.app.FragmentActivity
;
import
android.support.v7.widget.LinearLayoutManager
;
import
android.support.v7.widget.LinearLayoutManager
;
import
android.view.KeyEvent
;
import
android.view.KeyEvent
;
import
android.view.View
;
import
android.view.View
;
...
@@ -22,6 +23,7 @@ import com.xingdata.zzdpos.ui.dialog.PromptDialog;
...
@@ -22,6 +23,7 @@ import com.xingdata.zzdpos.ui.dialog.PromptDialog;
import
com.xingdata.zzdpos.ui.manage.inventory.InventoryPresenter
;
import
com.xingdata.zzdpos.ui.manage.inventory.InventoryPresenter
;
import
com.xingdata.zzdpos.ui.manage.inventory.adpter.InventoryGoodsAdapter
;
import
com.xingdata.zzdpos.ui.manage.inventory.adpter.InventoryGoodsAdapter
;
import
com.xingdata.zzdpos.ui.manage.inventory.dialog.CsCartDialog
;
import
com.xingdata.zzdpos.ui.manage.inventory.dialog.CsCartDialog
;
import
com.xingdata.zzdpos.ui.manage.inventory.dialog.DeleteInventoryDialog
;
import
com.xingdata.zzdpos.ui.scan.ScanFragment
;
import
com.xingdata.zzdpos.ui.scan.ScanFragment
;
import
com.xingdata.zzdpos.util.OnClickListener
;
import
com.xingdata.zzdpos.util.OnClickListener
;
import
com.xingdata.zzdpos.util.RecyclerViewUtil
;
import
com.xingdata.zzdpos.util.RecyclerViewUtil
;
...
@@ -40,6 +42,7 @@ public class InventoryAddFragment extends BaseFragment<InventoryPresenter, Fragm
...
@@ -40,6 +42,7 @@ public class InventoryAddFragment extends BaseFragment<InventoryPresenter, Fragm
private
List
<
Sssku
>
topCsList
=
new
ArrayList
<>();
private
List
<
Sssku
>
topCsList
=
new
ArrayList
<>();
private
InventoryGoodsAdapter
mInventoryGoodsAdapter
;
private
InventoryGoodsAdapter
mInventoryGoodsAdapter
;
private
CsCartDialog
mCartDialog
=
new
CsCartDialog
();
private
CsCartDialog
mCartDialog
=
new
CsCartDialog
();
DeleteInventoryDialog
deleteInventoryDialog
=
new
DeleteInventoryDialog
();
/**
/**
...
@@ -57,15 +60,10 @@ public class InventoryAddFragment extends BaseFragment<InventoryPresenter, Fragm
...
@@ -57,15 +60,10 @@ public class InventoryAddFragment extends BaseFragment<InventoryPresenter, Fragm
@Override
@Override
public
void
initView
()
{
public
void
initView
()
{
initDialog
();
initRecycler
();
initRecycler
();
mViewBinding
.
setCartCount
(
0
);
mViewBinding
.
setCartCount
(
0
);
mViewBinding
.
edTitle
.
setHint
(
R
.
string
.
inventory_add_et_hint
);
mViewBinding
.
edTitle
.
setHint
(
R
.
string
.
inventory_add_et_hint
);
if
(
mViewBinding
.
edTitle
.
getText
().
toString
().
length
()
!=
0
)
{
mViewBinding
.
edTitle
.
setText
(
""
);
}
mViewBinding
.
edTitle
.
setOnEditorActionListener
(
new
TextView
.
OnEditorActionListener
()
{
mViewBinding
.
edTitle
.
setOnEditorActionListener
(
new
TextView
.
OnEditorActionListener
()
{
@Override
@Override
public
boolean
onEditorAction
(
TextView
textView
,
int
i
,
KeyEvent
keyEvent
)
{
public
boolean
onEditorAction
(
TextView
textView
,
int
i
,
KeyEvent
keyEvent
)
{
...
@@ -89,36 +87,45 @@ public class InventoryAddFragment extends BaseFragment<InventoryPresenter, Fragm
...
@@ -89,36 +87,45 @@ public class InventoryAddFragment extends BaseFragment<InventoryPresenter, Fragm
mPresenter
.
exitInventoryAdd
();
mPresenter
.
exitInventoryAdd
();
});
});
// mViewBinding.btnPrint.setOnClickListener(new OnClickListener() {
// @Override
// protected void myOnClickListener(View v) {
// ZX_PrintPOS.getInstance(mContext).printInventory(1, mCs);
// }
// });
}
}
private
void
initDialog
()
{
deleteInventoryDialog
.
setOnConfirmClick
(
new
OnClickListener
()
{
@Override
protected
void
myOnClickListener
(
View
v
)
{
mPresenter
.
cancelInventoryAdd
(
mCs
);
deleteInventoryDialog
.
dismiss
();
}
});
deleteInventoryDialog
.
setOnCancelClick
(
new
OnClickListener
()
{
@Override
protected
void
myOnClickListener
(
View
v
)
{
deleteInventoryDialog
.
dismiss
();
pop
();
}
});
}
private
void
initRecycler
()
{
private
void
initRecycler
()
{
mViewBinding
.
recyclerView
.
setLayoutManager
(
new
LinearLayoutManager
(
getActivity
()));
mViewBinding
.
recyclerView
.
setLayoutManager
(
new
LinearLayoutManager
(
getActivity
()));
mInventoryGoodsAdapter
=
new
InventoryGoodsAdapter
(
topCsList
);
mInventoryGoodsAdapter
=
new
InventoryGoodsAdapter
(
topCsList
);
mInventoryGoodsAdapter
.
setEmptyView
(
getEmptyView
());
mInventoryGoodsAdapter
.
setEmptyView
(
getEmptyView
());
mInventoryGoodsAdapter
.
setOnItemLongClickListener
((
adapter
,
view
,
position
)
->
{
mInventoryGoodsAdapter
.
setOnItemLongClickListener
((
adapter
,
view
,
position
)
->
{
if
(
bottomCsList
.
size
()
==
0
)
{
PromptDialog
delDialog
=
new
PromptDialog
();
mPresenter
.
cancelInventoryAdd
(
mCs
);
delDialog
.
setDialogType
(
PromptDialog
.
PROMPTDIALOG_SELECT
,
"是否删除"
).
setClick
(
new
View
.
OnClickListener
()
{
}
else
{
@Override
PromptDialog
promptDialog
=
new
PromptDialog
();
public
void
onClick
(
View
view
)
{
promptDialog
.
setDialogType
(
PromptDialog
.
PROMPTDIALOG_SELECT
,
"退出前是否删除本次盘库记录"
).
setClick
(
view1
->
{
adapter
.
getData
().
remove
(
position
);
mPresenter
.
cancelInventoryAdd
(
mCs
);
adapter
.
notifyDataSetChanged
();
promptDialog
.
dismiss
();
delDialog
.
dismiss
();
},
view1
->
{
promptDialog
.
dismiss
();
pop
();
}).
setCancelables
(
false
).
show
((
BaseActivity
)
mContext
);
}
}
},
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
view
)
{
delDialog
.
dismiss
();
}
}).
setCancelables
(
false
).
show
((
BaseActivity
)
mContext
);
return
false
;
return
false
;
});
});
mInventoryGoodsAdapter
.
setOnItemChildClickListener
((
adapter
,
view
,
position
)
->
{
mInventoryGoodsAdapter
.
setOnItemChildClickListener
((
adapter
,
view
,
position
)
->
{
...
@@ -213,7 +220,6 @@ public class InventoryAddFragment extends BaseFragment<InventoryPresenter, Fragm
...
@@ -213,7 +220,6 @@ public class InventoryAddFragment extends BaseFragment<InventoryPresenter, Fragm
@Override
@Override
public
boolean
onBackPressedSupport
()
{
public
boolean
onBackPressedSupport
()
{
popThis
();
popThis
();
return
true
;
return
true
;
}
}
...
@@ -222,18 +228,7 @@ public class InventoryAddFragment extends BaseFragment<InventoryPresenter, Fragm
...
@@ -222,18 +228,7 @@ public class InventoryAddFragment extends BaseFragment<InventoryPresenter, Fragm
if
(
bottomCsList
.
size
()
==
0
)
{
if
(
bottomCsList
.
size
()
==
0
)
{
mPresenter
.
cancelInventoryAdd
(
mCs
);
mPresenter
.
cancelInventoryAdd
(
mCs
);
}
else
{
}
else
{
PromptDialog
promptDialog
=
new
PromptDialog
();
deleteInventoryDialog
.
show
((
BaseActivity
)
getActivity
());
promptDialog
.
setDialogType
(
PromptDialog
.
PROMPTDIALOG_SELECT
,
"退出前是否删除本次盘库记录"
).
setClick
(
view1
->
{
mPresenter
.
cancelInventoryAdd
(
mCs
);
promptDialog
.
dismiss
();
},
view1
->
{
promptDialog
.
dismiss
();
mPresenter
.
changeTitle
(
"盘库记录"
,
false
);
pop
();
}).
setCancelables
(
false
).
show
((
BaseActivity
)
mContext
);
}
}
}
}
...
...
app/src/main/java/com/xingdata/zzdpos/ui/sendticke/fragment/VipFragment.java
View file @
acda9470
...
@@ -68,7 +68,6 @@ public class VipFragment extends BaseFragment<SendTicketPresenter, FragmentSendT
...
@@ -68,7 +68,6 @@ public class VipFragment extends BaseFragment<SendTicketPresenter, FragmentSendT
mViewBinding
.
vSearch
.
hideSoftInput
();
mViewBinding
.
vSearch
.
hideSoftInput
();
mPresenter
.
searchVip
(
keyword
);
mPresenter
.
searchVip
(
keyword
);
});
});
mViewBinding
.
vSearch
.
setHint
(
"请输入会员手机号进行搜索"
);
mViewBinding
.
vSearch
.
showSoftInput
();
mViewBinding
.
vSearch
.
showSoftInput
();
}
}
...
...
app/src/main/java/com/xingdata/zzdpos/ui/statistics/StatisticsDetailActivity.java
View file @
acda9470
...
@@ -131,7 +131,12 @@ public class StatisticsDetailActivity extends BaseActivity<StatisticsDetailPrese
...
@@ -131,7 +131,12 @@ public class StatisticsDetailActivity extends BaseActivity<StatisticsDetailPrese
mViewBinding
.
btnReturn
.
setOnClickListener
(
new
OnClickListener
()
{
mViewBinding
.
btnReturn
.
setOnClickListener
(
new
OnClickListener
()
{
@Override
@Override
protected
void
myOnClickListener
(
View
v
)
{
protected
void
myOnClickListener
(
View
v
)
{
try
{
ZX_PrintPOS
.
getInstance
(
MainActivity
.
mainActivity
).
printInventory
(
1
,
cs
);
ZX_PrintPOS
.
getInstance
(
MainActivity
.
mainActivity
).
printInventory
(
1
,
cs
);
}
catch
(
Exception
e
)
{
ToastUtils
.
showShort
(
"打印异常"
);
}
mViewBinding
.
btnReturn
.
setEnabled
(
false
);
mViewBinding
.
btnReturn
.
setEnabled
(
false
);
mViewBinding
.
btnReturn
.
setText
(
"已打印"
);
mViewBinding
.
btnReturn
.
setText
(
"已打印"
);
...
@@ -164,11 +169,14 @@ public class StatisticsDetailActivity extends BaseActivity<StatisticsDetailPrese
...
@@ -164,11 +169,14 @@ public class StatisticsDetailActivity extends BaseActivity<StatisticsDetailPrese
,
false
));
,
false
));
mViewBinding
.
btnPrint
.
setOnClickListener
(
new
OnClickListener
()
{
mViewBinding
.
btnPrint
.
setOnClickListener
(
new
OnClickListener
()
{
@Override
@Override
protected
void
myOnClickListener
(
View
v
)
{
protected
void
myOnClickListener
(
View
v
)
{
try
{
ZX_PrintPOS
.
getInstance
(
MainActivity
.
mainActivity
).
printSave
(
1
,
vipRechargeOrder
);
ZX_PrintPOS
.
getInstance
(
MainActivity
.
mainActivity
).
printSave
(
1
,
vipRechargeOrder
);
}
catch
(
Exception
e
)
{
ToastUtils
.
showShort
(
"打印异常"
);
}
mViewBinding
.
btnPrint
.
setEnabled
(
false
);
mViewBinding
.
btnPrint
.
setEnabled
(
false
);
mViewBinding
.
btnPrint
.
setText
(
"已打印"
);
mViewBinding
.
btnPrint
.
setText
(
"已打印"
);
...
...
app/src/main/java/com/xingdata/zzdpos/ui/vip/fragment/VipListFragment.java
View file @
acda9470
...
@@ -150,25 +150,26 @@ public class VipListFragment extends BaseFragment<VipPresenter, FragmentVipListB
...
@@ -150,25 +150,26 @@ public class VipListFragment extends BaseFragment<VipPresenter, FragmentVipListB
if
(
radioButton
.
isChecked
())
{
if
(
radioButton
.
isChecked
())
{
strVipLevle
=
radioButton
.
getTag
()
==
null
?
null
:
radioButton
.
getTag
().
toString
();
strVipLevle
=
radioButton
.
getTag
()
==
null
?
null
:
radioButton
.
getTag
().
toString
();
radioButton
.
getPaint
().
setFakeBoldText
(
true
);
radioButton
.
getPaint
().
setFakeBoldText
(
true
);
radioButton
.
setTextSize
(
1
7
);
radioButton
.
setTextSize
(
1
6
);
vipListAdapter
.
setEnableLoadMore
(
true
);
vipListAdapter
.
setEnableLoadMore
(
true
);
mPresenter
.
getVipList
(
0
,
strVipLevle
);
mPresenter
.
getVipList
(
0
,
strVipLevle
);
}
else
{
}
else
{
radioButton
.
setTextSize
(
15
);
radioButton
.
setTextSize
(
14
);
radioButton
.
getPaint
().
setFakeBoldText
(
false
);
}
}
}
}
@SuppressLint
(
"ResourceAsColor"
)
@SuppressLint
(
"ResourceAsColor"
)
private
RadioButton
addRadioButton
(
LinearLayout
.
LayoutParams
layoutParams
,
Level
level
)
{
private
RadioButton
addRadioButton
(
LinearLayout
.
LayoutParams
layoutParams
,
Level
level
)
{
RadioButton
radioButton
=
new
RadioButton
(
getActivity
());
RadioButton
radioButton
=
new
RadioButton
(
getActivity
());
radioButton
.
setTextSize
(
1
5
);
radioButton
.
setTextSize
(
1
4
);
radioButton
.
setText
(
level
.
getVipLevelName
());
radioButton
.
setText
(
level
.
getVipLevelName
());
radioButton
.
setTag
(
level
.
getVipLevel
());
radioButton
.
setTag
(
level
.
getVipLevel
());
radioButton
.
setGravity
(
Gravity
.
CENTER
);
radioButton
.
setGravity
(
Gravity
.
CENTER
);
radioButton
.
setButtonDrawable
(
null
);
radioButton
.
setButtonDrawable
(
null
);
radioButton
.
getPaint
().
setFakeBoldText
(
true
);
//
radioButton.getPaint().setFakeBoldText(true);
radioButton
.
setBackgroundResource
(
R
.
drawable
.
checkbox_viplevel_bg
);
radioButton
.
setBackgroundResource
(
R
.
drawable
.
checkbox_viplevel_bg
);
radioButton
.
setTextColor
(
R
.
color
.
black_baozheng
);
radioButton
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
black
)
);
radioButton
.
setLayoutParams
(
layoutParams
);
radioButton
.
setLayoutParams
(
layoutParams
);
radioButton
.
setPadding
(
0
,
40
,
0
,
40
);
radioButton
.
setPadding
(
0
,
40
,
0
,
40
);
return
radioButton
;
return
radioButton
;
...
@@ -196,7 +197,7 @@ public class VipListFragment extends BaseFragment<VipPresenter, FragmentVipListB
...
@@ -196,7 +197,7 @@ public class VipListFragment extends BaseFragment<VipPresenter, FragmentVipListB
// setVipLevel(levelPager.getList(), mViewBinding.vipLevelRadioGroup.findViewById(id).getTag().toString());
// setVipLevel(levelPager.getList(), mViewBinding.vipLevelRadioGroup.findViewById(id).getTag().toString());
for
(
int
i
=
0
;
i
<
mViewBinding
.
vipLevelR
.
getChildCount
();
i
++)
{
for
(
int
i
=
0
;
i
<
mViewBinding
.
vipLevelR
.
getChildCount
();
i
++)
{
//动态设置按钮颜色
//动态设置按钮颜色
setRadioButtonChecked
(
id
);
setRadioButtonChecked
(
mViewBinding
.
vipLevelR
.
getChildAt
(
i
).
getId
()
);
}
}
});
});
if
(
levelPager
.
getList
().
size
()
!=
0
)
{
if
(
levelPager
.
getList
().
size
()
!=
0
)
{
...
...
app/src/main/res/layout/activity_ms.xml
View file @
acda9470
...
@@ -25,12 +25,13 @@
...
@@ -25,12 +25,13 @@
<ImageButton
<ImageButton
android:id=
"@+id/btn_back"
android:id=
"@+id/btn_back"
android:layout_width=
"
?attr/actionBarSize
"
android:layout_width=
"
wrap_content
"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"?attr/actionBarItemBackground"
android:background=
"?attr/actionBarItemBackground"
android:contentDescription=
"@string/all_go_back"
android:contentDescription=
"@string/all_go_back"
android:gravity=
"center"
android:gravity=
"center"
android:padding=
"@dimen/all_margin"
android:paddingEnd=
"@dimen/all_margin"
android:paddingStart=
"@dimen/all_padding"
android:src=
"@mipmap/back_black"
android:src=
"@mipmap/back_black"
app:layout_constraintLeft_toLeftOf=
"parent"
/>
app:layout_constraintLeft_toLeftOf=
"parent"
/>
...
...
app/src/main/res/layout/activity_payment.xml
View file @
acda9470
...
@@ -13,12 +13,13 @@
...
@@ -13,12 +13,13 @@
<ImageButton
<ImageButton
android:id=
"@+id/btn_back"
android:id=
"@+id/btn_back"
android:layout_width=
"
?attr/actionBarSize
"
android:layout_width=
"
wrap_content
"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"?attr/actionBarItemBackground"
android:background=
"?attr/actionBarItemBackground"
android:contentDescription=
"@string/all_go_back"
android:contentDescription=
"@string/all_go_back"
android:gravity=
"center"
android:gravity=
"center"
android:padding=
"@dimen/all_margin"
android:paddingEnd=
"@dimen/all_margin"
android:paddingStart=
"@dimen/all_padding"
android:src=
"@mipmap/back_white"
/>
android:src=
"@mipmap/back_white"
/>
<TextView
<TextView
...
...
app/src/main/res/layout/activity_settle.xml
View file @
acda9470
...
@@ -25,12 +25,13 @@
...
@@ -25,12 +25,13 @@
<ImageButton
<ImageButton
android:id=
"@+id/btn_back"
android:id=
"@+id/btn_back"
android:layout_width=
"
?attr/actionBarSize
"
android:layout_width=
"
wrap_content
"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"?attr/actionBarItemBackground"
android:background=
"?attr/actionBarItemBackground"
android:contentDescription=
"@string/all_go_back"
android:contentDescription=
"@string/all_go_back"
android:gravity=
"center"
android:gravity=
"center"
android:padding=
"@dimen/all_margin"
android:paddingEnd=
"@dimen/all_margin"
android:paddingStart=
"@dimen/all_padding"
android:src=
"@mipmap/back_black"
android:src=
"@mipmap/back_black"
app:layout_constraintLeft_toLeftOf=
"parent"
/>
app:layout_constraintLeft_toLeftOf=
"parent"
/>
...
...
app/src/main/res/layout/activity_sssku.xml
View file @
acda9470
...
@@ -29,12 +29,13 @@
...
@@ -29,12 +29,13 @@
<ImageButton
<ImageButton
android:id=
"@+id/btn_back"
android:id=
"@+id/btn_back"
android:layout_width=
"
?attr/actionBarSize
"
android:layout_width=
"
wrap_content
"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"?attr/actionBarItemBackground"
android:background=
"?attr/actionBarItemBackground"
android:contentDescription=
"@string/all_go_back"
android:contentDescription=
"@string/all_go_back"
android:gravity=
"center"
android:gravity=
"center"
android:padding=
"@dimen/all_margin"
android:paddingEnd=
"@dimen/all_bounced_padding"
android:paddingStart=
"@dimen/all_padding"
android:src=
"@mipmap/back_black"
android:src=
"@mipmap/back_black"
app:layout_constraintLeft_toLeftOf=
"parent"
/>
app:layout_constraintLeft_toLeftOf=
"parent"
/>
...
@@ -83,7 +84,7 @@
...
@@ -83,7 +84,7 @@
android:background=
"?attr/actionBarItemBackground"
android:background=
"?attr/actionBarItemBackground"
android:contentDescription=
"@string/all_go_back"
android:contentDescription=
"@string/all_go_back"
android:gravity=
"center"
android:gravity=
"center"
android:padding=
"@dimen/all_
margin
"
android:padding=
"@dimen/all_
padding
"
android:src=
"@mipmap/click_down"
android:src=
"@mipmap/click_down"
android:visibility=
"@{titleMode==6?View.VISIBLE:View.GONE}"
android:visibility=
"@{titleMode==6?View.VISIBLE:View.GONE}"
app:layout_constraintRight_toRightOf=
"parent"
/>
app:layout_constraintRight_toRightOf=
"parent"
/>
...
...
app/src/main/res/layout/activity_store.xml
View file @
acda9470
...
@@ -45,12 +45,13 @@
...
@@ -45,12 +45,13 @@
<ImageButton
<ImageButton
android:id=
"@+id/btn_back"
android:id=
"@+id/btn_back"
android:layout_width=
"
?attr/actionBarSize
"
android:layout_width=
"
wrap_content
"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"?attr/actionBarItemBackground"
android:background=
"?attr/actionBarItemBackground"
android:contentDescription=
"@string/all_go_back"
android:contentDescription=
"@string/all_go_back"
android:gravity=
"center"
android:gravity=
"center"
android:padding=
"@dimen/all_margin"
android:paddingEnd=
"@dimen/all_margin"
android:paddingStart=
"@dimen/all_padding"
android:src=
"@mipmap/back_black"
android:src=
"@mipmap/back_black"
app:layout_constraintLeft_toLeftOf=
"parent"
/>
app:layout_constraintLeft_toLeftOf=
"parent"
/>
...
@@ -80,12 +81,15 @@
...
@@ -80,12 +81,15 @@
<ImageButton
<ImageButton
android:id=
"@+id/btn_scan"
android:id=
"@+id/btn_scan"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_marginEnd=
"@dimen/all_margin"
android:layout_marginStart=
"@dimen/all_spacing"
android:layout_marginStart=
"@dimen/all_spacing"
android:background=
"@color/transparent"
android:background=
"@color/transparent"
android:contentDescription=
"@string/store_scan"
android:contentDescription=
"@string/store_scan"
android:foreground=
"?android:attr/actionBarItemBackground"
android:foreground=
"?android:attr/actionBarItemBackground"
android:paddingEnd=
"@dimen/all_padding"
android:paddingStart=
"@dimen/all_bounced_padding"
android:src=
"@mipmap/but_sweep_yard"
android:src=
"@mipmap/but_sweep_yard"
android:visibility=
"@{titleMode>1?View.GONE:View.VISIBLE}"
android:visibility=
"@{titleMode>1?View.GONE:View.VISIBLE}"
app:layout_constraintBottom_toTopOf=
"parent"
app:layout_constraintBottom_toTopOf=
"parent"
...
...
app/src/main/res/layout/dialog_delete_inventory.xml
0 → 100644
View file @
acda9470
<?xml version="1.0" encoding="utf-8"?>
<layout
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"180dp"
android:background=
"@color/white_caocao"
android:gravity=
"end"
android:orientation=
"vertical"
android:paddingBottom=
"@dimen/all_margin"
>
<TextView
android:id=
"@+id/tv_dis"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:padding=
"@dimen/all_margin"
android:text=
"暂不退出"
android:textSize=
"@dimen/all_text_size_low"
/>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:gravity=
"center"
android:text=
"退出前是否删除本次盘库记录"
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/all_text_size"
/>
</LinearLayout>
</layout>
\ No newline at end of file
app/src/main/res/layout/fragment_bale_edit.xml
View file @
acda9470
...
@@ -28,20 +28,20 @@
...
@@ -28,20 +28,20 @@
<ImageButton
<ImageButton
android:id=
"@+id/btn_back"
android:id=
"@+id/btn_back"
android:layout_width=
"
?attr/actionBarSize
"
android:layout_width=
"
wrap_content
"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"?attr/actionBarItemBackground"
android:background=
"?attr/actionBarItemBackground"
android:contentDescription=
"@string/all_go_back"
android:contentDescription=
"@string/all_go_back"
android:gravity=
"center"
android:gravity=
"center"
android:onClick=
"@{OnClickListener}"
android:onClick=
"@{OnClickListener}"
android:padding=
"@dimen/all_
margin
"
android:padding=
"@dimen/all_
padding
"
android:src=
"@mipmap/back_black"
android:src=
"@mipmap/back_black"
app:layout_constraintLeft_toLeftOf=
"parent"
/>
app:layout_constraintLeft_toLeftOf=
"parent"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:layout_marginEnd=
"@dimen/all_
margin
"
android:layout_marginEnd=
"@dimen/all_
padding
"
android:gravity=
"center|left"
android:gravity=
"center|left"
app:layout_constraintBottom_toTopOf=
"parent"
app:layout_constraintBottom_toTopOf=
"parent"
app:layout_constraintLeft_toRightOf=
"@id/btn_back"
app:layout_constraintLeft_toRightOf=
"@id/btn_back"
...
...
app/src/main/res/layout/fragment_bale_index.xml
View file @
acda9470
...
@@ -31,20 +31,20 @@
...
@@ -31,20 +31,20 @@
<ImageButton
<ImageButton
android:id=
"@+id/btn_back"
android:id=
"@+id/btn_back"
android:layout_width=
"
?attr/actionBarSize
"
android:layout_width=
"
wrap_content
"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"?attr/actionBarItemBackground"
android:background=
"?attr/actionBarItemBackground"
android:contentDescription=
"@string/all_go_back"
android:contentDescription=
"@string/all_go_back"
android:gravity=
"center"
android:gravity=
"center"
android:onClick=
"@{OnClickListener}"
android:onClick=
"@{OnClickListener}"
android:padding=
"@dimen/all_
margin
"
android:padding=
"@dimen/all_
padding
"
android:src=
"@mipmap/back_black"
android:src=
"@mipmap/back_black"
app:layout_constraintLeft_toLeftOf=
"parent"
/>
app:layout_constraintLeft_toLeftOf=
"parent"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:layout_marginEnd=
"@dimen/all_
margin
"
android:layout_marginEnd=
"@dimen/all_
padding
"
android:gravity=
"center|left"
android:gravity=
"center|left"
app:layout_constraintBottom_toTopOf=
"parent"
app:layout_constraintBottom_toTopOf=
"parent"
app:layout_constraintLeft_toRightOf=
"@id/btn_back"
app:layout_constraintLeft_toRightOf=
"@id/btn_back"
...
...
app/src/main/res/layout/fragment_bale_seach.xml
View file @
acda9470
...
@@ -36,20 +36,20 @@
...
@@ -36,20 +36,20 @@
<ImageButton
<ImageButton
android:id=
"@+id/btn_back"
android:id=
"@+id/btn_back"
android:layout_width=
"
?attr/actionBarSize
"
android:layout_width=
"
wrap_content
"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"?attr/actionBarItemBackground"
android:background=
"?attr/actionBarItemBackground"
android:contentDescription=
"@string/all_go_back"
android:contentDescription=
"@string/all_go_back"
android:gravity=
"center"
android:gravity=
"center"
android:onClick=
"@{OnClickListener}"
android:onClick=
"@{OnClickListener}"
android:padding=
"@dimen/all_
margin
"
android:padding=
"@dimen/all_
padding
"
android:src=
"@mipmap/back_black"
android:src=
"@mipmap/back_black"
app:layout_constraintLeft_toLeftOf=
"parent"
/>
app:layout_constraintLeft_toLeftOf=
"parent"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:layout_marginEnd=
"@dimen/all_
margin
"
android:layout_marginEnd=
"@dimen/all_
padding
"
android:gravity=
"center|left"
android:gravity=
"center|left"
app:layout_constraintBottom_toTopOf=
"parent"
app:layout_constraintBottom_toTopOf=
"parent"
app:layout_constraintLeft_toRightOf=
"@id/btn_back"
app:layout_constraintLeft_toRightOf=
"@id/btn_back"
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
android:id=
"@+id/et_keyword"
android:id=
"@+id/et_keyword"
style=
"@style/searchBarEditor"
style=
"@style/searchBarEditor"
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_marginEnd=
"@dimen/all_
spac
ing"
android:layout_marginEnd=
"@dimen/all_
padd
ing"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:background=
"@drawable/shape_gray_r1"
android:background=
"@drawable/shape_gray_r1"
android:clickable=
"true"
android:clickable=
"true"
...
...
app/src/main/res/layout/fragment_bale_seach_shop.xml
View file @
acda9470
...
@@ -34,20 +34,20 @@
...
@@ -34,20 +34,20 @@
<ImageButton
<ImageButton
android:id=
"@+id/btn_back"
android:id=
"@+id/btn_back"
android:layout_width=
"
?attr/actionBarSize
"
android:layout_width=
"
wrap_content
"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"?attr/actionBarItemBackground"
android:background=
"?attr/actionBarItemBackground"
android:contentDescription=
"@string/all_go_back"
android:contentDescription=
"@string/all_go_back"
android:gravity=
"center"
android:gravity=
"center"
android:onClick=
"@{OnClickListener}"
android:onClick=
"@{OnClickListener}"
android:padding=
"@dimen/all_
margin
"
android:padding=
"@dimen/all_
padding
"
android:src=
"@mipmap/back_black"
android:src=
"@mipmap/back_black"
app:layout_constraintLeft_toLeftOf=
"parent"
/>
app:layout_constraintLeft_toLeftOf=
"parent"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:layout_marginEnd=
"@dimen/all_
margin
"
android:layout_marginEnd=
"@dimen/all_
padding
"
android:gravity=
"center"
android:gravity=
"center"
app:layout_constraintBottom_toTopOf=
"parent"
app:layout_constraintBottom_toTopOf=
"parent"
app:layout_constraintLeft_toRightOf=
"@id/btn_back"
app:layout_constraintLeft_toRightOf=
"@id/btn_back"
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
android:id=
"@+id/et_keyword"
android:id=
"@+id/et_keyword"
style=
"@style/searchBarEditor"
style=
"@style/searchBarEditor"
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_marginEnd=
"@dimen/all_
spac
ing"
android:layout_marginEnd=
"@dimen/all_
padd
ing"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:focusable=
"true"
android:focusable=
"true"
android:hint=
"@string/store_search_hint"
android:hint=
"@string/store_search_hint"
...
...
app/src/main/res/layout/fragment_inventory_add.xml
View file @
acda9470
...
@@ -35,7 +35,6 @@
...
@@ -35,7 +35,6 @@
android:hint=
"@string/other_select_edit_hint"
android:hint=
"@string/other_select_edit_hint"
android:imeOptions=
"actionSearch"
android:imeOptions=
"actionSearch"
android:inputType=
"number"
android:inputType=
"number"
android:textColor=
"@color/black_likui"
android:textSize=
"@dimen/all_text_size_low"
android:textSize=
"@dimen/all_text_size_low"
app:layout_constraintTop_toTopOf=
"parent"
/>
app:layout_constraintTop_toTopOf=
"parent"
/>
...
...
app/src/main/res/layout/fragment_send_ticker_vip.xml
View file @
acda9470
...
@@ -4,19 +4,19 @@
...
@@ -4,19 +4,19 @@
<data>
<data>
<import
type=
"android.view.View"
/>
<import
type=
"android.view.View"
/>
<variable
<variable
name=
"empty"
name=
"empty"
type=
"boolean"
/>
type=
"boolean"
/>
<variable
<variable
name=
"OnClickListener"
name=
"OnClickListener"
type=
"com.xingdata.zzdpos.util.OnClickListener"
/>
type=
"com.xingdata.zzdpos.util.OnClickListener"
/>
<variable
<variable
name=
"titleMode"
name=
"titleMode"
type=
"int"
/>
type=
"int"
/>
</data>
</data>
<LinearLayout
<LinearLayout
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/all_line_width"
android:layout_height=
"@dimen/all_line_width"
android:layout_gravity=
"bottom"
android:layout_gravity=
"bottom"
android:background=
"@color/gray_huanggai"
/>
android:background=
"@color/gray_huanggai"
/>
<android.support.constraint.ConstraintLayout
<android.support.constraint.ConstraintLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -38,15 +38,16 @@
...
@@ -38,15 +38,16 @@
<ImageButton
<ImageButton
android:id=
"@+id/btn_back"
android:id=
"@+id/btn_back"
android:layout_width=
"
@dimen/title_heigh
t"
android:layout_width=
"
wrap_conten
t"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"?attr/selectableItemBackground"
android:background=
"?attr/selectableItemBackground"
android:contentDescription=
"@string/all_go_back"
android:contentDescription=
"@string/all_go_back"
android:gravity=
"center"
android:gravity=
"center"
android:onClick=
"@{OnClickListener}"
android:onClick=
"@{OnClickListener}"
android:padding=
"@dimen/all_margin"
android:paddingEnd=
"@dimen/all_margin"
android:paddingStart=
"@dimen/all_padding"
android:src=
"@mipmap/back_black"
android:src=
"@mipmap/back_black"
app:layout_constraintLeft_toLeftOf=
"parent"
/>
app:layout_constraintLeft_toLeftOf=
"parent"
/>
<!--<LinearLayout-->
<!--<LinearLayout-->
<!--android:layout_width="0dp"-->
<!--android:layout_width="0dp"-->
...
@@ -81,14 +82,14 @@
...
@@ -81,14 +82,14 @@
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintLeft_toRightOf=
"@id/btn_back"
app:layout_constraintLeft_toRightOf=
"@id/btn_back"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
app:layout_constraintTop_toTopOf=
"parent"
/>
<View
<View
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/all_line_width"
android:layout_height=
"@dimen/all_line_width"
android:layout_gravity=
"bottom"
android:layout_gravity=
"bottom"
android:background=
"@color/gray_huanggai"
android:background=
"@color/gray_huanggai"
app:layout_constraintBottom_toBottomOf=
"parent"
/>
app:layout_constraintBottom_toBottomOf=
"parent"
/>
</android.support.constraint.ConstraintLayout>
</android.support.constraint.ConstraintLayout>
<View
<View
...
@@ -96,18 +97,18 @@
...
@@ -96,18 +97,18 @@
android:layout_height=
"@dimen/all_line_width"
android:layout_height=
"@dimen/all_line_width"
android:layout_marginBottom=
"@dimen/all_margin"
android:layout_marginBottom=
"@dimen/all_margin"
android:background=
"@color/gray_huanggai"
android:background=
"@color/gray_huanggai"
android:visibility=
"@{empty?View.GONE:View.VISIBLE}"
/>
android:visibility=
"@{empty?View.GONE:View.VISIBLE}"
/>
<View
<View
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/all_line_width"
android:layout_height=
"@dimen/all_line_width"
android:background=
"@color/gray_huanggai"
/>
android:background=
"@color/gray_huanggai"
/>
<android.support.v7.widget.RecyclerView
<android.support.v7.widget.RecyclerView
android:id=
"@+id/rl_vip"
android:id=
"@+id/rl_vip"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
/>
android:layout_height=
"match_parent"
/>
</LinearLayout>
</LinearLayout>
</layout>
</layout>
\ No newline at end of file
app/src/main/res/layout/fragment_vip_info_edit.xml
View file @
acda9470
...
@@ -59,11 +59,7 @@
...
@@ -59,11 +59,7 @@
android:hint=
"请输入姓名"
/>
android:hint=
"请输入姓名"
/>
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout_margin_right"
></include>
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:layout_marginRight=
"@dimen/all_margin_left"
android:background=
"@color/line_bg"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -101,15 +97,12 @@
...
@@ -101,15 +97,12 @@
<ImageView
<ImageView
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_margin=
"@dimen/all_margin"
android:layout_gravity=
"center_vertical"
android:layout_gravity=
"center_vertical"
android:layout_margin=
"@dimen/all_margin"
android:background=
"@mipmap/iv_vip"
/>
android:background=
"@mipmap/iv_vip"
/>
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout"
></include>
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"@color/line_bg"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -132,22 +125,22 @@
...
@@ -132,22 +125,22 @@
android:text=
"性别"
/>
android:text=
"性别"
/>
<RadioGroup
<RadioGroup
android:gravity=
"center_vertical"
android:id=
"@+id/vip_sex"
android:id=
"@+id/vip_sex"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:layout_marginLeft=
"@dimen/all_margin_left"
android:layout_marginLeft=
"@dimen/all_margin_left"
android:layout_marginRight=
"100dp"
android:layout_marginRight=
"100dp"
android:gravity=
"center_vertical"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
<RadioButton
<RadioButton
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginRight=
"@dimen/all_margin_left"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:background=
"@drawable/selector_checkbox_bg"
android:background=
"@drawable/selector_checkbox_bg"
android:button=
"@null"
android:button=
"@null"
android:tag=
"1"
android:tag=
"1"
android:layout_marginRight=
"@dimen/all_margin_left"
android:text=
"男"
/>
android:text=
"男"
/>
<RadioButton
<RadioButton
...
@@ -162,16 +155,13 @@
...
@@ -162,16 +155,13 @@
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout"
></include>
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"@color/line_bg"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:gravity=
"center_vertical"
android:background=
"@color/white"
android:background=
"@color/white"
android:gravity=
"center_vertical"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
<ImageView
<ImageView
...
@@ -186,20 +176,16 @@
...
@@ -186,20 +176,16 @@
android:text=
"级别"
/>
android:text=
"级别"
/>
<TextView
<TextView
style=
"@style/default_blacktext_nopadding_smallstyle"
android:id=
"@+id/vip_discounts"
android:id=
"@+id/vip_discounts"
style=
"@style/default_blacktext_nopadding_smallstyle"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_marginLeft=
"@dimen/sp_12"
android:layout_marginLeft=
"@dimen/sp_12"
android:gravity=
"center_vertical"
android:layout_marginRight=
"100dp"
android:layout_marginRight=
"100dp"
android:drawableRight=
"@mipmap/ic_expand"
android:drawableRight=
"@mipmap/ic_expand"
android:gravity=
"center_vertical"
android:onClick=
"@{onClickListener}"
/>
android:onClick=
"@{onClickListener}"
/>
</LinearLayout>
</LinearLayout>
<include
layout=
"@layout/line_layout"
></include>
<View
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"@color/line_bg"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -218,16 +204,13 @@
...
@@ -218,16 +204,13 @@
android:id=
"@+id/vip_birthday"
android:id=
"@+id/vip_birthday"
style=
"@style/default_blacktext_nopadding_smallstyle"
style=
"@style/default_blacktext_nopadding_smallstyle"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:hint=
"请选择"
android:layout_marginLeft=
"21dp"
android:layout_marginLeft=
"21dp"
android:textSize=
"@dimen/all_body_size"
android:hint=
"请选择"
android:onClick=
"@{onClickListener}"
/>
android:onClick=
"@{onClickListener}"
android:textSize=
"@dimen/all_body_size"
/>
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout"
></include>
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"@color/line_bg"
/>
<RelativeLayout
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
...
app/src/main/res/layout/fragment_vip_level_edit.xml
View file @
acda9470
...
@@ -31,11 +31,6 @@
...
@@ -31,11 +31,6 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"基本信息"
/>
android:text=
"基本信息"
/>
</LinearLayout>
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"0.5dp"
android:background=
"@color/gray_huanggai"
/>
<include
layout=
"@layout/line_layout"
></include>
<include
layout=
"@layout/line_layout"
></include>
<LinearLayout
<LinearLayout
...
@@ -78,13 +73,7 @@
...
@@ -78,13 +73,7 @@
android:background=
"@null"
android:background=
"@null"
android:hint=
"请输入等级名称"
/>
android:hint=
"请输入等级名称"
/>
</LinearLayout>
</LinearLayout>
<include
layout=
"@layout/line_layout_margin"
></include>
<View
android:layout_width=
"match_parent"
android:layout_height=
"0.5dp"
android:layout_marginLeft=
"@dimen/all_margin_left"
android:layout_marginRight=
"@dimen/all_margin_left"
android:background=
"@color/line_bg"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -123,10 +112,7 @@
...
@@ -123,10 +112,7 @@
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout"
></include>
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"@color/line_bg"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -142,10 +128,7 @@
...
@@ -142,10 +128,7 @@
android:text=
"本级标准"
/>
android:text=
"本级标准"
/>
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout"
></include>
android:layout_width=
"match_parent"
android:layout_height=
"0.5dp"
android:background=
"@color/line_bg"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -179,12 +162,7 @@
...
@@ -179,12 +162,7 @@
android:text=
"天"
/>
android:text=
"天"
/>
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout_margin"
></include>
android:layout_width=
"match_parent"
android:layout_height=
"0.5dp"
android:layout_marginLeft=
"@dimen/all_margin_left"
android:layout_marginRight=
"@dimen/all_margin_left"
android:background=
"@color/line_bg"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -223,7 +201,7 @@
...
@@ -223,7 +201,7 @@
android:layout_marginLeft=
"@dimen/all_margin_left"
android:layout_marginLeft=
"@dimen/all_margin_left"
android:text=
"元"
/>
android:text=
"元"
/>
</LinearLayout>
</LinearLayout>
<include
layout=
"@layout/line_layout"
></include>
<RelativeLayout
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
...
app/src/main/res/layout/fragment_vip_level_list.xml
View file @
acda9470
...
@@ -59,11 +59,7 @@
...
@@ -59,11 +59,7 @@
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout"
></include>
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:layout_margin=
"@dimen/view_line_L5"
android:background=
"@color/line1"
/>
<RelativeLayout
<RelativeLayout
...
...
app/src/main/res/layout/fragment_vip_list.xml
View file @
acda9470
...
@@ -11,9 +11,13 @@
...
@@ -11,9 +11,13 @@
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@color/gray_zhouyu"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<include
layout=
"@layout/title"
android:id=
"@+id/title_layout"
/>
<include
android:id=
"@+id/title_layout"
layout=
"@layout/title"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"?attr/actionBarSize"
android:layout_height=
"?attr/actionBarSize"
...
@@ -30,26 +34,30 @@
...
@@ -30,26 +34,30 @@
<ImageView
<ImageView
android:layout_width=
"50dp"
android:layout_width=
"50dp"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@mipmap/swipe_card_bg"
/>
android:background=
"@mipmap/swipe_card_bg"
android:visibility=
"gone"
/>
<ImageView
<ImageView
android:id=
"@+id/onScan"
android:id=
"@+id/onScan"
android:layout_width=
"50dp"
android:layout_width=
"50dp"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@mipmap/scan_bg"
android:background=
"@mipmap/scan_bg"
android:onClick=
"@{onClickListener}"
/>
android:onClick=
"@{onClickListener}"
android:visibility=
"gone"
/>
</LinearLayout>
</LinearLayout>
<View
<View
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"@dimen/all_margin_left"
></View>
android:layout_height=
"@dimen/all_margin_left"
></View>
<include
layout=
"@layout/line_layout"
/>
<include
layout=
"@layout/line_layout"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/dp_10"
android:background=
"@color/white"
android:background=
"@color/white"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
android:paddingTop=
"@dimen/all_margin_left"
>
<TextView
<TextView
android:id=
"@+id/vip_count_title"
android:id=
"@+id/vip_count_title"
...
@@ -74,7 +82,8 @@
...
@@ -74,7 +82,8 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:background=
"@color/white"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
android:paddingBottom=
"@dimen/all_margin_left"
>
<TextView
<TextView
android:id=
"@+id/vip_count"
android:id=
"@+id/vip_count"
...
@@ -83,6 +92,7 @@
...
@@ -83,6 +92,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:gravity=
"center"
android:gravity=
"center"
android:text=
"1111"
android:textSize=
"22sp"
android:textSize=
"22sp"
android:textStyle=
"bold"
/>
android:textStyle=
"bold"
/>
...
@@ -93,6 +103,7 @@
...
@@ -93,6 +103,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:gravity=
"center"
android:gravity=
"center"
android:text=
"1111"
android:textSize=
"22sp"
android:textSize=
"22sp"
android:textStyle=
"bold"
/>
android:textStyle=
"bold"
/>
</LinearLayout>
</LinearLayout>
...
@@ -104,7 +115,7 @@
...
@@ -104,7 +115,7 @@
android:id=
"@+id/addVipLinearLayout"
android:id=
"@+id/addVipLinearLayout"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"58dp"
android:layout_height=
"58dp"
android:layout_marginTop=
"
10dp
"
android:layout_marginTop=
"
@dimen/all_margin_left
"
android:background=
"@color/white"
android:background=
"@color/white"
android:gravity=
"center"
android:gravity=
"center"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
...
@@ -138,10 +149,15 @@
...
@@ -138,10 +149,15 @@
<include
layout=
"@layout/line_layout"
/>
<include
layout=
"@layout/line_layout"
/>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/all_margin_left"
></View>
<include
layout=
"@layout/line_layout"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:layout_marginTop=
"@dimen/all_margin_left"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
...
@@ -158,6 +174,7 @@
...
@@ -158,6 +174,7 @@
android:orientation=
"vertical"
></RadioGroup>
android:orientation=
"vertical"
></RadioGroup>
</LinearLayout>
</LinearLayout>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
...
...
app/src/main/res/layout/fragment_vip_serch.xml
View file @
acda9470
...
@@ -61,17 +61,18 @@
...
@@ -61,17 +61,18 @@
<EditText
<EditText
android:id=
"@+id/et_search"
android:id=
"@+id/et_search"
style=
"@style/searchBarEditor"
style=
"@style/searchBarEditor"
android:hint=
"请输入手会员手机号"
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"
match_parent
"
android:layout_height=
"
40dp
"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:textColor=
"@color/black_likui"
android:textColor=
"@color/black_likui"
android:textColorHint=
"@color/gray_huanggai"
android:textColorHint=
"@color/gray_huanggai"
android:textSize=
"@dimen/all_text_size"
/>
android:textSize=
"@dimen/all_text_size
_small
"
/>
<TextView
<TextView
android:id=
"@+id/search_ImageButton"
android:id=
"@+id/search_ImageButton"
style=
"@style/textView_body"
style=
"@style/textView_body"
android:layout_width=
"
60dp
"
android:layout_width=
"
wrap_content
"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:onClick=
"@{OnClickListener}"
android:onClick=
"@{OnClickListener}"
android:text=
"搜索"
/>
android:text=
"搜索"
/>
...
...
app/src/main/res/layout/item_vip_expense_item.xml
View file @
acda9470
...
@@ -73,10 +73,8 @@
...
@@ -73,10 +73,8 @@
android:textColor=
"@color/black_likui"
/>
android:textColor=
"@color/black_likui"
/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
<View
android:layout_width=
"match_parent"
<include
layout=
"@layout/line_layout"
/>
android:layout_height=
"1dp"
android:background=
"@color/line_bg"
/>
</LinearLayout>
</LinearLayout>
...
...
app/src/main/res/layout/item_vip_list_item.xml
View file @
acda9470
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<LinearLayout
<LinearLayout
...
@@ -13,10 +14,10 @@
...
@@ -13,10 +14,10 @@
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
<ImageView
<ImageView
android:layout_margin=
"@dimen/all_margin_left"
android:background=
"@mipmap/iv_vip"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
/>
android:layout_height=
"wrap_content"
android:layout_margin=
"@dimen/all_margin_left"
android:background=
"@mipmap/iv_vip"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
...
@@ -46,10 +47,8 @@
...
@@ -46,10 +47,8 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"85折"
/>
android:text=
"85折"
/>
</LinearLayout>
</LinearLayout>
<View
android:layout_width=
"match_parent"
<include
layout=
"@layout/line_layout_margin_left"
></include>
android:layout_height=
"1dp"
android:background=
"@color/line_bg"
/>
</LinearLayout>
</LinearLayout>
</layout>
</layout>
\ No newline at end of file
app/src/main/res/layout/line_layout_margin_left.xml
0 → 100644
View file @
acda9470
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"0.5dp"
android:background=
"@color/gray_huanggai"
android:layout_marginLeft=
"@dimen/all_margin_left"
></LinearLayout>
\ No newline at end of file
app/src/main/res/layout/line_layout_margin_right.xml
0 → 100644
View file @
acda9470
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"0.5dp"
android:background=
"@color/gray_huanggai"
android:layout_marginRight=
"@dimen/all_margin_left"
></LinearLayout>
\ No newline at end of file
app/src/main/res/layout/title_pop.xml
View file @
acda9470
...
@@ -12,8 +12,11 @@
...
@@ -12,8 +12,11 @@
android:id=
"@+id/iv_back"
android:id=
"@+id/iv_back"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@mipmap/go_back"
android:layout_alignParentLeft=
"true"
android:padding=
"@dimen/all_padding"
/>
android:background=
"@color/transparent"
android:paddingEnd=
"@dimen/all_bounced_padding"
android:paddingStart=
"@dimen/all_padding"
android:src=
"@mipmap/go_back"
/>
<TextView
<TextView
android:id=
"@+id/tv_title"
android:id=
"@+id/tv_title"
...
@@ -29,8 +32,10 @@
...
@@ -29,8 +32,10 @@
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:layout_alignParentRight=
"true"
android:layout_alignParentRight=
"true"
android:background=
"@mipmap/pop_menu"
android:background=
"@color/transparent"
android:padding=
"@dimen/all_padding"
/>
android:paddingEnd=
"@dimen/all_padding"
android:paddingStart=
"@dimen/all_bounced_padding"
android:src=
"@mipmap/pop_menu"
/>
</RelativeLayout>
</RelativeLayout>
...
...
app/src/main/res/mipmap-xhdpi/vip_level_bg.9.png
deleted
100644 → 0
View file @
d32741b7
120 Bytes
app/src/main/res/mipmap-xhdpi/vip_level_bg.png
0 → 100644
View file @
acda9470
2.75 KB
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