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
a365d131
Commit
a365d131
authored
Jan 30, 2018
by
陈前
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
fb8a8ec2
1fd95c8e
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
107 additions
and
129 deletions
+107
-129
app/src/main/java/com/xingdata/zzdpos/ui/settle/SettleActivity.java
...in/java/com/xingdata/zzdpos/ui/settle/SettleActivity.java
+2
-0
app/src/main/java/com/xingdata/zzdpos/ui/settle/adapter/TicketAdapter.java
.../com/xingdata/zzdpos/ui/settle/adapter/TicketAdapter.java
+3
-6
app/src/main/java/com/xingdata/zzdpos/ui/settle/fragment/PayResultFragment.java
...xingdata/zzdpos/ui/settle/fragment/PayResultFragment.java
+12
-8
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/java/com/xingdata/zzdpos/zxpay.java
app/src/main/java/com/xingdata/zzdpos/zxpay.java
+0
-14
app/src/main/res/layout/fragment_settle.xml
app/src/main/res/layout/fragment_settle.xml
+1
-1
app/src/main/res/layout/fragment_settle_ticket.xml
app/src/main/res/layout/fragment_settle_ticket.xml
+6
-8
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_settle_ticket.xml
app/src/main/res/layout/item_settle_ticket.xml
+5
-1
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/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/ui/settle/SettleActivity.java
View file @
a365d131
...
@@ -207,11 +207,13 @@ public class SettleActivity extends BaseActivity<SettlePresenter, ActivitySettle
...
@@ -207,11 +207,13 @@ public class SettleActivity extends BaseActivity<SettlePresenter, ActivitySettle
@Override
@Override
public
void
backToPaymentActivity
()
{
public
void
backToPaymentActivity
()
{
ActivityUtils
.
startActivity
(
this
,
MainActivity
.
class
);
ActivityUtils
.
startActivity
(
this
,
PaymentActivity
.
class
);
ActivityUtils
.
startActivity
(
this
,
PaymentActivity
.
class
);
}
}
@Override
@Override
public
void
backToStoreActivity
()
{
public
void
backToStoreActivity
()
{
ActivityUtils
.
startActivity
(
this
,
MainActivity
.
class
);
ActivityUtils
.
startActivity
(
this
,
StoreActivity
.
class
);
ActivityUtils
.
startActivity
(
this
,
StoreActivity
.
class
);
}
}
...
...
app/src/main/java/com/xingdata/zzdpos/ui/settle/adapter/TicketAdapter.java
View file @
a365d131
...
@@ -22,12 +22,9 @@ public class TicketAdapter extends BaseAdapter<Ticket, ItemSettleTicketBinding>
...
@@ -22,12 +22,9 @@ public class TicketAdapter extends BaseAdapter<Ticket, ItemSettleTicketBinding>
@Override
@Override
protected
void
convert
(
ItemSettleTicketBinding
mViewBinding
,
Ticket
item
)
{
protected
void
convert
(
ItemSettleTicketBinding
mViewBinding
,
Ticket
item
)
{
mViewBinding
.
tvTicketMoneys
.
setText
(
mContext
.
getResources
().
getString
(
R
.
string
.
money
,
mViewBinding
.
tvTicketMoneys
.
setText
(
ConvertUtil
.
fenToYuanNoPoint
(
item
.
getTicketValAmt
()));
ConvertUtil
.
fenToYuanNoPoint
(
item
.
getTicketValAmt
())));
mViewBinding
.
tvRule
.
setText
(
mContext
.
getResources
().
getString
(
R
.
string
.
tv_rule
,
ConvertUtil
.
fenToYuanNoPoint
(
item
.
getTruleOrderAmt
())));
mViewBinding
.
tvRule
.
setText
(
mContext
.
getResources
().
getString
(
R
.
string
.
tv_rule
,
mViewBinding
.
tvDate
.
setText
(
mContext
.
getResources
().
getString
(
R
.
string
.
tv_date
,
TimeUtils
.
millis2String
(
item
.
getTicketExp
(),
new
SimpleDateFormat
(
"yyyy-MM-dd"
,
Locale
.
getDefault
()))));
ConvertUtil
.
fenToYuanNoPoint
(
item
.
getTruleOrderAmt
())));
mViewBinding
.
tvDate
.
setText
(
mContext
.
getResources
().
getString
(
R
.
string
.
tv_date
,
TimeUtils
.
millis2String
(
item
.
getTicketExp
(),
new
SimpleDateFormat
(
"yyyy-MM-dd"
,
Locale
.
getDefault
()))));
if
(
item
.
isSelected
())
{
if
(
item
.
isSelected
())
{
mViewBinding
.
ivSelect
.
setImageResource
(
R
.
mipmap
.
but_elect01_stroke
);
mViewBinding
.
ivSelect
.
setImageResource
(
R
.
mipmap
.
but_elect01_stroke
);
...
...
app/src/main/java/com/xingdata/zzdpos/ui/settle/fragment/PayResultFragment.java
View file @
a365d131
...
@@ -11,6 +11,7 @@ import com.xingdata.zzdpos.ui.settle.SettlePresenter;
...
@@ -11,6 +11,7 @@ import com.xingdata.zzdpos.ui.settle.SettlePresenter;
public
class
PayResultFragment
extends
BaseFragment
<
SettlePresenter
,
FragmentPayResultBinding
>
{
public
class
PayResultFragment
extends
BaseFragment
<
SettlePresenter
,
FragmentPayResultBinding
>
{
private
boolean
mResult
;
private
boolean
mResult
;
private
Saleorder
mSaleorder
;
private
Saleorder
mSaleorder
;
private
int
mSettleMode
;
@Override
@Override
public
int
getLayoutId
()
{
public
int
getLayoutId
()
{
...
@@ -41,6 +42,16 @@ public class PayResultFragment extends BaseFragment<SettlePresenter, FragmentPay
...
@@ -41,6 +42,16 @@ public class PayResultFragment extends BaseFragment<SettlePresenter, FragmentPay
mViewBinding
.
btnContinue
.
setOnClickListener
(
view
->
{
mViewBinding
.
btnContinue
.
setOnClickListener
(
view
->
{
mPresenter
.
clickContinue
();
mPresenter
.
clickContinue
();
});
});
switch
(
mSettleMode
)
{
case
C
.
SETTLE_MODE
.
PAYMENT
:
mViewBinding
.
setStrSettleMode
(
"继续收款"
);
break
;
case
C
.
SETTLE_MODE
.
STORE
:
mViewBinding
.
setStrSettleMode
(
"继续开单"
);
break
;
}
}
}
@Override
@Override
...
@@ -79,14 +90,7 @@ public class PayResultFragment extends BaseFragment<SettlePresenter, FragmentPay
...
@@ -79,14 +90,7 @@ public class PayResultFragment extends BaseFragment<SettlePresenter, FragmentPay
* @return this
* @return this
*/
*/
public
PayResultFragment
setSettleMode
(
int
settleMode
)
{
public
PayResultFragment
setSettleMode
(
int
settleMode
)
{
switch
(
settleMode
)
{
this
.
mSettleMode
=
settleMode
;
case
C
.
SETTLE_MODE
.
PAYMENT
:
mViewBinding
.
setStrSettleMode
(
"继续收款"
);
break
;
case
C
.
SETTLE_MODE
.
STORE
:
mViewBinding
.
setStrSettleMode
(
"继续开单"
);
break
;
}
return
this
;
return
this
;
}
}
...
...
app/src/main/java/com/xingdata/zzdpos/ui/vip/fragment/VipListFragment.java
View file @
a365d131
...
@@ -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/java/com/xingdata/zzdpos/zxpay.java
deleted
100644 → 0
View file @
fb8a8ec2
package
com
.
xingdata
.
zzdpos
;
public
class
zxpay
{
static
{
System
.
loadLibrary
(
"jsonpay"
);
}
public
static
native
String
jsonpay
(
String
string
);
}
app/src/main/res/layout/fragment_settle.xml
View file @
a365d131
...
@@ -246,7 +246,7 @@
...
@@ -246,7 +246,7 @@
<TextView
<TextView
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"
5
"
android:layout_weight=
"
4
"
android:gravity=
"start"
android:gravity=
"start"
android:text=
"@string/cart_amt"
android:text=
"@string/cart_amt"
android:textColor=
"@color/black_baozheng"
android:textColor=
"@color/black_baozheng"
...
...
app/src/main/res/layout/fragment_settle_ticket.xml
View file @
a365d131
...
@@ -66,16 +66,14 @@
...
@@ -66,16 +66,14 @@
<TextView
<TextView
android:id=
"@+id/tv_confirm"
android:id=
"@+id/tv_confirm"
android:layout_width=
"
wrap_content
"
android:layout_width=
"
@dimen/button2_width
"
android:layout_height=
"
wrap_conten
t"
android:layout_height=
"
@dimen/button2_heigh
t"
android:background=
"@drawable/shape_red_round_rectangle_more_round"
android:background=
"@drawable/shape_red_round_rectangle_more_round"
android:foreground=
"?android:attr/selectableItemBackgroundBorderless"
android:foreground=
"?android:attr/actionBarItemBackground"
android:paddingBottom=
"@dimen/all_spacing"
android:gravity=
"center"
android:paddingEnd=
"@dimen/all_margin_big"
android:paddingStart=
"@dimen/all_margin_big"
android:paddingTop=
"@dimen/all_spacing"
android:text=
"@string/all_confirm"
android:text=
"@string/all_confirm"
android:textColor=
"@color/white_caocao"
/>
android:textColor=
"@color/white_caocao"
android:textSize=
"@dimen/all_text_size"
/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
...
...
app/src/main/res/layout/fragment_vip_info_edit.xml
View file @
a365d131
...
@@ -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 @
a365d131
...
@@ -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 @
a365d131
...
@@ -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 @
a365d131
...
@@ -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 @
a365d131
...
@@ -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_settle_ticket.xml
View file @
a365d131
...
@@ -14,7 +14,11 @@
...
@@ -14,7 +14,11 @@
<RelativeLayout
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
android:paddingBottom=
"@dimen/all_spacing"
android:paddingEnd=
"@dimen/all_margin"
android:paddingStart=
"@dimen/all_margin"
android:paddingTop=
"@dimen/all_spacing"
>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
...
app/src/main/res/layout/item_vip_expense_item.xml
View file @
a365d131
...
@@ -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 @
a365d131
...
@@ -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 @
a365d131
<?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 @
a365d131
<?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/mipmap-xhdpi/vip_level_bg.9.png
deleted
100644 → 0
View file @
fb8a8ec2
120 Bytes
app/src/main/res/mipmap-xhdpi/vip_level_bg.png
0 → 100644
View file @
a365d131
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