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
dbc7d680
Commit
dbc7d680
authored
Jan 26, 2018
by
zhang_z
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
7a9864a2
d5feb9e3
Changes
20
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
162 additions
and
239 deletions
+162
-239
app/src/main/java/com/xingdata/zzdpos/ui/login/fragment/SignInFragment.java
...com/xingdata/zzdpos/ui/login/fragment/SignInFragment.java
+1
-0
app/src/main/java/com/xingdata/zzdpos/ui/manage/user/fragment/UserListFragment.java
...data/zzdpos/ui/manage/user/fragment/UserListFragment.java
+10
-15
app/src/main/java/com/xingdata/zzdpos/ui/vip/fragment/VipListFragment.java
.../com/xingdata/zzdpos/ui/vip/fragment/VipListFragment.java
+13
-2
app/src/main/java/com/xingdata/zzdpos/util/SystemUtil.java
app/src/main/java/com/xingdata/zzdpos/util/SystemUtil.java
+1
-1
app/src/main/res/layout/fragment_recharge_rule_edit.xml
app/src/main/res/layout/fragment_recharge_rule_edit.xml
+8
-33
app/src/main/res/layout/fragment_recharge_rule_list.xml
app/src/main/res/layout/fragment_recharge_rule_list.xml
+12
-10
app/src/main/res/layout/fragment_user_info_edit.xml
app/src/main/res/layout/fragment_user_info_edit.xml
+17
-31
app/src/main/res/layout/fragment_user_list.xml
app/src/main/res/layout/fragment_user_list.xml
+13
-19
app/src/main/res/layout/fragment_vip_info.xml
app/src/main/res/layout/fragment_vip_info.xml
+23
-35
app/src/main/res/layout/fragment_vip_info_edit.xml
app/src/main/res/layout/fragment_vip_info_edit.xml
+1
-1
app/src/main/res/layout/fragment_vip_level_list.xml
app/src/main/res/layout/fragment_vip_level_list.xml
+1
-1
app/src/main/res/layout/fragment_vip_list.xml
app/src/main/res/layout/fragment_vip_list.xml
+26
-26
app/src/main/res/layout/fragment_vip_mscard_list.xml
app/src/main/res/layout/fragment_vip_mscard_list.xml
+3
-9
app/src/main/res/layout/fragment_vip_recharge.xml
app/src/main/res/layout/fragment_vip_recharge.xml
+25
-17
app/src/main/res/layout/fragment_vip_recharge_list.xml
app/src/main/res/layout/fragment_vip_recharge_list.xml
+3
-9
app/src/main/res/layout/fragment_vip_serch.xml
app/src/main/res/layout/fragment_vip_serch.xml
+3
-20
app/src/main/res/layout/item_vip_list_item.xml
app/src/main/res/layout/item_vip_list_item.xml
+1
-1
app/src/main/res/layout/title_search.xml
app/src/main/res/layout/title_search.xml
+1
-9
app/src/main/res/mipmap-xhdpi/iv_user.png
app/src/main/res/mipmap-xhdpi/iv_user.png
+0
-0
app/src/main/res/mipmap-xhdpi/iv_vip.png
app/src/main/res/mipmap-xhdpi/iv_vip.png
+0
-0
No files found.
app/src/main/java/com/xingdata/zzdpos/ui/login/fragment/SignInFragment.java
View file @
dbc7d680
...
@@ -167,6 +167,7 @@ public class SignInFragment extends BaseFragment<LoginPresenter,
...
@@ -167,6 +167,7 @@ public class SignInFragment extends BaseFragment<LoginPresenter,
public
void
setPhone
(
String
phone
)
{
public
void
setPhone
(
String
phone
)
{
mViewBinding
.
etPhone
.
setText
(
phone
);
mViewBinding
.
etPhone
.
setText
(
phone
);
mViewBinding
.
etPhone
.
setSelection
(
mViewBinding
.
etPhone
.
getText
().
toString
().
length
());
}
}
public
void
setErrorMsg
(
String
tableName
,
String
errCode
,
String
errMsg
)
{
public
void
setErrorMsg
(
String
tableName
,
String
errCode
,
String
errMsg
)
{
...
...
app/src/main/java/com/xingdata/zzdpos/ui/manage/user/fragment/UserListFragment.java
View file @
dbc7d680
...
@@ -4,29 +4,20 @@ package com.xingdata.zzdpos.ui.manage.user.fragment;
...
@@ -4,29 +4,20 @@ package com.xingdata.zzdpos.ui.manage.user.fragment;
* Created by JM_DEV on 2017/12/21.
* Created by JM_DEV on 2017/12/21.
*/
*/
import
android.annotation.SuppressLint
;
import
android.support.v7.widget.LinearLayoutManager
;
import
android.support.v7.widget.LinearLayoutManager
;
import
android.view.Gravity
;
import
android.view.View
;
import
android.view.View
;
import
android.widget.LinearLayout
;
import
android.widget.RadioButton
;
import
com.blankj.utilcode.util.ToastUtils
;
import
com.blankj.utilcode.util.ToastUtils
;
import
com.xingdata.zzdpos.R
;
import
com.xingdata.zzdpos.R
;
import
com.xingdata.zzdpos.base.BaseActivity
;
import
com.xingdata.zzdpos.base.BaseFragment
;
import
com.xingdata.zzdpos.base.BaseFragment
;
import
com.xingdata.zzdpos.databinding.FragmentUserListBinding
;
import
com.xingdata.zzdpos.databinding.FragmentUserListBinding
;
import
com.xingdata.zzdpos.databinding.FragmentVipListBinding
;
import
com.xingdata.zzdpos.model.Level
;
import
com.xingdata.zzdpos.model.Level
;
import
com.xingdata.zzdpos.model.Oper
;
import
com.xingdata.zzdpos.model.Oper
;
import
com.xingdata.zzdpos.model.Pager
;
import
com.xingdata.zzdpos.model.Pager
;
import
com.xingdata.zzdpos.model.Sta
;
import
com.xingdata.zzdpos.model.Sta
;
import
com.xingdata.zzdpos.model.Vip
;
import
com.xingdata.zzdpos.ui.manage.user.UserPresenter
;
import
com.xingdata.zzdpos.ui.manage.user.UserPresenter
;
import
com.xingdata.zzdpos.ui.manage.user.adapter.UserListAdapter
;
import
com.xingdata.zzdpos.ui.manage.user.adapter.UserListAdapter
;
import
com.xingdata.zzdpos.ui.vip.VipPresenter
;
import
com.xingdata.zzdpos.util.OnClickListener
;
import
com.xingdata.zzdpos.ui.vip.adapter.VipListAdapter
;
import
com.xingdata.zzdpos.util.ConvertUtil
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.List
;
...
@@ -56,8 +47,12 @@ public class UserListFragment extends BaseFragment<UserPresenter, FragmentUserLi
...
@@ -56,8 +47,12 @@ public class UserListFragment extends BaseFragment<UserPresenter, FragmentUserLi
});
});
adapter
.
setOnLoadMoreListener
(
this
::
onLoadMore
,
mViewBinding
.
userRecyclerView
);
adapter
.
setOnLoadMoreListener
(
this
::
onLoadMore
,
mViewBinding
.
userRecyclerView
);
adapter
.
setEnableLoadMore
(
false
);
adapter
.
setEnableLoadMore
(
false
);
mViewBinding
.
searchLayout
.
onBack
.
setOnClickListener
(
view
->
{
mViewBinding
.
titleLayout
.
tvTitle
.
setText
(
"店员管理"
);
mViewBinding
.
titleLayout
.
setOnClickListener
(
new
OnClickListener
()
{
@Override
protected
void
myOnClickListener
(
View
v
)
{
getActivity
().
finish
();
getActivity
().
finish
();
}
});
});
mViewBinding
.
setOnClickListener
(
view
->
{
mViewBinding
.
setOnClickListener
(
view
->
{
switch
(
view
.
getId
())
{
switch
(
view
.
getId
())
{
...
@@ -72,9 +67,9 @@ public class UserListFragment extends BaseFragment<UserPresenter, FragmentUserLi
...
@@ -72,9 +67,9 @@ public class UserListFragment extends BaseFragment<UserPresenter, FragmentUserLi
}
}
mPresenter
.
queryUser
(
mViewBinding
.
searchLayout
.
serchEditText
.
getText
().
toString
().
trim
());
mPresenter
.
queryUser
(
mViewBinding
.
searchLayout
.
serchEditText
.
getText
().
toString
().
trim
());
break
;
break
;
case
R
.
id
.
onBack
:
//
case R.id.onBack:
getActivity
().
finish
();
//
getActivity().finish();
break
;
//
break;
}
}
});
});
onRefresh
();
onRefresh
();
...
...
app/src/main/java/com/xingdata/zzdpos/ui/vip/fragment/VipListFragment.java
View file @
dbc7d680
...
@@ -26,6 +26,7 @@ import com.xingdata.zzdpos.ui.scan.ScanFragment;
...
@@ -26,6 +26,7 @@ import com.xingdata.zzdpos.ui.scan.ScanFragment;
import
com.xingdata.zzdpos.ui.vip.VipPresenter
;
import
com.xingdata.zzdpos.ui.vip.VipPresenter
;
import
com.xingdata.zzdpos.ui.vip.adapter.VipListAdapter
;
import
com.xingdata.zzdpos.ui.vip.adapter.VipListAdapter
;
import
com.xingdata.zzdpos.util.ConvertUtil
;
import
com.xingdata.zzdpos.util.ConvertUtil
;
import
com.xingdata.zzdpos.util.OnClickListener
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.List
;
...
@@ -52,9 +53,12 @@ public class VipListFragment extends BaseFragment<VipPresenter, FragmentVipListB
...
@@ -52,9 +53,12 @@ public class VipListFragment extends BaseFragment<VipPresenter, FragmentVipListB
mViewBinding
.
vipRecyclerView
.
setLayoutManager
(
new
LinearLayoutManager
(
getActivity
()));
mViewBinding
.
vipRecyclerView
.
setLayoutManager
(
new
LinearLayoutManager
(
getActivity
()));
mViewBinding
.
vipRecyclerView
.
setAdapter
(
vipListAdapter
);
mViewBinding
.
vipRecyclerView
.
setAdapter
(
vipListAdapter
);
if
(
vipState
!=
0
)
{
if
(
vipState
!=
0
)
{
mViewBinding
.
titleLayout
.
tvTitle
.
setText
(
"会员充值"
);
mViewBinding
.
vipCountAddTodayTitle
.
setText
(
"充值金额"
);
mViewBinding
.
vipCountAddTodayTitle
.
setText
(
"充值金额"
);
mViewBinding
.
vipCountTitle
.
setText
(
"今日充值"
);
mViewBinding
.
vipCountTitle
.
setText
(
"今日充值"
);
mViewBinding
.
addVipLinearLayout
.
setVisibility
(
View
.
GONE
);
mViewBinding
.
addVipLinearLayout
.
setVisibility
(
View
.
GONE
);
}
else
{
mViewBinding
.
titleLayout
.
tvTitle
.
setText
(
"会员管理"
);
}
}
mViewBinding
.
vipRefresh
.
setOnRefreshListener
(
this
::
onRefresh
);
mViewBinding
.
vipRefresh
.
setOnRefreshListener
(
this
::
onRefresh
);
vipListAdapter
.
setOnItemClickListener
((
adapter
,
view
,
position
)
->
{
vipListAdapter
.
setOnItemClickListener
((
adapter
,
view
,
position
)
->
{
...
@@ -63,8 +67,15 @@ public class VipListFragment extends BaseFragment<VipPresenter, FragmentVipListB
...
@@ -63,8 +67,15 @@ public class VipListFragment extends BaseFragment<VipPresenter, FragmentVipListB
vipListAdapter
.
setOnLoadMoreListener
(
this
::
onLoadMore
,
mViewBinding
.
vipRecyclerView
);
vipListAdapter
.
setOnLoadMoreListener
(
this
::
onLoadMore
,
mViewBinding
.
vipRecyclerView
);
vipListAdapter
.
setEnableLoadMore
(
true
);
vipListAdapter
.
setEnableLoadMore
(
true
);
mViewBinding
.
titleSearch
.
onBack
.
setOnClickListener
(
view
->
{
// mViewBinding.titleSearch.onBack.setOnClickListener(view -> {
// getActivity().finish();
// });
mViewBinding
.
titleLayout
.
setOnClickListener
(
new
OnClickListener
()
{
@Override
protected
void
myOnClickListener
(
View
v
)
{
getActivity
().
finish
();
getActivity
().
finish
();
}
});
});
scanFragment
.
setOnScanCompletedListener
(
new
ScanFragment
.
OnScanCompletedListener
()
{
scanFragment
.
setOnScanCompletedListener
(
new
ScanFragment
.
OnScanCompletedListener
()
{
@Override
@Override
...
...
app/src/main/java/com/xingdata/zzdpos/util/SystemUtil.java
View file @
dbc7d680
...
@@ -58,7 +58,7 @@ public final class SystemUtil {
...
@@ -58,7 +58,7 @@ public final class SystemUtil {
}
}
}
}
// return deviceSN;
// return deviceSN;
return
"548496
89
"
;
return
"548496
5656
"
;
}
}
/**
/**
* 获取应用名称
* 获取应用名称
...
...
app/src/main/res/layout/fragment_recharge_rule_edit.xml
View file @
dbc7d680
...
@@ -32,10 +32,7 @@
...
@@ -32,10 +32,7 @@
android:text=
"基本信息"
/>
android:text=
"基本信息"
/>
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout"
/>
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"
...
@@ -73,10 +70,7 @@
...
@@ -73,10 +70,7 @@
android:enabled=
"false"
/>
android:enabled=
"false"
/>
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout_margin"
/>
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"
...
@@ -126,10 +120,7 @@
...
@@ -126,10 +120,7 @@
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout"
/>
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"
...
@@ -145,10 +136,7 @@
...
@@ -145,10 +136,7 @@
android:text=
"优惠规则"
/>
android:text=
"优惠规则"
/>
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout"
/>
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"
...
@@ -182,10 +170,7 @@
...
@@ -182,10 +170,7 @@
android:text=
"元"
/>
android:text=
"元"
/>
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout_margin"
/>
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"
...
@@ -219,10 +204,7 @@
...
@@ -219,10 +204,7 @@
android:text=
"元"
/>
android:text=
"元"
/>
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout_margin"
/>
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"
...
@@ -246,11 +228,7 @@
...
@@ -246,11 +228,7 @@
android:gravity=
"center"
android:gravity=
"center"
android:onClick=
"@{onClickListener}"
/>
android:onClick=
"@{onClickListener}"
/>
</LinearLayout>
</LinearLayout>
<include
layout=
"@layout/line_layout_margin"
/>
<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"
...
@@ -275,10 +253,7 @@
...
@@ -275,10 +253,7 @@
android:onClick=
"@{onClickListener}"
/>
android:onClick=
"@{onClickListener}"
/>
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout"
/>
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_recharge_rule_list.xml
View file @
dbc7d680
...
@@ -25,12 +25,18 @@
...
@@ -25,12 +25,18 @@
android:layout_height=
"match_parent"
/>
android:layout_height=
"match_parent"
/>
</LinearLayout>
</LinearLayout>
<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:id=
"@+id/addVipLinearLayout"
android:id=
"@+id/addVipLinearLayout"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"68dp"
android:layout_height=
"58dp"
android:layout_marginTop=
"10dp"
android:background=
"@color/white"
android:background=
"@color/white"
android:gravity=
"center"
android:gravity=
"center"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
...
@@ -39,17 +45,17 @@
...
@@ -39,17 +45,17 @@
android:id=
"@+id/addRule"
android:id=
"@+id/addRule"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:onClick=
"@{onClickListener}"
android:gravity=
"center_vertical"
android:gravity=
"center_vertical"
android:onClick=
"@{onClickListener}"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
<ImageButton
<ImageButton
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_vertical"
android:layout_gravity=
"center_vertical"
android:drawablePadding=
"@dimen/all_spacing"
android:layout_margin=
"5dp"
android:layout_margin=
"5dp"
android:background=
"@mipmap/add_bg"
/>
android:background=
"@mipmap/add_bg"
android:drawablePadding=
"@dimen/all_spacing"
/>
<TextView
<TextView
style=
"@style/default_blacktext_bigstyle"
style=
"@style/default_blacktext_bigstyle"
...
@@ -60,11 +66,7 @@
...
@@ -60,11 +66,7 @@
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout"
/>
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_user_info_edit.xml
View file @
dbc7d680
...
@@ -17,16 +17,15 @@
...
@@ -17,16 +17,15 @@
<include
<include
android:id=
"@+id/info_title"
android:id=
"@+id/info_title"
layout=
"@layout/title_pop"
/>
layout=
"@layout/title_pop"
/>
<View
android:layout_marginTop=
"@dimen/all_margin"
<include
layout=
"@layout/line_layout"
/>
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:background=
"@color/white"
android:background=
"@color/white"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
...
@@ -48,7 +47,7 @@
...
@@ -48,7 +47,7 @@
<EditText
<EditText
android:id=
"@+id/user_name"
android:id=
"@+id/user_name"
style=
"@style/
dialog_edit
"
style=
"@style/
all_edittext_14sp_style
"
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=
"1"
...
@@ -56,11 +55,7 @@
...
@@ -56,11 +55,7 @@
android:hint=
"请输入姓名"
/>
android:hint=
"请输入姓名"
/>
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout_margin"
/>
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"
...
@@ -78,31 +73,27 @@
...
@@ -78,31 +73,27 @@
<EditText
<EditText
android:id=
"@+id/user_phone"
android:id=
"@+id/user_phone"
android:digits=
"0123456789"
style=
"@style/all_edittext_14sp_style"
android:inputType=
"phone"
style=
"@style/dialog_edit"
android:maxLength=
"11"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:background=
"@null"
android:background=
"@null"
android:hint=
"请输入手机号"
/>
android:digits=
"0123456789"
android:hint=
"请输入手机号"
android:inputType=
"phone"
android:maxLength=
"11"
/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
<ImageView
<ImageView
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_vertical"
android:layout_gravity=
"center_vertical"
android:background=
"@mipmap/camera"
/>
android:layout_margin=
"@dimen/all_margin_left"
android:background=
"@mipmap/img_boss"
/>
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout_margin"
/>
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"
...
@@ -119,20 +110,15 @@
...
@@ -119,20 +110,15 @@
<TextView
<TextView
android:id=
"@+id/user_Level"
android:id=
"@+id/user_Level"
android:layout_marginRight=
"@dimen/all_margin"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/sp_12"
android:layout_marginLeft=
"@dimen/sp_12"
android:layout_marginRight=
"@dimen/all_margin"
android:drawableRight=
"@mipmap/ic_expand"
android:drawableRight=
"@mipmap/ic_expand"
android:onClick=
"@{onClickListener}"
/>
android:onClick=
"@{onClickListener}"
/>
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout"
/>
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"
...
@@ -142,10 +128,10 @@
...
@@ -142,10 +128,10 @@
<Button
<Button
android:id=
"@+id/onSure"
android:id=
"@+id/onSure"
android:layout_alignParentBottom=
"true"
style=
"@style/button_positive_noradius"
style=
"@style/button_positive_noradius"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentBottom=
"true"
android:onClick=
"@{onClickListener}"
android:onClick=
"@{onClickListener}"
android:text=
"确认"
/>
android:text=
"确认"
/>
...
...
app/src/main/res/layout/fragment_user_list.xml
View file @
dbc7d680
...
@@ -11,13 +11,17 @@
...
@@ -11,13 +11,17 @@
<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:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<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"
android:gravity=
"center_vertical"
android:gravity=
"center_vertical"
android:background=
"@drawable/up_down_line_white_bottom"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
<include
<include
...
@@ -26,7 +30,6 @@
...
@@ -26,7 +30,6 @@
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:layout_weight=
"1"
/>
android:layout_weight=
"1"
/>
<TextView
<TextView
android:id=
"@+id/userSearch"
android:id=
"@+id/userSearch"
style=
"@style/textView_body_small"
style=
"@style/textView_body_small"
...
@@ -35,15 +38,8 @@
...
@@ -35,15 +38,8 @@
android:gravity=
"center"
android:gravity=
"center"
android:onClick=
"@{onClickListener}"
android:onClick=
"@{onClickListener}"
android:text=
"搜索"
/>
android:text=
"搜索"
/>
</LinearLayout>
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:layout_margin=
"@dimen/view_line_L5"
android:background=
"@color/line1"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
...
@@ -96,17 +92,18 @@
...
@@ -96,17 +92,18 @@
android:textStyle=
"bold"
/>
android:textStyle=
"bold"
/>
</LinearLayout>
</LinearLayout>
<include
layout=
"@layout/line_layout"
/>
<View
<View
android:layout_width=
"
match_par
ent"
android:layout_width=
"
wrap_cont
ent"
android:layout_height=
"
0.5dp"
android:layout_height=
"
@dimen/all_margin_left"
></View>
android:layout_marginTop=
"10dp"
android:background=
"@color/line1
"
/>
<include
layout=
"@layout/line_layout
"
/>
<LinearLayout
<LinearLayout
android:id=
"@+id/addVipLinearLayout"
android:id=
"@+id/addVipLinearLayout"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"68dp"
android:layout_height=
"58dp"
android:background=
"@color/white"
android:background=
"@color/white"
android:gravity=
"center"
android:gravity=
"center"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
...
@@ -135,10 +132,7 @@
...
@@ -135,10 +132,7 @@
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout"
/>
android:layout_width=
"match_parent"
android:layout_height=
"0.5dp"
android:background=
"@color/line1"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
...
app/src/main/res/layout/fragment_vip_info.xml
View file @
dbc7d680
...
@@ -19,10 +19,15 @@
...
@@ -19,10 +19,15 @@
android:id=
"@+id/info_title"
android:id=
"@+id/info_title"
layout=
"@layout/title_pop"
/>
layout=
"@layout/title_pop"
/>
<View
android:layout_width=
"wrap_content"
android:layout_height=
"@dimen/all_margin_left"
/>
<include
layout=
"@layout/line_layout"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"72dp"
android:layout_height=
"72dp"
android:layout_marginTop=
"@dimen/all_margin"
android:background=
"@color/white"
android:background=
"@color/white"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
...
@@ -31,7 +36,7 @@
...
@@ -31,7 +36,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_vertical"
android:layout_gravity=
"center_vertical"
android:layout_marginLeft=
"@dimen/all_margin"
android:layout_marginLeft=
"@dimen/all_margin"
android:background=
"@mipmap/
mk_grade01
"
/>
android:background=
"@mipmap/
iv_vip
"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -67,15 +72,17 @@
...
@@ -67,15 +72,17 @@
android:text=
"@string/vip_info_discount"
/>
android:text=
"@string/vip_info_discount"
/>
</LinearLayout>
</LinearLayout>
<include
layout=
"@layout/line_layout"
/>
<View
<View
android:layout_width=
"match_parent"
android:layout_width=
"wrap_content"
android:layout_height=
"1dp"
android:layout_height=
"@dimen/all_margin_left"
/>
android:background=
"@color/line_bg"
></View>
<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/all_margin"
android:background=
"@color/white"
android:background=
"@color/white"
android:gravity=
"center_vertical"
android:gravity=
"center_vertical"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
...
@@ -166,11 +173,7 @@
...
@@ -166,11 +173,7 @@
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout"
/>
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:layout_marginTop=
"@dimen/all_margin"
android:background=
"@color/line_bg"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -187,17 +190,13 @@
...
@@ -187,17 +190,13 @@
<TextView
<TextView
android:id=
"@+id/vipLevel"
android:id=
"@+id/vipLevel"
style=
"@style/default_blacktext_nopadding_smallstyle"
style=
"@style/default_blacktext_nopadding_smallstyle"
android:textSize=
"@dimen/all_text_size"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
/>
android:layout_height=
"wrap_content"
android:textSize=
"@dimen/all_text_size"
/>
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout_margin"
/>
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"
...
@@ -215,17 +214,11 @@
...
@@ -215,17 +214,11 @@
style=
"@style/default_blacktext_nopadding_smallstyle"
style=
"@style/default_blacktext_nopadding_smallstyle"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:textSize=
"@dimen/all_text_size"
android:textSize=
"@dimen/all_text_size"
/>
/>
</LinearLayout>
</LinearLayout>
<include
layout=
"@layout/line_layout_margin"
/>
<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"
...
@@ -245,10 +238,7 @@
...
@@ -245,10 +238,7 @@
android:layout_height=
"wrap_content"
/>
android:layout_height=
"wrap_content"
/>
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout_margin"
/>
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"@color/line_bg"
/>
<LinearLayout
<LinearLayout
...
@@ -264,10 +254,7 @@
...
@@ -264,10 +254,7 @@
android:text=
"地区"
/>
android:text=
"地区"
/>
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout_margin"
/>
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"
...
@@ -275,13 +262,14 @@
...
@@ -275,13 +262,14 @@
android:layout_gravity=
"center_vertical"
android:layout_gravity=
"center_vertical"
android:background=
"@color/white"
android:background=
"@color/white"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
<TextView
<TextView
style=
"@style/default_blacktext_margin_16_sp_style"
style=
"@style/default_blacktext_margin_16_sp_style"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:text=
"详细地址"
/>
android:text=
"详细地址"
/>
</LinearLayout>
</LinearLayout>
<include
layout=
"@layout/line_layout"
/>
</LinearLayout>
</LinearLayout>
</layout>
</layout>
\ No newline at end of file
app/src/main/res/layout/fragment_vip_info_edit.xml
View file @
dbc7d680
...
@@ -103,7 +103,7 @@
...
@@ -103,7 +103,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_margin=
"@dimen/all_margin"
android:layout_margin=
"@dimen/all_margin"
android:layout_gravity=
"center_vertical"
android:layout_gravity=
"center_vertical"
android:background=
"@mipmap/
hd_default02
"
/>
android:background=
"@mipmap/
iv_vip
"
/>
</LinearLayout>
</LinearLayout>
<View
<View
...
...
app/src/main/res/layout/fragment_vip_level_list.xml
View file @
dbc7d680
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
<LinearLayout
<LinearLayout
android:id=
"@+id/addVipLinearLayout"
android:id=
"@+id/addVipLinearLayout"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"
6
8dp"
android:layout_height=
"
5
8dp"
android:layout_marginTop=
"10dp"
android:layout_marginTop=
"10dp"
android:background=
"@color/white"
android:background=
"@color/white"
android:gravity=
"center"
android:gravity=
"center"
...
...
app/src/main/res/layout/fragment_vip_list.xml
View file @
dbc7d680
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<variable
<variable
name=
"onClickListener"
name=
"onClickListener"
type=
"android.view.View.OnClickListener"
/>
type=
"android.view.View.OnClickListener"
/>
</data>
</data>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
...
@@ -13,10 +13,11 @@
...
@@ -13,10 +13,11 @@
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<include
layout=
"@layout/title"
android:id=
"@+id/title_layout"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"?attr/actionBarSize"
android:layout_height=
"?attr/actionBarSize"
android:background=
"@
color/white
"
android:background=
"@
drawable/up_down_line_white_bottom
"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
<include
<include
...
@@ -24,27 +25,25 @@
...
@@ -24,27 +25,25 @@
layout=
"@layout/title_search"
layout=
"@layout/title_search"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:layout_weight=
"1"
/>
android:layout_weight=
"1"
/>
<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"
/>
<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}"
/>
</LinearLayout>
</LinearLayout>
<View
<View
android:layout_width=
"match_parent"
android:layout_width=
"wrap_content"
android:layout_height=
"1dp"
android:layout_height=
"@dimen/all_margin_left"
></View>
android:layout_margin=
"@dimen/view_line_L5"
<include
layout=
"@layout/line_layout"
/>
android:background=
"@color/line1"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
...
@@ -59,7 +58,7 @@
...
@@ -59,7 +58,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=
"本店会员"
/>
android:text=
"本店会员"
/>
<TextView
<TextView
android:id=
"@+id/vip_count_add_today_title"
android:id=
"@+id/vip_count_add_today_title"
...
@@ -68,7 +67,7 @@
...
@@ -68,7 +67,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=
"今日新增"
/>
android:text=
"今日新增"
/>
</LinearLayout>
</LinearLayout>
<LinearLayout
<LinearLayout
...
@@ -85,7 +84,7 @@
...
@@ -85,7 +84,7 @@
android:layout_weight=
"1"
android:layout_weight=
"1"
android:gravity=
"center"
android:gravity=
"center"
android:textSize=
"22sp"
android:textSize=
"22sp"
android:textStyle=
"bold"
/>
android:textStyle=
"bold"
/>
<TextView
<TextView
android:id=
"@+id/vip_count_add_today"
android:id=
"@+id/vip_count_add_today"
...
@@ -95,18 +94,23 @@
...
@@ -95,18 +94,23 @@
android:layout_weight=
"1"
android:layout_weight=
"1"
android:gravity=
"center"
android:gravity=
"center"
android:textSize=
"22sp"
android:textSize=
"22sp"
android:textStyle=
"bold"
/>
android:textStyle=
"bold"
/>
</LinearLayout>
</LinearLayout>
<include
layout=
"@layout/line_layout"
/>
<LinearLayout
<LinearLayout
android:id=
"@+id/addVipLinearLayout"
android:id=
"@+id/addVipLinearLayout"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"
6
8dp"
android:layout_height=
"
5
8dp"
android:layout_marginTop=
"10dp"
android:layout_marginTop=
"10dp"
android:background=
"@color/white"
android:background=
"@color/white"
android:gravity=
"center"
android:gravity=
"center"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<include
layout=
"@layout/line_layout"
/>
<LinearLayout
<LinearLayout
android:id=
"@+id/addVip"
android:id=
"@+id/addVip"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
...
@@ -120,7 +124,7 @@
...
@@ -120,7 +124,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_vertical"
android:layout_gravity=
"center_vertical"
android:layout_margin=
"5dp"
android:layout_margin=
"5dp"
android:background=
"@mipmap/add_bg"
/>
android:background=
"@mipmap/add_bg"
/>
<TextView
<TextView
style=
"@style/default_blacktext_bigstyle"
style=
"@style/default_blacktext_bigstyle"
...
@@ -128,15 +132,11 @@
...
@@ -128,15 +132,11 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"添加会员"
android:text=
"添加会员"
android:textColor=
"@color/deep_red"
android:textColor=
"@color/deep_red"
android:textSize=
"22sp"
/>
android:textSize=
"22sp"
/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout"
/>
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:layout_margin=
"@dimen/view_line_L5"
android:background=
"@color/line1"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -171,7 +171,7 @@
...
@@ -171,7 +171,7 @@
<android.support.v7.widget.RecyclerView
<android.support.v7.widget.RecyclerView
android:id=
"@+id/vipRecyclerView"
android:id=
"@+id/vipRecyclerView"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
/>
android:layout_height=
"match_parent"
/>
</android.support.v4.widget.SwipeRefreshLayout>
</android.support.v4.widget.SwipeRefreshLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
...
...
app/src/main/res/layout/fragment_vip_mscard_list.xml
View file @
dbc7d680
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_vertical"
android:layout_gravity=
"center_vertical"
android:layout_marginLeft=
"@dimen/all_margin"
android:layout_marginLeft=
"@dimen/all_margin"
android:background=
"@mipmap/
mk_grade01
"
/>
android:background=
"@mipmap/
iv_vip
"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -65,10 +65,7 @@
...
@@ -65,10 +65,7 @@
android:text=
"@string/vip_info_discount"
/>
android:text=
"@string/vip_info_discount"
/>
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout"
/>
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"@color/line_bg"
></View>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -125,10 +122,7 @@
...
@@ -125,10 +122,7 @@
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout"
/>
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"@color/line_bg"
></View>
<android.support.v4.widget.SwipeRefreshLayout
<android.support.v4.widget.SwipeRefreshLayout
android:id=
"@+id/recharge_refresh"
android:id=
"@+id/recharge_refresh"
...
...
app/src/main/res/layout/fragment_vip_recharge.xml
View file @
dbc7d680
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_vertical"
android:layout_gravity=
"center_vertical"
android:layout_marginLeft=
"@dimen/all_margin"
android:layout_marginLeft=
"@dimen/all_margin"
android:background=
"@mipmap/
mk_grade01
"
/>
android:background=
"@mipmap/
iv_vip
"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -69,10 +69,13 @@
...
@@ -69,10 +69,13 @@
android:text=
"@string/vip_balance_text"
/>
android:text=
"@string/vip_balance_text"
/>
</LinearLayout>
</LinearLayout>
<include
layout=
"@layout/line_layout"
/>
<View
<View
android:layout_width=
"match_parent"
android:layout_width=
"wrap_content"
android:layout_height=
"1dp"
android:layout_height=
"@dimen/all_margin_left"
/>
android:background=
"@color/line_bg"
></View>
<include
layout=
"@layout/line_layout"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -101,10 +104,10 @@
...
@@ -101,10 +104,10 @@
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
<LinearLayout
<LinearLayout
android:layout_weight=
"2"
android:id=
"@+id/stealLayout"
android:id=
"@+id/stealLayout"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
android:layout_height=
"50dp"
android:layout_weight=
"2"
android:background=
"@drawable/selector_paymoney_radiobutton_bg"
android:background=
"@drawable/selector_paymoney_radiobutton_bg"
android:gravity=
"center_vertical"
android:gravity=
"center_vertical"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
...
@@ -118,7 +121,6 @@
...
@@ -118,7 +121,6 @@
<EditText
<EditText
android:id=
"@+id/steal_money"
android:id=
"@+id/steal_money"
android:singleLine=
"true"
style=
"@style/dialog_edit"
style=
"@style/dialog_edit"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
...
@@ -128,21 +130,19 @@
...
@@ -128,21 +130,19 @@
android:inputType=
"phone"
android:inputType=
"phone"
android:maxLength=
"6"
android:maxLength=
"6"
android:onClick=
"@{onClickListener}"
android:onClick=
"@{onClickListener}"
android:singleLine=
"true"
android:textCursorDrawable=
"@null"
/>
android:textCursorDrawable=
"@null"
/>
</LinearLayout>
</LinearLayout>
<View
<View
android:layout_weight=
"1"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
/>
android:layout_height=
"1dp"
android:layout_weight=
"1"
/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout"
/>
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:layout_marginTop=
"5dp"
android:background=
"@color/line_bg"
></View>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -193,11 +193,17 @@
...
@@ -193,11 +193,17 @@
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
<include
layout=
"@layout/line_layout"
/>
<View
android:layout_width=
"wrap_content"
android:layout_height=
"@dimen/all_margin_left"
/>
<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/all_margin"
android:background=
"@color/white"
android:background=
"@color/white"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
...
@@ -211,22 +217,24 @@
...
@@ -211,22 +217,24 @@
android:text=
"充值金额:"
/>
android:text=
"充值金额:"
/>
<TextView
<TextView
android:text=
"1111111111"
android:id=
"@+id/rechargAMT"
android:id=
"@+id/rechargAMT"
style=
"@style/textView_body"
style=
"@style/textView_body"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/all_margin_left"
android:layout_marginLeft=
"@dimen/all_margin_left"
android:layout_marginRight=
"@dimen/all_margin_left"
android:layout_marginRight=
"@dimen/all_margin_left"
android:textSize=
"@dimen/sbig_text_size"
android:text=
"1111111111"
android:textColor=
"@color/deep_red"
/>
android:textColor=
"@color/deep_red"
android:textSize=
"@dimen/sbig_text_size"
/>
</LinearLayout>
</LinearLayout>
<include
layout=
"@layout/line_layout"
/>
<android.support.v7.widget.RecyclerView
<android.support.v7.widget.RecyclerView
android:id=
"@+id/rl_pay"
android:id=
"@+id/rl_pay"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/all_margin_left"
android:background=
"@color/gray_zhouyu"
android:background=
"@color/gray_zhouyu"
android:textAppearance=
"@android:style/TextAppearance.Large"
/>
android:textAppearance=
"@android:style/TextAppearance.Large"
/>
</LinearLayout>
</LinearLayout>
...
...
app/src/main/res/layout/fragment_vip_recharge_list.xml
View file @
dbc7d680
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_vertical"
android:layout_gravity=
"center_vertical"
android:layout_marginLeft=
"@dimen/all_margin"
android:layout_marginLeft=
"@dimen/all_margin"
android:background=
"@mipmap/
mk_grade01
"
/>
android:background=
"@mipmap/
iv_vip
"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -65,10 +65,7 @@
...
@@ -65,10 +65,7 @@
android:text=
"@string/vip_info_discount"
/>
android:text=
"@string/vip_info_discount"
/>
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout"
/>
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"@color/line_bg"
></View>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -127,10 +124,7 @@
...
@@ -127,10 +124,7 @@
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout"
/>
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"@color/line_bg"
></View>
<android.support.v4.widget.SwipeRefreshLayout
<android.support.v4.widget.SwipeRefreshLayout
android:id=
"@+id/recharge_refresh"
android:id=
"@+id/recharge_refresh"
...
...
app/src/main/res/layout/fragment_vip_serch.xml
View file @
dbc7d680
...
@@ -69,8 +69,8 @@
...
@@ -69,8 +69,8 @@
android:textSize=
"@dimen/all_text_size"
/>
android:textSize=
"@dimen/all_text_size"
/>
<TextView
<TextView
style=
"@style/textView_body"
android:id=
"@+id/search_ImageButton"
android:id=
"@+id/search_ImageButton"
style=
"@style/textView_body"
android:layout_width=
"60dp"
android:layout_width=
"60dp"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:onClick=
"@{OnClickListener}"
android:onClick=
"@{OnClickListener}"
...
@@ -79,27 +79,10 @@
...
@@ -79,27 +79,10 @@
</LinearLayout>
</LinearLayout>
<View
<include
layout=
"@layout/line_layout"
/>
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/all_line_width"
android:layout_gravity=
"bottom"
android:background=
"@color/gray_huanggai"
app:layout_constraintBottom_toBottomOf=
"parent"
/>
</android.support.constraint.ConstraintLayout>
</android.support.constraint.ConstraintLayout>
<View
<include
layout=
"@layout/line_layout"
/>
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/all_line_width"
android:layout_marginBottom=
"@dimen/all_margin"
android:background=
"@color/gray_huanggai"
android:visibility=
"@{empty?View.GONE:View.VISIBLE}"
/>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/all_line_width"
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"
...
...
app/src/main/res/layout/item_vip_list_item.xml
View file @
dbc7d680
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<ImageView
<ImageView
android:layout_margin=
"@dimen/all_margin_left"
android:layout_margin=
"@dimen/all_margin_left"
android:background=
"@mipmap/
hd_default02
"
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"
/>
...
...
app/src/main/res/layout/title_search.xml
View file @
dbc7d680
...
@@ -10,18 +10,10 @@
...
@@ -10,18 +10,10 @@
<LinearLayout
<LinearLayout
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:gravity=
"center_vertical"
android:gravity=
"center_vertical"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
<ImageButton
android:id=
"@+id/onBack"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:background=
"@color/transparent"
android:padding=
"@dimen/all_padding"
android:src=
"@mipmap/go_back"
/>
<EditText
<EditText
android:id=
"@+id/serchEditText"
android:id=
"@+id/serchEditText"
style=
"@style/searchBarEditor"
style=
"@style/searchBarEditor"
...
...
app/src/main/res/mipmap-xhdpi/
hd_default01
.png
→
app/src/main/res/mipmap-xhdpi/
iv_user
.png
View file @
dbc7d680
File moved
app/src/main/res/mipmap-xhdpi/
hd_default02
.png
→
app/src/main/res/mipmap-xhdpi/
iv_vip
.png
View file @
dbc7d680
File moved
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