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
2d54ef12
Commit
2d54ef12
authored
Jan 15, 2018
by
姜敏
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
f7e39168
bf086c39
Changes
20
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
684 additions
and
339 deletions
+684
-339
app/src/main/java/com/xingdata/zzdpos/ui/manage/sssku/SsskuActivity.java
...va/com/xingdata/zzdpos/ui/manage/sssku/SsskuActivity.java
+14
-10
app/src/main/java/com/xingdata/zzdpos/ui/manage/sssku/SsskuContract.java
...va/com/xingdata/zzdpos/ui/manage/sssku/SsskuContract.java
+8
-1
app/src/main/java/com/xingdata/zzdpos/ui/manage/sssku/SsskuPresenter.java
...a/com/xingdata/zzdpos/ui/manage/sssku/SsskuPresenter.java
+1
-1
app/src/main/java/com/xingdata/zzdpos/ui/manage/sssku/fragment/VipFragment.java
...xingdata/zzdpos/ui/manage/sssku/fragment/VipFragment.java
+93
-0
app/src/main/java/com/xingdata/zzdpos/ui/statistics/fragment/StatisticsFragment.java
...ata/zzdpos/ui/statistics/fragment/StatisticsFragment.java
+1
-1
app/src/main/java/com/xingdata/zzdpos/ui/vip/VipPresenter.java
...rc/main/java/com/xingdata/zzdpos/ui/vip/VipPresenter.java
+5
-5
app/src/main/java/com/xingdata/zzdpos/util/ConvertUtil.java
app/src/main/java/com/xingdata/zzdpos/util/ConvertUtil.java
+1
-1
app/src/main/res/layout/activity_statistics_detail.xml
app/src/main/res/layout/activity_statistics_detail.xml
+8
-8
app/src/main/res/layout/dialog_base.xml
app/src/main/res/layout/dialog_base.xml
+9
-10
app/src/main/res/layout/dialog_handover.xml
app/src/main/res/layout/dialog_handover.xml
+53
-45
app/src/main/res/layout/dialog_sssku_menu.xml
app/src/main/res/layout/dialog_sssku_menu.xml
+2
-4
app/src/main/res/layout/fragment_casher.xml
app/src/main/res/layout/fragment_casher.xml
+1
-10
app/src/main/res/layout/fragment_ms_main.xml
app/src/main/res/layout/fragment_ms_main.xml
+14
-18
app/src/main/res/layout/fragment_order_main.xml
app/src/main/res/layout/fragment_order_main.xml
+16
-20
app/src/main/res/layout/fragment_sssku_price.xml
app/src/main/res/layout/fragment_sssku_price.xml
+6
-2
app/src/main/res/layout/fragment_sssku_vip.xml
app/src/main/res/layout/fragment_sssku_vip.xml
+247
-0
app/src/main/res/layout/view_order_detail.xml
app/src/main/res/layout/view_order_detail.xml
+144
-147
app/src/main/res/layout/view_ticket.xml
app/src/main/res/layout/view_ticket.xml
+19
-17
app/src/main/res/layout/view_vip_recharge.xml
app/src/main/res/layout/view_vip_recharge.xml
+40
-39
app/src/main/res/values/dimens.xml
app/src/main/res/values/dimens.xml
+2
-0
No files found.
app/src/main/java/com/xingdata/zzdpos/ui/manage/sssku/SsskuActivity.java
View file @
2d54ef12
...
@@ -22,6 +22,7 @@ import com.xingdata.zzdpos.ui.manage.sssku.fragment.ManagerFragment;
...
@@ -22,6 +22,7 @@ import com.xingdata.zzdpos.ui.manage.sssku.fragment.ManagerFragment;
import
com.xingdata.zzdpos.ui.manage.sssku.fragment.PriceFragment
;
import
com.xingdata.zzdpos.ui.manage.sssku.fragment.PriceFragment
;
import
com.xingdata.zzdpos.ui.manage.sssku.fragment.SearchFragment
;
import
com.xingdata.zzdpos.ui.manage.sssku.fragment.SearchFragment
;
import
com.xingdata.zzdpos.ui.manage.sssku.fragment.SkugrpFragment
;
import
com.xingdata.zzdpos.ui.manage.sssku.fragment.SkugrpFragment
;
import
com.xingdata.zzdpos.ui.manage.sssku.fragment.VipFragment
;
import
java.util.List
;
import
java.util.List
;
...
@@ -32,9 +33,11 @@ public class SsskuActivity extends BaseActivity<SsskuPresenter, ActivitySsskuBin
...
@@ -32,9 +33,11 @@ public class SsskuActivity extends BaseActivity<SsskuPresenter, ActivitySsskuBin
private
SkugrpFragment
mSkugrpFragment
=
new
SkugrpFragment
();
private
SkugrpFragment
mSkugrpFragment
=
new
SkugrpFragment
();
private
AddFragment
mAddFragment
=
new
AddFragment
();
private
AddFragment
mAddFragment
=
new
AddFragment
();
private
EditorFragment
mEditorFragment
=
new
EditorFragment
();
private
DetailFragment
mDetailFragment
=
new
DetailFragment
();
private
DetailFragment
mDetailFragment
=
new
DetailFragment
();
private
EditorFragment
mEditorFragment
=
new
EditorFragment
();
private
PriceFragment
mPriceFragment
=
new
PriceFragment
();
private
PriceFragment
mPriceFragment
=
new
PriceFragment
();
private
VipFragment
mVipFragment
=
new
VipFragment
();
private
LoadingDialog
mLoadingDialog
=
new
LoadingDialog
();
private
LoadingDialog
mLoadingDialog
=
new
LoadingDialog
();
...
@@ -48,9 +51,7 @@ public class SsskuActivity extends BaseActivity<SsskuPresenter, ActivitySsskuBin
...
@@ -48,9 +51,7 @@ public class SsskuActivity extends BaseActivity<SsskuPresenter, ActivitySsskuBin
this
.
showTitleBarByTitleMode
(
C
.
TITLE_MODE
.
SKU
);
this
.
showTitleBarByTitleMode
(
C
.
TITLE_MODE
.
SKU
);
this
.
loadRootFragment
(
R
.
id
.
f_sssku
,
mManagerFragment
);
this
.
loadRootFragment
(
R
.
id
.
f_sssku
,
mManagerFragment
);
mViewBinding
.
btnBack
.
setOnClickListener
(
view
->
{
mViewBinding
.
btnBack
.
setOnClickListener
(
view
->
getTopFragment
().
onBackPressedSupport
());
getTopFragment
().
onBackPressedSupport
();
});
mViewBinding
.
etSearch
.
setOnEditorActionListener
((
textView
,
i
,
keyEvent
)
->
{
mViewBinding
.
etSearch
.
setOnEditorActionListener
((
textView
,
i
,
keyEvent
)
->
{
if
(
i
==
EditorInfo
.
IME_ACTION_SEARCH
&&
!
StringUtils
.
isEmpty
(
textView
.
getText
()))
{
if
(
i
==
EditorInfo
.
IME_ACTION_SEARCH
&&
!
StringUtils
.
isEmpty
(
textView
.
getText
()))
{
KeyboardUtils
.
hideSoftInput
(
textView
);
KeyboardUtils
.
hideSoftInput
(
textView
);
...
@@ -58,12 +59,8 @@ public class SsskuActivity extends BaseActivity<SsskuPresenter, ActivitySsskuBin
...
@@ -58,12 +59,8 @@ public class SsskuActivity extends BaseActivity<SsskuPresenter, ActivitySsskuBin
}
}
return
false
;
return
false
;
});
});
mViewBinding
.
etSearch
.
setOnFocusChangeListener
((
view
,
b
)
->
{
mViewBinding
.
etSearch
.
setOnFocusChangeListener
((
view
,
b
)
->
mPresenter
.
searchBarFocusChanged
(
b
,
C
.
TITLE_MODE
.
SKU
));
mPresenter
.
searchBarFocusChanged
(
b
,
C
.
TITLE_MODE
.
SKU
);
mViewBinding
.
btnMenu
.
setOnClickListener
(
view
->
mPresenter
.
clickSkuMenu
());
});
mViewBinding
.
btnMenu
.
setOnClickListener
(
view
->
{
mPresenter
.
clickSkuMenu
();
});
}
}
@Override
@Override
...
@@ -165,6 +162,13 @@ public class SsskuActivity extends BaseActivity<SsskuPresenter, ActivitySsskuBin
...
@@ -165,6 +162,13 @@ public class SsskuActivity extends BaseActivity<SsskuPresenter, ActivitySsskuBin
this
.
start
(
mPriceFragment
.
setSssku
(
sku
));
this
.
start
(
mPriceFragment
.
setSssku
(
sku
));
}
}
@Override
public
void
showVipFragment
(
Sssku
sku
)
{
this
.
showTitleBarByTitleMode
(
C
.
TITLE_MODE
.
TEXT
);
mViewBinding
.
tvTitle
.
setText
(
R
.
string
.
sku_subtitle_vip
);
this
.
start
(
mVipFragment
.
setSssku
(
sku
));
}
@Override
@Override
public
void
showDetailFragment
(
Sssku
sku
)
{
public
void
showDetailFragment
(
Sssku
sku
)
{
...
...
app/src/main/java/com/xingdata/zzdpos/ui/manage/sssku/SsskuContract.java
View file @
2d54ef12
...
@@ -102,12 +102,19 @@ public interface SsskuContract {
...
@@ -102,12 +102,19 @@ public interface SsskuContract {
void
showEditorFragment
(
Sssku
sku
,
int
editMode
);
void
showEditorFragment
(
Sssku
sku
,
int
editMode
);
/**
/**
* 显示价格页面
* 显示价格
编辑
页面
*
*
* @param sku 要编辑的商品
* @param sku 要编辑的商品
*/
*/
void
showPriceFragment
(
Sssku
sku
);
void
showPriceFragment
(
Sssku
sku
);
/**
* 显示会员编辑页面
*
* @param sku 要编辑的商品
*/
void
showVipFragment
(
Sssku
sku
);
/**
/**
* 显示详情页面
* 显示详情页面
*
*
...
...
app/src/main/java/com/xingdata/zzdpos/ui/manage/sssku/SsskuPresenter.java
View file @
2d54ef12
...
@@ -142,7 +142,7 @@ public class SsskuPresenter extends SsskuContract.Presenter {
...
@@ -142,7 +142,7 @@ public class SsskuPresenter extends SsskuContract.Presenter {
@Override
@Override
public
void
clickEditVipSku
(
Sssku
sssku
)
{
public
void
clickEditVipSku
(
Sssku
sssku
)
{
//TODO
mView
.
showVipFragment
(
sssku
);
}
}
@Override
@Override
...
...
app/src/main/java/com/xingdata/zzdpos/ui/manage/sssku/fragment/VipFragment.java
0 → 100644
View file @
2d54ef12
package
com
.
xingdata
.
zzdpos
.
ui
.
manage
.
sssku
.
fragment
;
import
android.view.View
;
import
android.widget.EditText
;
import
com.xingdata.zzdpos.C
;
import
com.xingdata.zzdpos.R
;
import
com.xingdata.zzdpos.base.BaseFragment
;
import
com.xingdata.zzdpos.databinding.FragmentSsskuVipBinding
;
import
com.xingdata.zzdpos.model.Sssku
;
import
com.xingdata.zzdpos.ui.manage.sssku.SsskuActivity
;
import
com.xingdata.zzdpos.ui.manage.sssku.SsskuPresenter
;
import
com.xingdata.zzdpos.util.ConvertUtil
;
import
com.xingdata.zzdpos.util.InputFilters
;
public
class
VipFragment
extends
BaseFragment
<
SsskuPresenter
,
FragmentSsskuVipBinding
>
{
private
Sssku
mSssku
;
@Override
public
int
getLayoutId
()
{
return
R
.
layout
.
fragment_sssku_vip
;
}
@Override
public
void
initView
()
{
mViewBinding
.
ivPic
.
setImageURI
(
mSssku
.
getSpuImg
());
mViewBinding
.
setSku
(
mSssku
);
this
.
initVipView
();
this
.
setVipViewBySssku
();
mViewBinding
.
btnConfirm
.
setOnClickListener
(
view
->
{
this
.
processSssku
();
mPresenter
.
clickConfirm
(
mSssku
,
C
.
SKU_EDITOR_MODE
.
UPDATE
);
});
}
/**
* 设置商品
*
* @param sssku 商品信息
*/
public
VipFragment
setSssku
(
Sssku
sssku
)
{
this
.
mSssku
=
sssku
;
return
this
;
}
/**
* 初始化价格
*/
private
void
initVipView
()
{
View
.
OnFocusChangeListener
mOnFocusChangeListener
=
(
view
,
b
)
->
{
if
(
view
instanceof
EditText
)
{
EditText
editText
=
(
EditText
)
view
;
if
(
b
&&
editText
.
getText
().
toString
().
equals
(
"0.0"
))
{
editText
.
setText
(
""
);
}
else
if
(!
b
&&
editText
.
getText
().
length
()
==
0
)
{
editText
.
setText
(
"0.0"
);
}
}
};
mViewBinding
.
etPoint
.
setFilters
(
InputFilters
.
getMoneyFilter
(
6
));
mViewBinding
.
etPoint
.
setOnFocusChangeListener
(
mOnFocusChangeListener
);
}
/**
* 根据商品设置价格页面
*/
private
void
setVipViewBySssku
()
{
mViewBinding
.
rgDis
.
check
(
mSssku
.
getSkuOffFlag
()
==
null
||
mSssku
.
getSkuOffFlag
()
==
1
?
R
.
id
.
rb_dis_on
:
R
.
id
.
rb_dis_off
);
if
(
mSssku
.
getSkuBoundAmt
()
==
null
)
mSssku
.
setSkuBoundAmt
(
100L
);
mViewBinding
.
etPoint
.
setText
(
ConvertUtil
.
fenToYuan
(
mSssku
.
getSkuBoundAmt
()));
}
/**
* 处理商品
*/
private
void
processSssku
()
{
mSssku
.
setSkuOffFlag
((
byte
)
(
mViewBinding
.
rbDisOff
.
isChecked
()
?
0
:
1
));
mSssku
.
setSkuBoundAmt
(
ConvertUtil
.
yuanToFen
(
mViewBinding
.
etPoint
.
getText
().
toString
()));
mSssku
.
setCreateTime
(
null
);
mSssku
.
setUpdateTime
(
null
);
}
@Override
public
boolean
onBackPressedSupport
()
{
((
SsskuActivity
)
getActivity
()).
backToDetailFragment
();
return
super
.
onBackPressedSupport
();
}
}
app/src/main/java/com/xingdata/zzdpos/ui/statistics/fragment/StatisticsFragment.java
View file @
2d54ef12
...
@@ -72,7 +72,7 @@ public class StatisticsFragment extends BaseFragment<StatisticsPresenter, Fragme
...
@@ -72,7 +72,7 @@ public class StatisticsFragment extends BaseFragment<StatisticsPresenter, Fragme
mViewBinding
.
setTodayAmt
(
ConvertUtil
.
fenToYuan
(
sta
.
getSaleAmt
(),
false
));
mViewBinding
.
setTodayAmt
(
ConvertUtil
.
fenToYuan
(
sta
.
getSaleAmt
(),
false
));
mViewBinding
.
setTodayOrder
(
String
.
valueOf
(
sta
.
getSaleCount
()));
mViewBinding
.
setTodayOrder
(
String
.
valueOf
(
sta
.
getSaleCount
()));
mViewBinding
.
setTodayRecharge
(
ConvertUtil
.
fenToYuan
(
sta
.
getCardAmt
(),
false
));
mViewBinding
.
setTodayRecharge
(
ConvertUtil
.
fenToYuan
(
sta
.
getCardAmt
(),
false
));
mViewBinding
.
setTodayVipAdd
(
String
.
valueOf
(
sta
.
getVipCount
()));
mViewBinding
.
setTodayVipAdd
(
String
.
valueOf
(
sta
.
getVip
Add
Count
()));
}
}
}
}
app/src/main/java/com/xingdata/zzdpos/ui/vip/VipPresenter.java
View file @
2d54ef12
...
@@ -37,7 +37,7 @@ public class VipPresenter extends VipContract.Presenter {
...
@@ -37,7 +37,7 @@ public class VipPresenter extends VipContract.Presenter {
public
VipTruleListFragment
vipMscardListFragment
=
new
VipTruleListFragment
();
public
VipTruleListFragment
vipMscardListFragment
=
new
VipTruleListFragment
();
public
VipSearchFragment
vipSearchFragment
=
new
VipSearchFragment
();
public
VipSearchFragment
vipSearchFragment
=
new
VipSearchFragment
();
public
VipRechargeFragment
vipRechargeFragment
=
new
VipRechargeFragment
();
public
VipRechargeFragment
vipRechargeFragment
=
new
VipRechargeFragment
();
public
int
inVipState
=
0
;
//1 充值
public
int
inVipState
=
0
;
//1 充值
@Override
@Override
public
void
onAttached
()
{
public
void
onAttached
()
{
...
@@ -198,18 +198,18 @@ public class VipPresenter extends VipContract.Presenter {
...
@@ -198,18 +198,18 @@ public class VipPresenter extends VipContract.Presenter {
@Override
@Override
public
void
fullVip
(
Vip
vipOld
,
Long
amtPay
,
Long
amtSend
)
{
public
void
fullVip
(
Vip
vipOld
,
Long
amtPay
,
Long
amtSend
)
{
ApiFactory
.
Recard
.
fullVip
(
vipOld
.
getVipId
(),
amtPay
,
amtSend
).
subscribe
(
vip
->
{
ApiFactory
.
Recard
.
fullVip
(
vipOld
.
getVipId
(),
amtPay
,
amtSend
).
subscribe
(
vip
->
{
VipRechargeOrder
mVipRechangeOrdervip
=
vip
.
getRctrace
();
VipRechargeOrder
mVipRechangeOrdervip
=
vip
.
getRctrace
();
mVipRechangeOrdervip
.
setCreateTime
(
vip
.
getUpdateTime
());
mVipRechangeOrdervip
.
setCreateTime
(
vip
.
getUpdateTime
());
mVipRechangeOrdervip
.
setRechangeBefore
(
vipOld
.
getAcctCbal
());
mVipRechangeOrdervip
.
setRechangeBefore
(
vipOld
.
getAcctCbal
());
mVipRechangeOrdervip
.
setRechangeAfter
(
vip
.
getAcctCbal
());
mVipRechangeOrdervip
.
setRechangeAfter
(
vip
.
getAcctCbal
());
try
{
try
{
ZX_PrintPOS
.
getInstance
(
App
.
instance
).
printSave
(
1
,
mVipRechangeOrdervip
);
ZX_PrintPOS
.
getInstance
(
App
.
instance
).
printSave
(
1
,
mVipRechangeOrdervip
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
ToastUtils
.
showShort
(
"打印异常"
);
ToastUtils
.
showShort
(
"打印异常"
);
}
}
mView
.
rechangeSus
(
vip
);
mView
.
rechangeSus
(
vip
);
},
throwable
->
{
},
throwable
->
{
mView
.
rechangeErr
(
vipOld
,
amtPay
,
amtSend
,
throwable
.
getMessage
());
mView
.
rechangeErr
(
vipOld
,
amtPay
,
amtSend
,
throwable
.
getMessage
());
});
});
}
}
...
...
app/src/main/java/com/xingdata/zzdpos/util/ConvertUtil.java
View file @
2d54ef12
...
@@ -24,7 +24,7 @@ public class ConvertUtil {
...
@@ -24,7 +24,7 @@ public class ConvertUtil {
* @return 元
* @return 元
*/
*/
public
static
String
fenToYuan
(
Long
fen
)
{
public
static
String
fenToYuan
(
Long
fen
)
{
if
(
fen
==
null
)
return
"0.0"
;
if
(
fen
==
null
)
return
"0.0
0
"
;
return
String
.
valueOf
((
double
)
fen
/
100
);
return
String
.
valueOf
((
double
)
fen
/
100
);
}
}
...
...
app/src/main/res/layout/activity_statistics_detail.xml
View file @
2d54ef12
...
@@ -62,29 +62,29 @@
...
@@ -62,29 +62,29 @@
<Button
<Button
android:id=
"@+id/btn_print"
android:id=
"@+id/btn_print"
style=
"@style/button_passive"
style=
"@style/button_passive"
android:layout_width=
"@dimen/layout_statistics_bottom_button_width"
android:layout_width=
"@dimen/button1_width"
android:layout_height=
"@dimen/layout_statistics_bottom_button_height"
android:layout_height=
"@dimen/button1_height"
android:layout_marginStart=
"@dimen/all_margin_big_big"
android:stateListAnimator=
"@null"
android:stateListAnimator=
"@null"
android:text=
"@string/settle_print_receipt"
android:text=
"@string/settle_print_receipt"
android:textSize=
"@dimen/all_text_size"
android:textSize=
"@dimen/all_text_size"
android:gravity=
"center"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintLeft_toLeftOf=
"parent"
app:layout_constraintLeft_toLeftOf=
"parent"
app:layout_constraintRight_toLeftOf=
"@id/btn_
confirm
"
app:layout_constraintRight_toLeftOf=
"@id/btn_
return
"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
tools:targetApi=
"lollipop"
/>
tools:targetApi=
"lollipop"
/>
<Button
<Button
android:id=
"@+id/btn_return"
android:id=
"@+id/btn_return"
style=
"@style/button_positive"
style=
"@style/button_positive"
android:layout_width=
"@dimen/layout_statistics_bottom_button_width"
android:layout_width=
"@dimen/button1_width"
android:layout_height=
"@dimen/layout_statistics_bottom_button_height"
android:layout_height=
"@dimen/button1_height"
android:layout_marginEnd=
"@dimen/all_margin_big_big"
android:stateListAnimator=
"@null"
android:stateListAnimator=
"@null"
android:text=
"@string/pay_return"
android:text=
"@string/pay_return"
android:gravity=
"center"
android:textSize=
"@dimen/all_text_size"
android:textSize=
"@dimen/all_text_size"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintLeft_toRightOf=
"@id/btn_
cancel
"
app:layout_constraintLeft_toRightOf=
"@id/btn_
print
"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_goneMarginStart=
"@dimen/all_margin_big_big"
app:layout_goneMarginStart=
"@dimen/all_margin_big_big"
...
...
app/src/main/res/layout/dialog_base.xml
View file @
2d54ef12
...
@@ -26,20 +26,19 @@
...
@@ -26,20 +26,19 @@
android:layout_height=
"@dimen/all_line_width"
android:layout_height=
"@dimen/all_line_width"
android:background=
"@color/gray_kongming"
/>
android:background=
"@color/gray_kongming"
/>
<
Linear
Layout
<
android.support.constraint.Constraint
Layout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:background=
"@color/white_caocao"
android:background=
"@color/white_caocao"
android:orientation=
"horizontal"
android:orientation=
"horizontal"
>
android:weightSum=
"2"
>
<Button
<Button
android:id=
"@+id/btn_cancel"
android:id=
"@+id/btn_cancel"
style=
"@style/button_passive"
style=
"@style/button_passive"
android:layout_width=
"
0dp
"
android:layout_width=
"
@dimen/button1_width
"
android:layout_height=
"
wrap_conten
t"
android:layout_height=
"
@dimen/button1_heigh
t"
android:layout_margin=
"@dimen/all_padding"
android:layout_margin=
"@dimen/all_padding"
android:
layout_weight=
"1
"
android:
gravity=
"center
"
android:stateListAnimator=
"@null"
android:stateListAnimator=
"@null"
android:text=
"@string/all_cancel"
android:text=
"@string/all_cancel"
android:textSize=
"@dimen/all_text_size"
android:textSize=
"@dimen/all_text_size"
...
@@ -52,10 +51,10 @@
...
@@ -52,10 +51,10 @@
<Button
<Button
android:id=
"@+id/btn_confirm"
android:id=
"@+id/btn_confirm"
style=
"@style/button_positive"
style=
"@style/button_positive"
android:layout_width=
"
0dp
"
android:layout_width=
"
@dimen/button1_width
"
android:layout_height=
"
wrap_conten
t"
android:layout_height=
"
@dimen/button1_heigh
t"
android:layout_margin=
"@dimen/all_padding"
android:layout_margin=
"@dimen/all_padding"
android:
layout_weight=
"1
"
android:
gravity=
"center
"
android:stateListAnimator=
"@null"
android:stateListAnimator=
"@null"
android:text=
"@string/all_confirm"
android:text=
"@string/all_confirm"
android:textSize=
"@dimen/all_text_size"
android:textSize=
"@dimen/all_text_size"
...
@@ -65,7 +64,7 @@
...
@@ -65,7 +64,7 @@
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
tools:targetApi=
"lollipop"
/>
tools:targetApi=
"lollipop"
/>
</
Linear
Layout>
</
android.support.constraint.Constraint
Layout>
</LinearLayout>
</LinearLayout>
...
...
app/src/main/res/layout/dialog_handover.xml
View file @
2d54ef12
...
@@ -54,8 +54,8 @@
...
@@ -54,8 +54,8 @@
android:gravity=
"center"
android:gravity=
"center"
android:singleLine=
"true"
android:singleLine=
"true"
android:text=
"¥9999"
android:text=
"¥9999"
android:textColor=
"@color/
red900
"
android:textColor=
"@color/
black_baozheng
"
android:textSize=
"@dimen/
all_text_size_big
"
android:textSize=
"@dimen/
handover_amt_size
"
android:textStyle=
"bold"
android:textStyle=
"bold"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
...
@@ -70,6 +70,7 @@
...
@@ -70,6 +70,7 @@
android:paddingTop=
"@dimen/all_margin"
android:paddingTop=
"@dimen/all_margin"
android:text=
"实收金额"
android:text=
"实收金额"
android:textColor=
"@color/black_baozheng"
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/all_text_size"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
app:layout_constraintTop_toTopOf=
"parent"
/>
...
@@ -108,7 +109,7 @@
...
@@ -108,7 +109,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:singleLine=
"true"
android:singleLine=
"true"
android:text=
"@string/handover_date"
android:text=
"@string/handover_date"
android:textSize=
"@dimen/
small_text_size
"
/>
android:textSize=
"@dimen/
all_text_size_low
"
/>
<TextView
<TextView
style=
"@style/textView_body_small"
style=
"@style/textView_body_small"
...
@@ -116,7 +117,7 @@
...
@@ -116,7 +117,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:singleLine=
"true"
android:singleLine=
"true"
android:text=
"@string/handover_oper"
android:text=
"@string/handover_oper"
android:textSize=
"@dimen/
small_text_size
"
/>
android:textSize=
"@dimen/
all_text_size_low
"
/>
<TextView
<TextView
style=
"@style/textView_body_small"
style=
"@style/textView_body_small"
...
@@ -124,7 +125,7 @@
...
@@ -124,7 +125,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:singleLine=
"true"
android:singleLine=
"true"
android:text=
"@string/handover_orderNum"
android:text=
"@string/handover_orderNum"
android:textSize=
"@dimen/
small_text_size
"
/>
android:textSize=
"@dimen/
all_text_size_low
"
/>
<TextView
<TextView
style=
"@style/textView_body_small"
style=
"@style/textView_body_small"
...
@@ -132,7 +133,7 @@
...
@@ -132,7 +133,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:singleLine=
"true"
android:singleLine=
"true"
android:text=
"@string/handover_cash"
android:text=
"@string/handover_cash"
android:textSize=
"@dimen/
small_text_size
"
/>
android:textSize=
"@dimen/
all_text_size_low
"
/>
<TextView
<TextView
style=
"@style/textView_body_small"
style=
"@style/textView_body_small"
...
@@ -140,7 +141,7 @@
...
@@ -140,7 +141,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:singleLine=
"true"
android:singleLine=
"true"
android:text=
"@string/handover_wechat"
android:text=
"@string/handover_wechat"
android:textSize=
"@dimen/
small_text_size
"
/>
android:textSize=
"@dimen/
all_text_size_low
"
/>
<TextView
<TextView
style=
"@style/textView_body_small"
style=
"@style/textView_body_small"
...
@@ -148,7 +149,7 @@
...
@@ -148,7 +149,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:singleLine=
"true"
android:singleLine=
"true"
android:text=
"@string/handover_alipay"
android:text=
"@string/handover_alipay"
android:textSize=
"@dimen/
small_text_size
"
/>
android:textSize=
"@dimen/
all_text_size_low
"
/>
<TextView
<TextView
style=
"@style/textView_body_small"
style=
"@style/textView_body_small"
...
@@ -156,7 +157,7 @@
...
@@ -156,7 +157,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:singleLine=
"true"
android:singleLine=
"true"
android:text=
"@string/handover_bank"
android:text=
"@string/handover_bank"
android:textSize=
"@dimen/
small_text_size
"
/>
android:textSize=
"@dimen/
all_text_size_low
"
/>
<TextView
<TextView
style=
"@style/textView_body_small"
style=
"@style/textView_body_small"
...
@@ -164,95 +165,102 @@
...
@@ -164,95 +165,102 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:singleLine=
"true"
android:singleLine=
"true"
android:text=
"@string/handover_vip"
android:text=
"@string/handover_vip"
android:textSize=
"@dimen/
small_text_size
"
/>
android:textSize=
"@dimen/
all_text_size_low
"
/>
</LinearLayout>
</LinearLayout>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"
wrap_cont
ent"
android:layout_height=
"
match_par
ent"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:gravity=
"right"
android:gravity=
"right|center_vertical"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
android:paddingEnd=
"@dimen/dp_4"
android:weightSum=
"8"
>
<TextView
<TextView
style=
"@style/textView_body_small"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"0dp"
android:gravity=
"right"
android:layout_weight=
"1"
android:gravity=
"right|center_vertical"
android:singleLine=
"true"
android:singleLine=
"true"
android:text=
"@{date}"
android:text=
"@{date}"
android:textColor=
"@color/black_likui"
android:textColor=
"@color/black_likui"
android:textSize=
"@dimen/
small_text_size
"
/>
android:textSize=
"@dimen/
all_text_size_small
"
/>
<TextView
<TextView
style=
"@style/textView_body_small"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"0dp"
android:gravity=
"right"
android:layout_weight=
"1"
android:gravity=
"right|center_vertical"
android:singleLine=
"true"
android:singleLine=
"true"
android:text=
"@{operName}"
android:text=
"@{operName}"
android:textColor=
"@color/black_likui"
android:textColor=
"@color/black_likui"
android:textSize=
"@dimen/
small_text_size
"
/>
android:textSize=
"@dimen/
all_text_size_small
"
/>
<TextView
<TextView
style=
"@style/textView_body_small"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"0dp"
android:gravity=
"right"
android:layout_weight=
"1"
android:gravity=
"right|center_vertical"
android:singleLine=
"true"
android:singleLine=
"true"
android:text=
"@{orderNum}"
android:text=
"@{orderNum}"
android:textColor=
"@color/black_likui"
android:textColor=
"@color/black_likui"
android:textSize=
"@dimen/
small_text_size
"
/>
android:textSize=
"@dimen/
all_text_size_small
"
/>
<TextView
<TextView
style=
"@style/textView_body_small"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"0dp"
android:gravity=
"right"
android:layout_weight=
"1"
android:gravity=
"right|center_vertical"
android:singleLine=
"true"
android:singleLine=
"true"
android:text=
"@{cash}"
android:text=
"@{cash}"
android:textColor=
"@color/black_likui"
android:textColor=
"@color/black_likui"
android:textSize=
"@dimen/
small_text_size
"
/>
android:textSize=
"@dimen/
all_text_size_small
"
/>
<TextView
<TextView
style=
"@style/textView_body_small"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"0dp"
android:gravity=
"right"
android:layout_weight=
"1"
android:gravity=
"right|center_vertical"
android:singleLine=
"true"
android:singleLine=
"true"
android:text=
"@{wechat}"
android:text=
"@{wechat}"
android:textColor=
"@color/black_likui"
android:textColor=
"@color/black_likui"
android:textSize=
"@dimen/
small_text_size
"
/>
android:textSize=
"@dimen/
all_text_size_small
"
/>
<TextView
<TextView
style=
"@style/textView_body_small"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"0dp"
android:gravity=
"right"
android:layout_weight=
"1"
android:gravity=
"right|center_vertical"
android:singleLine=
"true"
android:singleLine=
"true"
android:text=
"@{alipay}"
android:text=
"@{alipay}"
android:textColor=
"@color/black_likui"
android:textColor=
"@color/black_likui"
android:textSize=
"@dimen/
small_text_size
"
/>
android:textSize=
"@dimen/
all_text_size_small
"
/>
<TextView
<TextView
style=
"@style/textView_body_small"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"0dp"
android:gravity=
"right"
android:layout_weight=
"1"
android:gravity=
"right|center_vertical"
android:singleLine=
"true"
android:singleLine=
"true"
android:text=
"@{bank}"
android:text=
"@{bank}"
android:textColor=
"@color/black_likui"
android:textColor=
"@color/black_likui"
android:textSize=
"@dimen/
small_text_size
"
/>
android:textSize=
"@dimen/
all_text_size_small
"
/>
<TextView
<TextView
style=
"@style/textView_body_small"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"0dp"
android:gravity=
"right"
android:layout_weight=
"1"
android:gravity=
"right|center_vertical"
android:singleLine=
"true"
android:singleLine=
"true"
android:text=
"@{vipPay}"
android:text=
"@{vipPay}"
android:textColor=
"@color/black_likui"
android:textColor=
"@color/black_likui"
android:textSize=
"@dimen/
small_text_size
"
/>
android:textSize=
"@dimen/
all_text_size_small
"
/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
...
...
app/src/main/res/layout/dialog_sssku_menu.xml
View file @
2d54ef12
...
@@ -48,8 +48,7 @@
...
@@ -48,8 +48,7 @@
android:layout_height=
"@dimen/all_line_width"
android:layout_height=
"@dimen/all_line_width"
android:layout_marginEnd=
"@dimen/all_margin"
android:layout_marginEnd=
"@dimen/all_margin"
android:layout_marginStart=
"@dimen/all_margin"
android:layout_marginStart=
"@dimen/all_margin"
android:background=
"@color/gray_kongming"
android:background=
"@color/gray_kongming"
/>
android:visibility=
"gone"
/>
<TextView
<TextView
android:id=
"@+id/tv_update_vip"
android:id=
"@+id/tv_update_vip"
...
@@ -59,8 +58,7 @@
...
@@ -59,8 +58,7 @@
android:gravity=
"center"
android:gravity=
"center"
android:text=
"@string/sku_update_vip"
android:text=
"@string/sku_update_vip"
android:textColor=
"@color/blue_mawu"
android:textColor=
"@color/blue_mawu"
android:textSize=
"@dimen/all_text_size"
android:textSize=
"@dimen/all_text_size"
/>
android:visibility=
"gone"
/>
</LinearLayout>
</LinearLayout>
<TextView
<TextView
...
...
app/src/main/res/layout/fragment_casher.xml
View file @
2d54ef12
...
@@ -76,21 +76,12 @@
...
@@ -76,21 +76,12 @@
android:layout_height=
"0dp"
android:layout_height=
"0dp"
android:layout_marginBottom=
"@dimen/all_padding"
android:layout_marginBottom=
"@dimen/all_padding"
android:layout_marginTop=
"@dimen/all_padding"
android:layout_marginTop=
"@dimen/all_padding"
android:background=
"@color/white_caocao"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"@id/guideline"
/>
app:layout_constraintTop_toTopOf=
"@id/guideline"
/>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/view_line_L050"
android:background=
"@color/gray_kongming"
app:layout_constraintTop_toTopOf=
"@id/fragment_casher_recycler"
/>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/view_line_L050"
android:background=
"@color/gray_kongming"
app:layout_constraintBottom_toBottomOf=
"@id/fragment_casher_recycler"
/>
</android.support.constraint.ConstraintLayout>
</android.support.constraint.ConstraintLayout>
</layout>
</layout>
\ No newline at end of file
app/src/main/res/layout/fragment_ms_main.xml
View file @
2d54ef12
<layout>
<layout>
<
android.support.constraint.Constraint
Layout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<
Relative
Layout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -9,12 +9,7 @@
...
@@ -9,12 +9,7 @@
tools:context=
"com.example.administrator.tangkupos.CasherFragment"
>
tools:context=
"com.example.administrator.tangkupos.CasherFragment"
>
<!-- TODO: Update blank fragmfragment_integral_indexyout -->
<!-- TODO: Update blank fragmfragment_integral_indexyout -->
<android.support.constraint.Guideline
android:id=
"@+id/guideline"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
app:layout_constraintGuide_percent=
"0.38"
/>
<android.support.design.widget.TabLayout
<android.support.design.widget.TabLayout
...
@@ -22,29 +17,30 @@
...
@@ -22,29 +17,30 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"33dp"
android:layout_height=
"33dp"
android:background=
"@color/white_caocao"
android:background=
"@color/white_caocao"
app:layout_constraintTop_toTopOf=
"parent"
app:tabIndicatorColor=
"@color/red_lvzhi"
app:tabIndicatorColor=
"@color/red_lvzhi"
app:tabIndicatorHeight=
"@dimen/view_line_L2"
app:tabIndicatorHeight=
"@dimen/view_line_L2"
app:tabTextColor=
"@color/black_baozheng"
>
app:tabTextColor=
"@color/black_baozheng"
>
</android.support.design.widget.TabLayout>
</android.support.design.widget.TabLayout>
<android.support.v4.view.ViewPager
<android.support.v4.view.ViewPager
android:id=
"@+id/viewPager_data"
android:id=
"@+id/viewPager_data"
android:layout_width=
"0dp"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_height=
"match_parent"
android:background=
"@color/gray"
android:layout_below=
"@id/tab_layout"
app:layout_constraintBottom_toBottomOf=
"parent"
android:layout_marginTop=
"-1dp"
app:layout_constraintEnd_toEndOf=
"parent"
android:background=
"@color/gray"
>
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/tab_layout"
>
</android.support.v4.view.ViewPager>
</android.support.v4.view.ViewPager>
<View
<View
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/view_line_L050"
android:layout_height=
"@dimen/view_line_L050"
android:background=
"@color/gray_huanggai"
android:layout_above=
"@id/viewPager_data"
app:layout_constraintBottom_toBottomOf=
"@id/tab_layout"
/>
android:background=
"@color/gray_huanggai"
/>
</android.support.constraint.ConstraintLayout>
</RelativeLayout>
</layout>
</layout>
\ No newline at end of file
app/src/main/res/layout/fragment_order_main.xml
View file @
2d54ef12
<layout>
<layout>
<
android.support.constraint.Constraint
Layout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<
Relative
Layout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -9,40 +9,36 @@
...
@@ -9,40 +9,36 @@
tools:context=
"com.example.administrator.tangkupos.CasherFragment"
>
tools:context=
"com.example.administrator.tangkupos.CasherFragment"
>
<!-- TODO: Update blank fragmfragment_integral_indexyout -->
<!-- TODO: Update blank fragmfragment_integral_indexyout -->
<android.support.constraint.Guideline
android:id=
"@+id/guideline"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
app:layout_constraintGuide_percent=
"0.38"
/>
<android.support.design.widget.TabLayout
<android.support.design.widget.TabLayout
android:id=
"@+id/tab_layout"
android:id=
"@+id/tab_layout"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"30dp"
android:layout_height=
"30dp"
android:background=
"@drawable/singleline_white_gray"
android:background=
"@color/white_caocao"
app:layout_constraintTop_toTopOf=
"parent"
app:tabIndicatorHeight=
"0dp"
app:tabIndicatorHeight=
"0dp"
app:tabMinWidth=
"100dp"
app:tabMinWidth=
"100dp"
app:tabMode=
"scrollable"
app:tabMode=
"scrollable"
app:tabSelectedTextColor=
"#ff7a61"
app:tabSelectedTextColor=
"#ff7a61"
app:tabTextColor=
"@color/gray_kongming"
>
app:tabTextColor=
"@color/gray_kongming"
/
>
</android.support.design.widget.TabLayout>
<android.support.v4.view.ViewPager
<android.support.v4.view.ViewPager
android:id=
"@+id/viewPager_data"
android:id=
"@+id/viewPager_data"
android:layout_width=
"0dp"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_height=
"match_parent"
android:background=
"@color/gray"
android:layout_below=
"@id/tab_layout"
app:layout_constraintBottom_toBottomOf=
"parent"
android:layout_marginTop=
"-1dp"
app:layout_constraintEnd_toEndOf=
"parent"
android:background=
"@color/gray"
>
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/tab_layout"
>
</android.support.v4.view.ViewPager>
</android.support.v4.view.ViewPager>
</android.support.constraint.ConstraintLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/view_line_L050"
android:layout_above=
"@id/viewPager_data"
android:background=
"@color/gray_huanggai"
/>
</RelativeLayout>
</layout>
</layout>
\ No newline at end of file
app/src/main/res/layout/fragment_sssku_price.xml
View file @
2d54ef12
...
@@ -109,9 +109,8 @@
...
@@ -109,9 +109,8 @@
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"
0dp
"
android:layout_height=
"
wrap_content
"
android:layout_marginTop=
"@dimen/all_spacing"
android:layout_marginTop=
"@dimen/all_spacing"
android:layout_weight=
"1"
android:background=
"@color/white_caocao"
android:background=
"@color/white_caocao"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
...
@@ -192,6 +191,11 @@
...
@@ -192,6 +191,11 @@
android:background=
"@color/gray_huanggai"
/>
android:background=
"@color/gray_huanggai"
/>
</LinearLayout>
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_weight=
"1"
/>
<Button
<Button
android:id=
"@+id/btn_confirm"
android:id=
"@+id/btn_confirm"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
...
app/src/main/res/layout/fragment_sssku_vip.xml
0 → 100644
View file @
2d54ef12
This diff is collapsed.
Click to expand it.
app/src/main/res/layout/view_order_detail.xml
View file @
2d54ef12
This diff is collapsed.
Click to expand it.
app/src/main/res/layout/view_ticket.xml
View file @
2d54ef12
...
@@ -47,8 +47,8 @@
...
@@ -47,8 +47,8 @@
android:gravity=
"center"
android:gravity=
"center"
android:singleLine=
"true"
android:singleLine=
"true"
android:text=
"¥9999"
android:text=
"¥9999"
android:textColor=
"@color/
red900
"
android:textColor=
"@color/
black_baozheng
"
android:textSize=
"@dimen/
all_text_size_big
"
android:textSize=
"@dimen/
handover_amt_size
"
android:textStyle=
"bold"
android:textStyle=
"bold"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
...
@@ -63,6 +63,7 @@
...
@@ -63,6 +63,7 @@
android:paddingTop=
"@dimen/all_margin"
android:paddingTop=
"@dimen/all_margin"
android:text=
"优惠券面值"
android:text=
"优惠券面值"
android:textColor=
"@color/black_baozheng"
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/all_text_size"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
app:layout_constraintTop_toTopOf=
"parent"
/>
...
@@ -95,13 +96,13 @@
...
@@ -95,13 +96,13 @@
android:paddingEnd=
"@dimen/dp_4"
android:paddingEnd=
"@dimen/dp_4"
android:paddingStart=
"@dimen/dp_4"
android:paddingStart=
"@dimen/dp_4"
android:paddingTop=
"@dimen/dp_4"
android:paddingTop=
"@dimen/dp_4"
android:weightSum=
"
2
"
>
android:weightSum=
"
10
"
>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"
1
"
android:layout_weight=
"
7
"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<TextView
<TextView
...
@@ -110,7 +111,7 @@
...
@@ -110,7 +111,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:singleLine=
"true"
android:singleLine=
"true"
android:text=
"@string/ticket_detail_date"
android:text=
"@string/ticket_detail_date"
android:textSize=
"@dimen/
small_text_size
"
/>
android:textSize=
"@dimen/
all_text_size_low
"
/>
<TextView
<TextView
style=
"@style/textView_body_small"
style=
"@style/textView_body_small"
...
@@ -118,37 +119,38 @@
...
@@ -118,37 +119,38 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:singleLine=
"true"
android:singleLine=
"true"
android:text=
"@string/ticket_detail_no"
android:text=
"@string/ticket_detail_no"
android:textSize=
"@dimen/
small_text_size
"
/>
android:textSize=
"@dimen/
all_text_size_low
"
/>
</LinearLayout>
</LinearLayout>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"
wrap_cont
ent"
android:layout_height=
"
match_par
ent"
android:layout_weight=
"
1
"
android:layout_weight=
"
3
"
android:gravity=
"right"
android:gravity=
"right"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
android:weightSum=
"2"
>
<TextView
<TextView
style=
"@style/textView_body_small"
style=
"@style/textView_body_small"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"0dp"
android:gravity=
"right"
android:layout_weight=
"1"
android:gravity=
"right|center_vertical"
android:singleLine=
"true"
android:singleLine=
"true"
android:text=
"@{date}"
android:text=
"@{date}"
android:textColor=
"@color/black_likui"
android:textColor=
"@color/black_likui"
/>
android:textSize=
"@dimen/small_text_size"
/>
<TextView
<TextView
style=
"@style/textView_body_small"
style=
"@style/textView_body_small"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"0dp"
android:gravity=
"right"
android:layout_weight=
"1"
android:gravity=
"right|center_vertical"
android:singleLine=
"true"
android:singleLine=
"true"
android:text=
"@{orderNo}"
android:text=
"@{orderNo}"
android:textColor=
"@color/black_likui"
android:textColor=
"@color/black_likui"
/>
android:textSize=
"@dimen/small_text_size"
/>
</LinearLayout>
</LinearLayout>
...
...
app/src/main/res/layout/view_vip_recharge.xml
View file @
2d54ef12
This diff is collapsed.
Click to expand it.
app/src/main/res/values/dimens.xml
View file @
2d54ef12
...
@@ -232,6 +232,8 @@
...
@@ -232,6 +232,8 @@
<dimen
name=
"button3_height"
>
44dp
</dimen>
<dimen
name=
"button3_height"
>
44dp
</dimen>
<dimen
name=
"button3_marginHorizontal"
>
16dp
</dimen>
<dimen
name=
"button3_marginHorizontal"
>
16dp
</dimen>
<dimen
name=
"button3_width"
>
328dp
</dimen>
<dimen
name=
"button3_width"
>
328dp
</dimen>
<!--交班-->
<dimen
name=
"handover_amt_size"
>
34sp
</dimen>
</resources>
</resources>
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