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
42be3d1b
Commit
42be3d1b
authored
Jan 03, 2018
by
zhang_z
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of 192.168.254.154:w525721508/TangKuPos
parents
c5f79090
7e416277
Changes
33
Hide whitespace changes
Inline
Side-by-side
Showing
33 changed files
with
654 additions
and
537 deletions
+654
-537
app/build.gradle
app/build.gradle
+6
-1
app/src/main/java/com/xingdata/zzdpos/ui/announcement/adapter/AnnouncementAdapter.java
...a/zzdpos/ui/announcement/adapter/AnnouncementAdapter.java
+4
-1
app/src/main/java/com/xingdata/zzdpos/ui/dialog/LoadingDialog.java
...ain/java/com/xingdata/zzdpos/ui/dialog/LoadingDialog.java
+0
-2
app/src/main/java/com/xingdata/zzdpos/ui/main/MainActivity.java
...c/main/java/com/xingdata/zzdpos/ui/main/MainActivity.java
+3
-0
app/src/main/java/com/xingdata/zzdpos/ui/main/fragment/CasherFragment.java
.../com/xingdata/zzdpos/ui/main/fragment/CasherFragment.java
+1
-1
app/src/main/java/com/xingdata/zzdpos/ui/marketing/integral/IntegralActivity.java
...ngdata/zzdpos/ui/marketing/integral/IntegralActivity.java
+3
-2
app/src/main/java/com/xingdata/zzdpos/ui/marketing/integral/fragment/IntegralIndexFragment.java
...ui/marketing/integral/fragment/IntegralIndexFragment.java
+1
-1
app/src/main/java/com/xingdata/zzdpos/ui/marketing/marketingMenu/MarketingMenuActivity.java
...pos/ui/marketing/marketingMenu/MarketingMenuActivity.java
+1
-1
app/src/main/java/com/xingdata/zzdpos/ui/marketing/ticket/adapter/ReturnTicketAdapter.java
...dpos/ui/marketing/ticket/adapter/ReturnTicketAdapter.java
+1
-1
app/src/main/java/com/xingdata/zzdpos/ui/statistics/StatisticsDetailActivity.java
...ngdata/zzdpos/ui/statistics/StatisticsDetailActivity.java
+14
-8
app/src/main/java/com/xingdata/zzdpos/ui/statistics/StatisticsPresenter.java
...om/xingdata/zzdpos/ui/statistics/StatisticsPresenter.java
+2
-2
app/src/main/java/com/xingdata/zzdpos/ui/statistics/adapter/StatisticsOrderAdapter.java
.../zzdpos/ui/statistics/adapter/StatisticsOrderAdapter.java
+6
-1
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/fragment/VipLevleFragment.java
...com/xingdata/zzdpos/ui/vip/fragment/VipLevleFragment.java
+1
-1
app/src/main/res/drawable/selector_edit_frame_blue_background.xml
...main/res/drawable/selector_edit_frame_blue_background.xml
+9
-0
app/src/main/res/drawable/singleline_white_gray.xml
app/src/main/res/drawable/singleline_white_gray.xml
+1
-1
app/src/main/res/drawable/text_white_top_bottom_gray.xml
app/src/main/res/drawable/text_white_top_bottom_gray.xml
+15
-0
app/src/main/res/layout/activity_feed_back.xml
app/src/main/res/layout/activity_feed_back.xml
+3
-1
app/src/main/res/layout/activity_help.xml
app/src/main/res/layout/activity_help.xml
+6
-4
app/src/main/res/layout/activity_main.xml
app/src/main/res/layout/activity_main.xml
+6
-4
app/src/main/res/layout/dialog_integral_get_setting.xml
app/src/main/res/layout/dialog_integral_get_setting.xml
+487
-457
app/src/main/res/layout/fragment_integral_main.xml
app/src/main/res/layout/fragment_integral_main.xml
+2
-6
app/src/main/res/layout/fragment_service.xml
app/src/main/res/layout/fragment_service.xml
+1
-2
app/src/main/res/layout/item_announcement_detail.xml
app/src/main/res/layout/item_announcement_detail.xml
+11
-11
app/src/main/res/layout/item_menu_detail.xml
app/src/main/res/layout/item_menu_detail.xml
+1
-1
app/src/main/res/layout/item_myself_string.xml
app/src/main/res/layout/item_myself_string.xml
+32
-6
app/src/main/res/layout/title.xml
app/src/main/res/layout/title.xml
+8
-3
app/src/main/res/layout/title_order.xml
app/src/main/res/layout/title_order.xml
+4
-16
app/src/main/res/layout/title_search.xml
app/src/main/res/layout/title_search.xml
+1
-1
app/src/main/res/layout/view_order_detail.xml
app/src/main/res/layout/view_order_detail.xml
+1
-1
app/src/main/res/mipmap-xhdpi/up.png
app/src/main/res/mipmap-xhdpi/up.png
+0
-0
app/src/main/res/values-v21/styles.xml
app/src/main/res/values-v21/styles.xml
+20
-0
app/src/main/res/values/dimens.xml
app/src/main/res/values/dimens.xml
+2
-0
No files found.
app/build.gradle
View file @
42be3d1b
...
...
@@ -17,7 +17,12 @@ android {
}
buildTypes
{
release
{
minifyEnabled
false
zipAlignEnabled
true
debuggable
true
//混淆编译
minifyEnabled
true
//打开
//移除无用的资源文件
shrinkResources
true
//打开
proguardFiles
getDefaultProguardFile
(
'proguard-android.txt'
),
'proguard-rules.pro'
}
}
...
...
app/src/main/java/com/xingdata/zzdpos/ui/announcement/adapter/AnnouncementAdapter.java
View file @
42be3d1b
...
...
@@ -11,7 +11,10 @@ import com.xingdata.zzdpos.R;
import
com.xingdata.zzdpos.base.BaseAdapter
;
import
com.xingdata.zzdpos.databinding.ItemAnnouncementDetailBinding
;
import
com.xingdata.zzdpos.model.Notice
;
import
com.xingdata.zzdpos.util.StringUtil
;
import
java.text.DateFormat
;
import
java.text.SimpleDateFormat
;
import
java.util.List
;
public
class
AnnouncementAdapter
extends
BaseAdapter
<
Notice
,
ItemAnnouncementDetailBinding
>
{
...
...
@@ -25,7 +28,7 @@ public class AnnouncementAdapter extends BaseAdapter<Notice, ItemAnnouncementDet
@Override
protected
void
convert
(
ItemAnnouncementDetailBinding
mViewBinding
,
Notice
item
)
{
mViewBinding
.
date
.
setText
(
TimeUtils
.
millis2String
(
item
.
getCreateTime
()));
mViewBinding
.
date
.
setText
(
TimeUtils
.
millis2String
(
item
.
getCreateTime
()
,
new
SimpleDateFormat
(
StringUtil
.
defaultDatePattern
)
));
mViewBinding
.
title
.
setText
(
item
.
getNoticeTitle
());
mViewBinding
.
body
.
setText
(
item
.
getNoticeDesc
());
...
...
app/src/main/java/com/xingdata/zzdpos/ui/dialog/LoadingDialog.java
View file @
42be3d1b
...
...
@@ -10,8 +10,6 @@ import com.xingdata.zzdpos.base.BaseDialog;
import
com.xingdata.zzdpos.base.BasePresenter
;
import
com.xingdata.zzdpos.databinding.DialogLoadingBinding
;
import
java.util.ArrayList
;
public
class
LoadingDialog
extends
BaseDialog
<
BasePresenter
,
DialogLoadingBinding
>
{
// Disposable disp;
boolean
isClose
=
true
;
...
...
app/src/main/java/com/xingdata/zzdpos/ui/main/MainActivity.java
View file @
42be3d1b
...
...
@@ -85,7 +85,10 @@ public class MainActivity extends BaseActivity<MainPresenter, ActivityMainBindin
}
itemMenuBottomBinding
.
img
.
setImageResource
(
iconList
[
i
]);
itemMenuBottomBindings
.
add
(
itemMenuBottomBinding
);
itemMenuBottomBinding
.
getRoot
().
setMinimumHeight
(
200
);
mViewBinding
.
tabLayout
.
getTabAt
(
i
).
setCustomView
(
view
);
i
++;
}
});
...
...
app/src/main/java/com/xingdata/zzdpos/ui/main/fragment/CasherFragment.java
View file @
42be3d1b
...
...
@@ -48,7 +48,7 @@ public class CasherFragment extends BaseFragment<MainPresenter, FragmentCasherBi
mMenuRecyclerAdapter
=
new
MenuRecyclerAdapter
(
getActivity
(),
integers
);
mMenuRecyclerAdapter
.
bindToRecyclerView
(
mViewBinding
.
fragmentCasherRecycler
);
mViewBinding
.
fragmentCasherRecycler
.
addItemDecoration
(
new
MyMenuItemDecoration
(
getActivity
(),
5
,
getResources
().
getColor
(
R
.
color
.
golden_yuji
)));
(
getActivity
(),
2
,
getResources
().
getColor
(
R
.
color
.
golden_yuji
)));
mMenuRecyclerAdapter
.
setOnItemClickListener
(
new
BaseQuickAdapter
.
OnItemClickListener
()
{
@Override
public
void
onItemClick
(
BaseQuickAdapter
adapter
,
View
view
,
int
position
)
{
...
...
app/src/main/java/com/xingdata/zzdpos/ui/marketing/integral/IntegralActivity.java
View file @
42be3d1b
...
...
@@ -15,6 +15,7 @@ import com.xingdata.zzdpos.model.Pager;
import
com.xingdata.zzdpos.model.Ubound
;
import
com.xingdata.zzdpos.ui.dialog.LoadingDialog
;
import
com.xingdata.zzdpos.ui.dialog.PromptDialog
;
import
com.xingdata.zzdpos.ui.marketing.integral.fragment.IntegralIndexFragment
;
import
com.xingdata.zzdpos.util.OnClickListener
;
import
java.util.List
;
...
...
@@ -67,13 +68,13 @@ public class IntegralActivity extends BaseActivity<IntegralPresenter, ActivityIn
@Override
public
void
addSucc
(
LoadingDialog
loadingDialog
)
{
pop
();
mPresenter
.
query
(
1
,
mPresenter
.
i
ntegralIndexFragment
.
NORMAL_TYPE
,
loadingDialog
);
mPresenter
.
query
(
1
,
I
ntegralIndexFragment
.
NORMAL_TYPE
,
loadingDialog
);
}
@Override
public
void
updateSucc
(
LoadingDialog
loadingDialog
)
{
pop
();
mPresenter
.
query
(
1
,
mPresenter
.
i
ntegralIndexFragment
.
NORMAL_TYPE
,
loadingDialog
);
mPresenter
.
query
(
1
,
I
ntegralIndexFragment
.
NORMAL_TYPE
,
loadingDialog
);
}
@Override
...
...
app/src/main/java/com/xingdata/zzdpos/ui/marketing/integral/fragment/IntegralIndexFragment.java
View file @
42be3d1b
...
...
@@ -22,6 +22,7 @@ import com.xingdata.zzdpos.ui.marketing.integral.adapter.IntegralAdapter;
import
com.xingdata.zzdpos.ui.marketing.integral.adapter.IntegralExchangeAdapter
;
import
com.xingdata.zzdpos.util.OnClickListener
;
import
java.lang.ref.WeakReference
;
import
java.util.ArrayList
;
import
java.util.List
;
...
...
@@ -61,7 +62,6 @@ public class IntegralIndexFragment extends BaseFragment<IntegralPresenter,
linearLayoutManager
.
setOrientation
(
LinearLayoutManager
.
VERTICAL
);
mViewBinding
.
rvMessage
.
setLayoutManager
(
linearLayoutManager
);
mViewBinding
.
rvMessage
.
setAdapter
(
integralAdapter
);
List
<
Ubound
>
list
=
new
ArrayList
<>();
Ubound
ubound
=
new
Ubound
();
ubound
.
setBoundValAmt
(
1000
l
);
...
...
app/src/main/java/com/xingdata/zzdpos/ui/marketing/marketingMenu/MarketingMenuActivity.java
View file @
42be3d1b
...
...
@@ -65,7 +65,7 @@ public class MarketingMenuActivity extends AppCompatActivity {
marketingMenuAdapter
=
new
MarketingMenuAdapter
(
list
);
mViewBinding
.
rvMenu
.
setAdapter
(
marketingMenuAdapter
);
LinearLayoutManager
linearLayoutManager
=
new
LinearLayoutManager
(
this
);
linearLayoutManager
.
setOrientation
(
l
inearLayoutManager
.
VERTICAL
);
linearLayoutManager
.
setOrientation
(
L
inearLayoutManager
.
VERTICAL
);
mViewBinding
.
rvMenu
.
setLayoutManager
(
linearLayoutManager
);
marketingMenuAdapter
.
setOnItemClickListener
(
new
BaseQuickAdapter
.
OnItemClickListener
()
{
@Override
...
...
app/src/main/java/com/xingdata/zzdpos/ui/marketing/ticket/adapter/ReturnTicketAdapter.java
View file @
42be3d1b
...
...
@@ -39,7 +39,7 @@ public class ReturnTicketAdapter extends BaseAdapter<Trule, ItemReturnTicketBind
mViewBinding
.
tvRule
.
setText
(
mContext
.
getResources
().
getString
(
R
.
string
.
tv_rule
,
ConvertUtil
.
fenToYuanNoPoint
(
item
.
getTruleOrderAmt
())));
mViewBinding
.
tvDate
.
setText
(
mContext
.
getResources
().
getString
(
R
.
string
.
tv_date
,
TimeUtils
.
millis2String
(
item
.
getTruleExp
(),
new
SimpleDateFormat
(
"yyy-
mm
-dd"
))));
TimeUtils
.
millis2String
(
item
.
getTruleExp
(),
new
SimpleDateFormat
(
"yyy-
MM
-dd"
))));
mViewBinding
.
clSend
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
view
)
{
...
...
app/src/main/java/com/xingdata/zzdpos/ui/statistics/StatisticsDetailActivity.java
View file @
42be3d1b
...
...
@@ -111,14 +111,20 @@ public class StatisticsDetailActivity extends BaseActivity<StatisticsDetailPrese
@Override
public
void
getOrderDetailSuss
(
Saleorder
mSaleorder
)
{
mViewBinding
.
viewOrderDetail
.
getViewStub
().
inflate
();
ViewOrderDetailBinding
viewOrderDetailBinding
=
DataBindingUtil
.
bind
(
mViewBinding
.
viewOrderDetail
.
getRoot
());
switch
(
mSaleorder
.
getOrderStatus
())
{
case
9
:
viewOrderDetailBinding
.
tvAmtHint
.
setText
(
"退货金额"
);
viewOrderDetailBinding
.
setPayType
(
mSaleorder
.
getSalepay
()
==
null
?
"退货"
:
mSaleorder
.
getSalepay
().
getPayName
());
break
;
default
:
viewOrderDetailBinding
.
setPayType
(
mSaleorder
.
getSalepay
()
==
null
?
"未支付"
:
mSaleorder
.
getSalepay
().
getPayName
());
}
viewOrderDetailBinding
.
tvAmt
.
setText
(
ConvertUtil
.
fenToYuan
(
mSaleorder
.
getOrderPayAmt
(),
true
));
viewOrderDetailBinding
.
setDate
(
com
.
blankj
.
utilcode
.
util
.
TimeUtils
.
millis2String
(
mSaleorder
.
getCreateTime
()));
viewOrderDetailBinding
.
setOrderNo
(
mSaleorder
.
getOrderNo
());
viewOrderDetailBinding
.
setDisAmt
(
ConvertUtil
.
fenToYuan
(
mSaleorder
.
getOrderReduAmt
(),
false
));
viewOrderDetailBinding
.
setPayType
(
mSaleorder
.
getSalepay
()
==
null
?
"未支付"
:
mSaleorder
.
getSalepay
().
getPayName
());
viewOrderDetailBinding
.
setSumAmt
(
ConvertUtil
.
fenToYuan
(
mSaleorder
.
getOrderAuthAmt
(),
false
));
viewOrderDetailBinding
.
setOperName
(
mSaleorder
.
getOperName
());
viewOrderDetailBinding
.
setGoodsNum
(
mSaleorder
.
getOrderCnt
()
+
""
);
...
...
@@ -153,12 +159,12 @@ public class StatisticsDetailActivity extends BaseActivity<StatisticsDetailPrese
mViewBinding
.
btnReturn
.
setOnClickListener
(
new
OnClickListener
()
{
@Override
protected
void
myOnClickListener
(
View
v
)
{
new
AlertDialog
.
Builder
(
StatisticsDetailActivity
.
this
).
setTitle
(
"确认退货"
).
setNegativeButton
(
"取消"
,
null
).
setPositiveButton
(
"确认"
,
new
DialogInterface
.
OnClickListener
()
{
@Override
public
void
onClick
(
DialogInterface
dialogInterface
,
int
i
)
{
mPresenter
.
returnOrder
(
mSaleorder
.
getOrderNo
()
+
""
);
}
}).
create
().
show
();
new
AlertDialog
.
Builder
(
StatisticsDetailActivity
.
this
).
setTitle
(
"确认退货"
).
setNegativeButton
(
"取消"
,
null
).
setPositiveButton
(
"确认"
,
new
DialogInterface
.
OnClickListener
()
{
@Override
public
void
onClick
(
DialogInterface
dialogInterface
,
int
i
)
{
mPresenter
.
returnOrder
(
mSaleorder
.
getOrderNo
()
+
""
);
}
}).
create
().
show
();
}
...
...
app/src/main/java/com/xingdata/zzdpos/ui/statistics/StatisticsPresenter.java
View file @
42be3d1b
...
...
@@ -44,9 +44,9 @@ public class StatisticsPresenter extends StatisticsContract.Presenter {
@Override
public
void
getOrderList
(
int
pageNumber
,
int
pageSize
,
long
startDate
,
long
endDate
,
OrderListFragment
fragment
)
{
mView
.
isShowLoading
(
true
);
ApiFactory
.
Test
.
getSaleOrderList
(
"99"
,
pageNumber
,
pageSize
,
startDate
,
endDate
).
doFinally
(()
->
{
mView
.
isShowLoading
(
false
);
})
.
subscribe
(
orderlist
->
{
fragment
.
setData
(
orderlist
,
orderlist
.
isFirstPage
());
...
...
app/src/main/java/com/xingdata/zzdpos/ui/statistics/adapter/StatisticsOrderAdapter.java
View file @
42be3d1b
...
...
@@ -32,7 +32,12 @@ public class StatisticsOrderAdapter extends BaseAdapter<Saleorder, ItemStatistic
}
else
{
mViewBinding
.
tvLeftTop
.
setText
(
item
.
getOrderNo
());
}
mViewBinding
.
tvRightTop
.
setText
(
"+"
+
item
.
getPayAmt
());
if
(
item
.
getOrderPayAmt
()>
0
){
mViewBinding
.
tvRightTop
.
setText
(
"+"
+
item
.
getPayAmt
());
}
else
{
mViewBinding
.
tvRightTop
.
setText
(
item
.
getPayAmt
());
}
mViewBinding
.
tvLeftBottom
.
setText
(
TimeUtils
.
millis2String
(
item
.
getCreateTime
()));
switch
(
item
.
getPayType
()){
case
C
.
PAY_CHANNEL
.
CASH
:
...
...
app/src/main/java/com/xingdata/zzdpos/ui/statistics/fragment/StatisticsFragment.java
View file @
42be3d1b
...
...
@@ -49,7 +49,7 @@ public class StatisticsFragment extends BaseFragment<StatisticsPresenter, Fragme
mMenuRecyclerAdapter
=
new
MenuRecyclerAdapter
(
getActivity
(),
integers
);
mMenuRecyclerAdapter
.
bindToRecyclerView
(
mViewBinding
.
fragmentCasherRecycler
);
mViewBinding
.
fragmentCasherRecycler
.
addItemDecoration
(
new
MyMenuItemDecoration
(
getActivity
(),
5
,
getResources
().
getColor
(
R
.
color
.
golden_yuji
)));
mViewBinding
.
fragmentCasherRecycler
.
addItemDecoration
(
new
MyMenuItemDecoration
(
getActivity
(),
2
,
getResources
().
getColor
(
R
.
color
.
golden_yuji
)));
mMenuRecyclerAdapter
.
setOnItemClickListener
(
new
BaseQuickAdapter
.
OnItemClickListener
()
{
@Override
public
void
onItemClick
(
BaseQuickAdapter
adapter
,
View
view
,
int
position
)
{
...
...
app/src/main/java/com/xingdata/zzdpos/ui/vip/fragment/VipLevleFragment.java
View file @
42be3d1b
...
...
@@ -44,7 +44,7 @@ public class VipLevleFragment extends BaseFragment<VipPresenter, FragmentVipleve
* @param buttonID
*/
private
void
setRadioButtonChecked
(
int
buttonID
)
{
RadioButton
radioButton
=
((
RadioButton
)
mViewBinding
.
vipLevelRadioGroup
.
findViewById
(
buttonID
)
);
RadioButton
radioButton
=
mViewBinding
.
vipLevelRadioGroup
.
findViewById
(
buttonID
);
if
(
radioButton
.
isChecked
()){
radioButton
.
getPaint
().
setFakeBoldText
(
true
);
radioButton
.
setTextSize
(
17
);
...
...
app/src/main/res/drawable/selector_edit_frame_blue_background.xml
0 → 100644
View file @
42be3d1b
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item
android:drawable=
"@color/all_transparent"
android:state_enabled=
"false"
/>
<item
android:drawable=
"@drawable/shape_gray_round_rectangle_stroke"
android:state_pressed=
"true"
/>
<item
android:drawable=
"@drawable/shape_white_round_rectangle_blue"
android:state_focused=
"true"
/>
<item
android:drawable=
"@drawable/shape_white_round_rectangle_dark"
/>
</selector>
\ No newline at end of file
app/src/main/res/drawable/singleline_white_gray.xml
View file @
42be3d1b
...
...
@@ -7,7 +7,7 @@
</shape>
</item>
<item
android:bottom=
"
1
.5dp"
>
<item
android:bottom=
"
0
.5dp"
>
<shape>
<solid
android:color=
"@color/white"
/>
</shape>
...
...
app/src/main/res/drawable/text_white_top_bottom_gray.xml
0 → 100644
View file @
42be3d1b
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item>
<shape>
<solid
android:color=
"@color/gray_kongming"
/>
</shape>
</item>
<item
android:bottom=
"0.5dp"
android:top=
"0.5dp"
>
<shape>
<solid
android:color=
"@color/white"
/>
</shape>
</item>
</layer-list>
\ No newline at end of file
app/src/main/res/layout/activity_feed_back.xml
View file @
42be3d1b
...
...
@@ -5,7 +5,7 @@
<variable
name=
"textSize"
type=
"String"
/>
type=
"String"
/>
</data>
...
...
@@ -28,6 +28,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_margin=
"@dimen/all_margin"
android:background=
"@drawable/selector_edit_frame_blue_background"
android:gravity=
"top"
android:hint=
"@string/feedBack_edit_hint"
android:maxLength=
"101"
...
...
@@ -40,6 +41,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_margin=
"@dimen/all_margin"
android:background=
"@drawable/selector_edit_frame_blue_background"
android:gravity=
"top"
android:hint=
"@string/feedBack_contactWay"
android:maxLength=
"22"
...
...
app/src/main/res/layout/activity_help.xml
View file @
42be3d1b
...
...
@@ -51,7 +51,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/all_margin"
android:background=
"@
color/white_caocao
"
android:background=
"@
drawable/text_white_top_bottom_gray
"
android:weightSum=
"2"
>
<TextView
...
...
@@ -74,7 +74,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/all_margin"
android:background=
"@
color/white_caocao
"
android:background=
"@
drawable/text_white_top_bottom_gray
"
android:weightSum=
"2"
>
<TextView
...
...
@@ -89,6 +89,7 @@
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:gravity=
"right"
android:autoLink=
"phone"
android:padding=
"@dimen/all_padding"
android:text=
"@string/help_phone"
/>
</LinearLayout>
...
...
@@ -97,7 +98,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/all_margin"
android:background=
"@
color/white_caocao
"
android:background=
"@
drawable/text_white_top_bottom_gray
"
android:weightSum=
"2"
>
<TextView
...
...
@@ -120,7 +121,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/all_margin"
android:background=
"@
color/white_caocao
"
android:background=
"@
drawable/text_white_top_bottom_gray
"
android:weightSum=
"2"
>
<TextView
...
...
@@ -135,6 +136,7 @@
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:gravity=
"right"
android:autoLink=
"web"
android:padding=
"@dimen/all_padding"
android:text=
"@string/help_web"
/>
</LinearLayout>
...
...
app/src/main/res/layout/activity_main.xml
View file @
42be3d1b
...
...
@@ -14,13 +14,15 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white_caocao"
android:elevation=
"@dimen/view_line_L2"
android:gravity=
"center_vertical|center_horizontal"
android:orientation=
"horizontal"
android:paddingTop=
"@dimen/all_padding"
app:tabIndicatorHeight=
"0dp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:tabGravity=
"fill"
app:tabIndicatorHeight=
"0dp"
app:tabPaddingTop=
"0dp"
app:tabPaddingBottom=
"0dp"
app:tabPaddingEnd=
"0dp"
app:tabPaddingStart=
"0dp"
android:paddingTop=
"@dimen/all_padding"
app:tabSelectedTextColor=
"@color/red_guanyu"
app:tabTextAppearance=
"@android:style/TextAppearance.Holo.Small"
app:tabTextColor=
"@color/black_likui"
>
...
...
app/src/main/res/layout/dialog_integral_get_setting.xml
View file @
42be3d1b
...
...
@@ -28,317 +28,85 @@
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
<LinearLayout
<include
android:id=
"@+id/ic_title"
layout=
"@layout/title"
/>
<Button
android:id=
"@+id/btn_add"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/store_back"
android:focusable=
"true"
android:orientation=
"vertical"
>
<include
android:id=
"@+id/ic_title"
layout=
"@layout/title"
/>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"?attr/actionBarSize"
android:background=
"@color/gray_zhouyu"
android:gravity=
"left|center_vertical"
android:paddingLeft=
"@dimen/all_padding"
android:text=
"基本信息"
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/text_secondary_title"
/>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:gravity=
"center"
android:paddingBottom=
"@dimen/all_padding"
android:paddingTop=
"@dimen/all_padding"
>
<TextView
android:id=
"@+id/tv_rules_name"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"2"
android:paddingLeft=
"@dimen/all_padding"
android:text=
"规则名称:"
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/et_textsize"
/>
<TextView
android:id=
"@+id/et_integral_role_name"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"5"
android:focusable=
"true"
android:maxLines=
"1"
android:singleLine=
"true"
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/et_textsize"
/>
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/all_line_width"
android:layout_marginLeft=
"@dimen/all_padding"
android:layout_marginRight=
"@dimen/all_padding"
android:background=
"@color/gray1"
></View>
android:layout_alignParentBottom=
"true"
android:layout_margin=
"@dimen/all_margin"
android:background=
"@color/red_guanyu"
android:onClick=
"@{OnClickListener}"
android:text=
"确定"
android:textColor=
"@color/white"
android:textSize=
"@dimen/et_textsize"
/>
<ScrollView
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_above=
"@+id/btn_add"
android:layout_below=
"@+id/ic_title"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:gravity=
"center"
android:paddingBottom=
"@dimen/all_padding"
android:paddingTop=
"@dimen/all_padding"
>
<TextView
android:id=
"@+id/tv_status"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"2"
android:paddingLeft=
"@dimen/all_padding"
android:text=
"启用状态:"
android:textColor=
"@color/black"
android:textSize=
"@dimen/et_textsize"
/>
<RadioGroup
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"5"
android:orientation=
"horizontal"
>
android:background=
"@color/store_back"
android:focusable=
"true"
android:orientation=
"vertical"
>
<RadioButton
android:id=
"@+id/rd_suspendeds"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/all_margin"
android:layout_marginRight=
"@dimen/all_margin"
android:layout_weight=
"1"
android:background=
"@drawable/selector_checkbox_bg"
android:button=
"@null"
android:onClick=
"@{OnClickListener}"
android:text=
"暂停 "
android:textSize=
"@dimen/et_textsize"
/>
<RadioButton
android:id=
"@+id/rd_starts"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/all_margin"
android:layout_marginRight=
"@dimen/all_margin"
android:layout_weight=
"1"
android:background=
"@drawable/selector_checkbox_bg"
android:button=
"@null"
android:onClick=
"@{OnClickListener}"
android:text=
"启用 "
android:textSize=
"@dimen/et_textsize"
/>
</RadioGroup>
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/all_line_width"
android:layout_marginLeft=
"@dimen/all_padding"
android:layout_marginRight=
"@dimen/all_padding"
android:background=
"@color/gray1"
></View>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"?attr/actionBarSize"
android:background=
"@color/gray_zhouyu"
android:gravity=
"left|center_vertical"
android:paddingLeft=
"@dimen/all_padding"
android:text=
"规则设置"
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/text_secondary_title"
/>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:gravity=
"center"
android:paddingBottom=
"@dimen/all_padding"
android:paddingTop=
"@dimen/all_padding"
>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/all_line_width"
android:background=
"@color/gray_huanggai"
></View>
<TextView
android:
id=
"@+id/tv_vip_level
"
android:layout_
width=
"0dp
"
android:
layout_height=
"wrap_content
"
android:
layout_weight=
"2
"
android:paddingLeft=
"@dimen/all_padding"
android:text=
"
会员等级:
"
android:
layout_width=
"match_parent
"
android:layout_
height=
"?attr/actionBarSize
"
android:
background=
"@color/gray_zhouyu
"
android:
gravity=
"left|center_vertical
"
android:paddingLeft=
"@dimen/all_padding
_left_right
"
android:text=
"
基本信息
"
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/et_textsize"
/>
<TextView
android:id=
"@+id/tv_vip_level_select"
style=
"@style/dialog_edit"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:layout_weight=
"4"
android:drawableRight=
"@mipmap/createstore_drop_down"
android:ems=
"10"
android:gravity=
"center"
android:maxLength=
"5"
android:onClick=
"@{OnClickListener}"
android:textColor=
"@color/black"
android:textColorHint=
"@color/hint"
android:textSize=
"@dimen/et_textsize"
/>
<TextView
android:id=
"@+id/tv_vip_level_select_show_no_edit"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:layout_weight=
"4"
android:ems=
"10"
android:gravity=
"center"
android:maxLength=
"5"
android:textColor=
"@color/black"
android:textColorHint=
"@color/hint"
android:textSize=
"@dimen/et_textsize"
android:visibility=
"gone"
/>
<TextView
android:id=
"@+id/ns_vip_level"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
/>
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/all_line_width"
android:layout_marginLeft=
"@dimen/all_padding"
android:layout_marginRight=
"@dimen/all_padding"
android:background=
"@color/gray1"
></View>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:gravity=
"center"
android:paddingBottom=
"@dimen/all_padding"
android:paddingTop=
"@dimen/all_padding"
>
<TextView
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"2"
android:paddingLeft=
"@dimen/all_padding"
android:text=
"获取方式:"
android:textColor=
"@color/black"
android:textSize=
"@dimen/et_textsize"
/>
<RadioGroup
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"5"
android:checkedButton=
"@id/rd_gettype_all"
android:orientation=
"horizontal"
>
android:textSize=
"@dimen/text_secondary_title"
/>
<RadioButton
android:id=
"@+id/rd_gettype_all"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:background=
"@drawable/selector_checkbox_bg"
android:button=
"@null"
android:onClick=
"@{OnClickListener}"
android:text=
"通用 "
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/et_textsize"
/>
<RadioButton
android:id=
"@+id/rd_gettype_category"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/all_margin"
android:layout_weight=
"1"
android:background=
"@drawable/selector_checkbox_bg"
android:button=
"@null"
android:onClick=
"@{OnClickListener}"
android:text=
"品类定义 "
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/et_textsize"
/>
<RadioButton
android:id=
"@+id/rd_gettype_shop"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/all_margin"
android:layout_weight=
"1"
android:background=
"@drawable/selector_checkbox_bg"
android:button=
"@null"
android:onClick=
"@{OnClickListener}"
android:text=
"商品定义 "
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/et_textsize"
/>
</RadioGroup>
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/all_line_width"
android:layout_marginLeft=
"@dimen/all_padding"
android:layout_marginRight=
"@dimen/all_padding"
android:background=
"@color/gray1"
></View>
<LinearLayout
android:id=
"@+id/ll_all"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:gravity=
"center"
android:orientation=
"vertical"
android:visibility=
"visible"
>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/all_line_width"
android:background=
"@color/gray_huanggai"
></View>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
android:background=
"@color/white"
android:gravity=
"center"
android:paddingBottom=
"@dimen/all_padding"
android:paddingTop=
"@dimen/all_padding"
>
android:paddingTop=
"@dimen/all_padding"
>
<TextView
android:id=
"@+id/tv_rules_name"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"2"
android:paddingLeft=
"@dimen/all_padding"
android:text=
"
积分比例
:"
android:paddingLeft=
"@dimen/all_padding
_left_right
"
android:text=
"
规则名称
:"
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/et_textsize"
/>
<EditText
android:id=
"@+id/et_integral_weight"
style=
"@style/dialog_edit"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:layout_weight=
"3"
android:digits=
"1234567890"
android:ems=
"5"
android:gravity=
"center_vertical"
android:inputType=
"phone|number"
android:maxLength=
"5"
android:saveEnabled=
"false"
/>
<TextView
android:id=
"@+id/et_integral_role_name"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"2"
android:text=
"元一个积分"
android:textColor=
"@color/black"
android:layout_weight=
"5"
android:focusable=
"true"
android:maxLines=
"1"
android:singleLine=
"true"
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/et_textsize"
/>
</LinearLayout>
...
...
@@ -353,154 +121,127 @@
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
android:background=
"@color/white"
android:gravity=
"center"
android:paddingBottom=
"@dimen/all_padding"
android:paddingTop=
"@dimen/all_padding"
>
<TextView
android:id=
"@+id/tv_status"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"2"
android:paddingLeft=
"@dimen/all_padding"
android:text=
"
有效期限
:"
android:textColor=
"@color/black
_baozheng
"
android:paddingLeft=
"@dimen/all_padding
_left_right
"
android:text=
"
启用状态
:"
android:textColor=
"@color/black"
android:textSize=
"@dimen/et_textsize"
/>
<EditText
android:id=
"@+id/et_integral_time_limit"
style=
"@style/dialog_edit"
<RadioGroup
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:layout_weight=
"3"
android:digits=
"1234567890"
android:ems=
"2"
android:gravity=
"center_vertical"
android:inputType=
"phone|number"
android:maxLength=
"2"
android:saveEnabled=
"false"
/>
<TextView
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"2"
android:text=
"个月"
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/et_textsize"
/>
android:layout_weight=
"5"
android:orientation=
"horizontal"
>
<RadioButton
android:id=
"@+id/rd_suspendeds"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/all_margin"
android:layout_marginRight=
"@dimen/all_margin"
android:layout_weight=
"1"
android:background=
"@drawable/selector_checkbox_bg"
android:button=
"@null"
android:onClick=
"@{OnClickListener}"
android:text=
"暂停 "
android:textSize=
"@dimen/et_textsize"
/>
<RadioButton
android:id=
"@+id/rd_starts"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/all_margin"
android:layout_marginRight=
"@dimen/all_margin"
android:layout_weight=
"1"
android:background=
"@drawable/selector_checkbox_bg"
android:button=
"@null"
android:onClick=
"@{OnClickListener}"
android:text=
"启用 "
android:textSize=
"@dimen/et_textsize"
/>
</RadioGroup>
</LinearLayout>
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/all_line_width"
android:layout_marginLeft=
"@dimen/all_padding"
android:layout_marginRight=
"@dimen/all_padding"
android:background=
"@color/gray1"
></View>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/all_line_width"
android:background=
"@color/gray_huanggai"
></View>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"?attr/actionBarSize"
android:background=
"@color/gray_zhouyu"
android:gravity=
"left|center_vertical"
android:paddingLeft=
"@dimen/all_padding_left_right"
android:text=
"规则设置"
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/text_secondary_title"
/>
<LinearLayout
android:id=
"@+id/ll_category"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:gravity=
"center"
android:orientation=
"vertical"
android:visibility=
"gone"
>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/all_line_width"
android:background=
"@color/gray_huanggai"
></View>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:gravity=
"center"
android:orientation=
"horizontal"
android:paddingBottom=
"@dimen/all_padding"
android:paddingTop=
"@dimen/all_padding"
>
<TextView
android:id=
"@+id/tv_vip_level"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"2"
android:paddingLeft=
"@dimen/all_padding"
android:text=
"
商品品类
:"
android:paddingLeft=
"@dimen/all_padding
_left_right
"
android:text=
"
会员等级
:"
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/et_textsize"
/>
<TextView
android:id=
"@+id/tv_category_select_one"
style=
"@style/dialog_edit"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:layout_weight=
"1.5"
android:drawableRight=
"@mipmap/createstore_drop_down"
android:ellipsize=
"end"
android:gravity=
"center"
android:maxLength=
"5"
android:onClick=
"@{OnClickListener}"
android:singleLine=
"true"
android:textColor=
"@color/black"
android:textColorHint=
"@color/hint"
android:textSize=
"@dimen/et_textsize"
/>
<TextView
android:id=
"@+id/tv_category_select_two"
android:id=
"@+id/tv_vip_level_select"
style=
"@style/dialog_edit"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:layout_margin
Left=
"@dimen/all_padding
"
android:layout_weight=
"
1.
5"
android:layout_margin
Right=
"@dimen/all_margin
"
android:layout_weight=
"5"
android:drawableRight=
"@mipmap/createstore_drop_down"
android:e
llipsize=
"end
"
android:e
ms=
"10
"
android:gravity=
"center"
android:maxLength=
"5"
android:onClick=
"@{OnClickListener}"
android:singleLine=
"true"
android:textColor=
"@color/black"
android:textColorHint=
"@color/hint"
android:textSize=
"@dimen/et_textsize"
/>
<TextView
android:id=
"@+id/tv_category_select_three"
style=
"@style/dialog_edit"
android:id=
"@+id/tv_vip_level_select_show_no_edit"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:layout_marginLeft=
"@dimen/all_padding"
android:layout_weight=
"1.5"
android:drawableRight=
"@mipmap/createstore_drop_down"
android:ellipsize=
"end"
android:layout_marginRight=
"@dimen/all_margin"
android:layout_weight=
"5"
android:ems=
"10"
android:gravity=
"center"
android:maxLength=
"5"
android:onClick=
"@{OnClickListener}"
android:singleLine=
"true"
android:textColor=
"@color/black"
android:textColorHint=
"@color/hint"
android:textSize=
"@dimen/et_textsize"
/>
<TextView
android:id=
"@+id/tv_category_select_show_no_edit"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:layout_marginLeft=
"@dimen/all_padding"
android:layout_weight=
"4.5"
android:ellipsize=
"end"
android:ems=
"20"
android:gravity=
"center"
android:maxLength=
"20"
android:singleLine=
"true"
android:textColor=
"@color/black"
android:textColorHint=
"@color/hint"
android:textSize=
"@dimen/et_textsize"
android:visibility=
"gone"
/>
<TextView
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"0.5"
/>
</LinearLayout>
<View
...
...
@@ -508,13 +249,14 @@
android:layout_height=
"@dimen/all_line_width"
android:layout_marginLeft=
"@dimen/all_padding"
android:layout_marginRight=
"@dimen/all_padding"
android:background=
"@color/gray1"
></View>
android:background=
"@color/gray1"
android:visibility=
"gone"
></View>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:gravity=
"center"
android:orientation=
"horizontal"
android:paddingBottom=
"@dimen/all_padding"
android:paddingTop=
"@dimen/all_padding"
>
...
...
@@ -522,31 +264,170 @@
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"2"
android:paddingLeft=
"@dimen/all_padding"
android:text=
"
积分比例
:"
android:textColor=
"@color/black
_baozheng
"
android:paddingLeft=
"@dimen/all_padding
_left_right
"
android:text=
"
获取方式
:"
android:textColor=
"@color/black"
android:textSize=
"@dimen/et_textsize"
/>
<EditText
android:id=
"@+id/et_integral_category_weight"
style=
"@style/dialog_edit"
<RadioGroup
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:layout_weight=
"3"
android:digits=
"1234567890"
android:gravity=
"center_vertical"
android:inputType=
"phone|number"
android:maxLength=
"5"
android:saveEnabled=
"false"
/>
android:layout_weight=
"5"
android:checkedButton=
"@id/rd_gettype_all"
android:orientation=
"vertical"
>
<RadioButton
android:id=
"@+id/rd_gettype_all"
android:layout_width=
"90dp"
android:layout_height=
"0dp"
android:layout_margin=
"@dimen/all_padding"
android:layout_marginLeft=
"@dimen/all_margin"
android:layout_weight=
"1"
android:background=
"@drawable/selector_checkbox_bg"
android:button=
"@null"
android:onClick=
"@{OnClickListener}"
android:text=
"通用 "
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/et_textsize"
/>
<RadioButton
android:id=
"@+id/rd_gettype_category"
android:layout_width=
"90dp"
android:layout_height=
"0dp"
android:layout_margin=
"@dimen/all_padding"
android:layout_marginLeft=
"@dimen/all_margin"
android:layout_weight=
"1"
android:background=
"@drawable/selector_checkbox_bg"
android:button=
"@null"
android:onClick=
"@{OnClickListener}"
android:text=
"品类定义 "
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/et_textsize"
/>
<RadioButton
android:id=
"@+id/rd_gettype_shop"
android:layout_width=
"90dp"
android:layout_height=
"0dp"
android:layout_margin=
"@dimen/all_padding"
android:layout_marginLeft=
"@dimen/all_margin"
android:layout_weight=
"1"
android:background=
"@drawable/selector_checkbox_bg"
android:button=
"@null"
android:onClick=
"@{OnClickListener}"
android:text=
"商品定义 "
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/et_textsize"
/>
</RadioGroup>
</LinearLayout>
<TextView
android:layout_width=
"0dp"
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/all_line_width"
android:layout_marginLeft=
"@dimen/all_padding"
android:layout_marginRight=
"@dimen/all_padding"
android:background=
"@color/gray1"
></View>
<LinearLayout
android:id=
"@+id/ll_all"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:gravity=
"center"
android:orientation=
"vertical"
android:visibility=
"visible"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_weight=
"2"
android:text=
"元一个积分"
android:textColor=
"@color/black"
android:textSize=
"@dimen/et_textsize"
/>
android:orientation=
"horizontal"
android:paddingBottom=
"@dimen/all_padding"
android:paddingTop=
"@dimen/all_padding"
>
<TextView
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"2"
android:paddingLeft=
"@dimen/all_padding_left_right"
android:text=
"积分比例:"
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/et_textsize"
/>
<EditText
android:id=
"@+id/et_integral_weight"
style=
"@style/dialog_edit"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:layout_weight=
"3"
android:digits=
"1234567890"
android:ems=
"5"
android:gravity=
"center_vertical"
android:inputType=
"phone|number"
android:maxLength=
"5"
android:saveEnabled=
"false"
/>
<TextView
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginRight=
"@dimen/all_margin"
android:layout_weight=
"2"
android:gravity=
"right"
android:text=
"元一个积分"
android:textColor=
"@color/black"
android:textSize=
"@dimen/et_textsize"
/>
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/all_line_width"
android:layout_marginLeft=
"@dimen/all_padding"
android:layout_marginRight=
"@dimen/all_padding"
android:background=
"@color/gray1"
android:visibility=
"gone"
></View>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
android:paddingBottom=
"@dimen/all_padding"
android:paddingTop=
"@dimen/all_padding"
>
<TextView
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"2"
android:paddingLeft=
"@dimen/all_padding_left_right"
android:text=
"有效期限:"
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/et_textsize"
/>
<EditText
android:id=
"@+id/et_integral_time_limit"
style=
"@style/dialog_edit"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:layout_weight=
"3"
android:digits=
"1234567890"
android:ems=
"2"
android:gravity=
"center_vertical"
android:inputType=
"phone|number"
android:maxLength=
"2"
android:saveEnabled=
"false"
/>
<TextView
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginRight=
"@dimen/all_margin"
android:layout_weight=
"2"
android:gravity=
"right"
android:text=
"个月"
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/et_textsize"
/>
</LinearLayout>
</LinearLayout>
<View
...
...
@@ -556,14 +437,217 @@
android:layout_marginRight=
"@dimen/all_padding"
android:background=
"@color/gray1"
></View>
<LinearLayout
android:id=
"@+id/ll_category"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:gravity=
"center"
android:visibility=
"gone"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:orientation=
"horizontal"
android:paddingBottom=
"@dimen/all_padding"
android:paddingTop=
"@dimen/all_padding"
>
<TextView
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"2"
android:paddingLeft=
"@dimen/all_padding"
android:text=
"商品品类:"
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/et_textsize"
/>
<TextView
android:id=
"@+id/tv_category_select_one"
style=
"@style/dialog_edit"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:layout_weight=
"1.5"
android:drawableRight=
"@mipmap/createstore_drop_down"
android:ellipsize=
"end"
android:gravity=
"center"
android:maxLength=
"5"
android:onClick=
"@{OnClickListener}"
android:singleLine=
"true"
android:textColor=
"@color/black"
android:textColorHint=
"@color/hint"
android:textSize=
"@dimen/et_textsize"
/>
<TextView
android:id=
"@+id/tv_category_select_two"
style=
"@style/dialog_edit"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:layout_marginLeft=
"@dimen/all_padding"
android:layout_weight=
"1.5"
android:drawableRight=
"@mipmap/createstore_drop_down"
android:ellipsize=
"end"
android:gravity=
"center"
android:maxLength=
"5"
android:onClick=
"@{OnClickListener}"
android:singleLine=
"true"
android:textColor=
"@color/black"
android:textColorHint=
"@color/hint"
android:textSize=
"@dimen/et_textsize"
/>
<TextView
android:id=
"@+id/tv_category_select_three"
style=
"@style/dialog_edit"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:layout_marginLeft=
"@dimen/all_padding"
android:layout_weight=
"1.5"
android:drawableRight=
"@mipmap/createstore_drop_down"
android:ellipsize=
"end"
android:ems=
"10"
android:gravity=
"center"
android:maxLength=
"5"
android:onClick=
"@{OnClickListener}"
android:singleLine=
"true"
android:textColor=
"@color/black"
android:textColorHint=
"@color/hint"
android:textSize=
"@dimen/et_textsize"
/>
<TextView
android:id=
"@+id/tv_category_select_show_no_edit"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:layout_marginLeft=
"@dimen/all_padding"
android:layout_weight=
"4.5"
android:ellipsize=
"end"
android:ems=
"20"
android:gravity=
"center"
android:maxLength=
"20"
android:singleLine=
"true"
android:textColor=
"@color/black"
android:textColorHint=
"@color/hint"
android:textSize=
"@dimen/et_textsize"
android:visibility=
"gone"
/>
<TextView
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"0.5"
/>
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/all_line_width"
android:layout_marginLeft=
"@dimen/all_padding"
android:layout_marginRight=
"@dimen/all_padding"
android:background=
"@color/gray1"
android:visibility=
"gone"
></View>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:orientation=
"horizontal"
android:paddingBottom=
"@dimen/all_padding"
android:paddingTop=
"@dimen/all_padding"
>
<TextView
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"2"
android:paddingLeft=
"@dimen/all_padding"
android:text=
"积分比例:"
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/et_textsize"
/>
<EditText
android:id=
"@+id/et_integral_category_weight"
style=
"@style/dialog_edit"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:layout_weight=
"3"
android:digits=
"1234567890"
android:gravity=
"center_vertical"
android:inputType=
"phone|number"
android:maxLength=
"5"
android:saveEnabled=
"false"
/>
<TextView
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"2"
android:text=
"元一个积分"
android:textColor=
"@color/black"
android:textSize=
"@dimen/et_textsize"
/>
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/all_line_width"
android:layout_marginLeft=
"@dimen/all_padding"
android:layout_marginRight=
"@dimen/all_padding"
android:background=
"@color/gray1"
android:visibility=
"gone"
></View>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:orientation=
"horizontal"
android:paddingBottom=
"@dimen/all_padding"
android:paddingTop=
"@dimen/all_padding"
>
<TextView
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"2"
android:paddingLeft=
"@dimen/all_padding"
android:text=
"有效期限:"
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/et_textsize"
/>
<EditText
android:id=
"@+id/et_integral_category_time_limit"
style=
"@style/dialog_edit"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:layout_weight=
"3"
android:digits=
"1234567890"
android:ems=
"2"
android:gravity=
"center_vertical"
android:inputType=
"phone|number"
android:maxLength=
"2"
android:saveEnabled=
"false"
android:textColor=
"@color/black_baozheng"
/>
<TextView
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"2"
android:text=
"个月"
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/et_textsize"
/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id=
"@+id/ll_shop"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:orientation=
"horizontal"
android:paddingBottom=
"@dimen/all_padding"
android:paddingTop=
"@dimen/all_padding"
>
android:visibility=
"gone"
>
<TextView
android:layout_width=
"0dp"
...
...
@@ -575,7 +659,7 @@
android:textSize=
"@dimen/et_textsize"
/>
<EditText
android:id=
"@+id/et_
integral_category
_time_limit"
android:id=
"@+id/et_
shop
_time_limit"
style=
"@style/dialog_edit"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
...
...
@@ -585,9 +669,10 @@
android:ems=
"2"
android:gravity=
"center_vertical"
android:inputType=
"phone|number"
android:maxEms=
"2"
android:maxLength=
"2"
android:saveEnabled=
"false"
android:textColor=
"@color/black
_baozheng
"
/>
android:textColor=
"@color/black"
/>
<TextView
android:layout_width=
"0dp"
...
...
@@ -597,69 +682,14 @@
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/et_textsize"
/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id=
"@+id/ll_shop"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:orientation=
"horizontal"
android:paddingBottom=
"@dimen/all_padding"
android:paddingTop=
"@dimen/all_padding"
android:visibility=
"gone"
>
<TextView
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"2"
android:paddingLeft=
"@dimen/all_padding"
android:text=
"有效期限:"
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/et_textsize"
/>
<EditText
android:id=
"@+id/et_shop_time_limit"
style=
"@style/dialog_edit"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:layout_weight=
"3"
android:digits=
"1234567890"
android:ems=
"2"
android:gravity=
"center_vertical"
android:inputType=
"phone|number"
android:maxEms=
"2"
android:maxLength=
"2"
android:saveEnabled=
"false"
android:textColor=
"@color/black"
/>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/all_line_width"
android:background=
"@color/gray1"
></View>
<TextView
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"2"
android:text=
"个月"
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/et_textsize"
/>
</LinearLayout>
</ScrollView>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/all_line_width"
android:background=
"@color/gray1"
></View>
</LinearLayout>
<Button
android:id=
"@+id/btn_add"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_alignParentBottom=
"true"
android:layout_margin=
"@dimen/all_margin"
android:background=
"@color/red_guanyu"
android:onClick=
"@{OnClickListener}"
android:text=
"确定"
android:textColor=
"@color/white"
android:textSize=
"@dimen/et_textsize"
/>
</RelativeLayout>
</layout>
\ No newline at end of file
app/src/main/res/layout/fragment_integral_main.xml
View file @
42be3d1b
...
...
@@ -70,9 +70,7 @@
<RadioButton
android:id=
"@+id/rb_get"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/all_margin"
android:layout_marginRight=
"@dimen/all_margin"
android:layout_height=
"match_parent"
android:layout_weight=
"1"
android:background=
"@drawable/radio_select"
android:button=
"@null"
...
...
@@ -87,9 +85,7 @@
<RadioButton
android:id=
"@+id/rb_exchange"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/all_margin"
android:layout_marginRight=
"@dimen/all_margin"
android:layout_height=
"match_parent"
android:layout_weight=
"1"
android:background=
"@drawable/radio_select"
android:button=
"@null"
...
...
app/src/main/res/layout/fragment_service.xml
View file @
42be3d1b
...
...
@@ -20,8 +20,7 @@
android:id=
"@+id/tool_bar"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white_caocao"
android:elevation=
"@dimen/view_line_L1"
android:background=
"@drawable/singleline_white_gray"
android:gravity=
"center"
android:minHeight=
"?attr/actionBarSize"
android:padding=
"0dp"
...
...
app/src/main/res/layout/item_announcement_detail.xml
View file @
42be3d1b
<?xml version="1.0" encoding="utf-8"?>
<layout
>
<layout>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
...
...
@@ -22,37 +22,37 @@
<android.support.v7.widget.CardView
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
a
pp:cardCornerRadius=
"@dimen/all_shape_radius
"
a
ndroid:layout_marginBottom=
"@dimen/all_padding
"
android:layout_marginLeft=
"@dimen/all_margin"
android:layout_marginRight=
"@dimen/all_margin"
a
ndroid:layout_marginBottom=
"@dimen/all_padding
"
>
a
pp:cardCornerRadius=
"@dimen/all_shape_radius
"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
android:paddingBottom=
"@dimen/all_margin"
>
android:paddingBottom=
"@dimen/all_margin"
>
<TextView
android:id=
"@+id/title"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"@dimen/all_
margin
"
android:layout_marginBottom=
"@dimen/all_
padding
"
android:layout_marginEnd=
"@dimen/all_padding"
android:layout_marginStart=
"@dimen/all_padding"
android:layout_marginTop=
"@dimen/all_margin"
android:text=
"心灵受金华路:糖库心灵受的巅峰之路!"
android:gravity=
"center"
android:text=
""
android:textColor=
"@color/black_baozheng"
android:textS
tyle=
"bold
"
/>
android:textS
ize=
"@dimen/all_text_size
"
/>
<TextView
android:id=
"@+id/body"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:paddingEnd=
"@dimen/
dp_4
"
android:paddingStart=
"@dimen/
dp_4
"
android:text=
"
ask領導就阿喀琉斯大家阿厤克斯大家阿隆索死啦對啦開始覺得請問哦請假了受打擊啦看到解開了缺點青蛙禮金卡實力坑爹 啊就是了看到薔薇科額的擴大勢力的就喀什燈籠褲幾千萬大家拉薩大家李克强千萬快樂件大事多久啦空間的權威的來擴大是快樂的切阿德 啊時代科技千龍網的!
"
/>
android:paddingEnd=
"@dimen/
all_padding
"
android:paddingStart=
"@dimen/
all_padding
"
android:text=
""
/>
</LinearLayout>
</android.support.v7.widget.CardView>
...
...
app/src/main/res/layout/item_menu_detail.xml
View file @
42be3d1b
...
...
@@ -7,7 +7,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_margin=
"0.8dp"
android:background=
"
@color/white_caocao
"
android:background=
"
?android:attr/selectableItemBackground
"
android:gravity=
"center"
android:orientation=
"vertical"
android:paddingBottom=
"25dp"
...
...
app/src/main/res/layout/item_myself_string.xml
View file @
42be3d1b
<?xml version="1.0" encoding="utf-8"?>
<layout>
<layout
xmlns:app=
"http://schemas.android.com/apk/res-auto"
>
<
Frame
Layout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<
android.support.constraint.Constraint
Layout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white_caocao"
android:padding=
"0dp"
>
<TextView
...
...
@@ -11,16 +12,41 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_centerVertical=
"true"
android:layout_marginBottom=
"@dimen/all_padding"
android:background=
"@color/white_caocao"
android:background=
"?android:attr/selectableItemBackground"
android:drawablePadding=
"@dimen/all_padding"
android:elevation=
"@dimen/view_line_L050"
android:gravity=
"left"
android:padding=
"@dimen/vicescreen_shoppingcart_pandding"
android:singleLine=
"true"
android:textColor=
"@color/black"
android:textSize=
"@dimen/all_text_size"
/>
android:textSize=
"@dimen/all_text_size"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<View
android:layout_width=
"0dp"
android:layout_height=
"@dimen/view_line_L050"
android:background=
"@color/gray_kongming"
app:layout_constraintEnd_toEndOf=
"@id/item_tv"
app:layout_constraintStart_toStartOf=
"@id/item_tv"
app:layout_constraintTop_toTopOf=
"@id/item_tv"
/>
</FrameLayout>
<View
android:layout_width=
"0dp"
android:layout_height=
"@dimen/view_line_L050"
android:background=
"@color/gray_kongming"
app:layout_constraintBottom_toBottomOf=
"@id/item_tv"
app:layout_constraintEnd_toEndOf=
"@id/item_tv"
app:layout_constraintStart_toStartOf=
"@id/item_tv"
/>
<View
android:layout_width=
"0dp"
android:layout_height=
"@dimen/all_padding"
android:background=
"@color/gray_zhouyu"
app:layout_constraintTop_toBottomOf=
"@id/item_tv"
app:layout_constraintEnd_toEndOf=
"@id/item_tv"
app:layout_constraintStart_toStartOf=
"@id/item_tv"
/>
</android.support.constraint.ConstraintLayout>
</layout>
\ No newline at end of file
app/src/main/res/layout/title.xml
View file @
42be3d1b
<?xml version="1.0" encoding="utf-8"?>
<layout>
<layout
xmlns:app=
"http://schemas.android.com/apk/res-auto"
>
<data>
...
...
@@ -10,7 +10,7 @@
</data>
<
Relative
Layout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<
android.support.constraint.Constraint
Layout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"?attr/actionBarSize"
android:background=
"@drawable/singleline_white_gray"
...
...
@@ -31,9 +31,14 @@
android:layout_height=
"wrap_content"
android:layout_centerInParent=
"true"
android:text=
"标题"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/big_text_size"
/>
</RelativeLayout>
</android.support.constraint.ConstraintLayout>
</layout>
\ No newline at end of file
app/src/main/res/layout/title_order.xml
View file @
42be3d1b
...
...
@@ -13,7 +13,8 @@
<android.support.constraint.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"?attr/actionBarSize"
android:background=
"@color/white_caocao"
>
android:background=
"@color/white_caocao"
>
<ImageButton
...
...
@@ -27,19 +28,7 @@
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<!--<TextView-->
<!--android:id="@+id/tv_title"-->
<!--android:layout_width="0dp"-->
<!--android:layout_height="wrap_content"-->
<!--android:layout_centerInParent="true"-->
<!--android:gravity="center"-->
<!--android:text="订单记录"-->
<!--android:textColor="@color/black_baozheng"-->
<!--android:textSize="@dimen/text_secondary_title"-->
<!--app:layout_constraintBottom_toBottomOf="parent"-->
<!--app:layout_constraintEnd_toStartOf="@id/iv_right"-->
<!--app:layout_constraintStart_toEndOf="@id/iv_back"-->
<!--app:layout_constraintTop_toTopOf="parent" />-->
<EditText
android:id=
"@+id/ed_title"
...
...
@@ -63,7 +52,6 @@
android:layout_height=
"wrap_content"
android:layout_centerInParent=
"true"
android:textColor=
"@color/black_baozheng"
android:textSize=
"@dimen/big_text_size"
android:visibility=
"gone"
app:layout_constraintBottom_toBottomOf=
"parent"
...
...
@@ -77,8 +65,8 @@
android:layout_width=
"?attr/actionBarSize"
android:layout_height=
"match_parent"
android:background=
"@color/transparent"
android:visibility=
"visible"
android:src=
"@mipmap/ic_dates"
android:visibility=
"visible"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
...
...
app/src/main/res/layout/title_search.xml
View file @
42be3d1b
...
...
@@ -4,7 +4,7 @@
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@
color/bg
"
android:background=
"@
drawable/singleline_white_gray
"
android:orientation=
"vertical"
>
<LinearLayout
...
...
app/src/main/res/layout/view_order_detail.xml
View file @
42be3d1b
...
...
@@ -83,7 +83,7 @@
android:gravity=
"center"
android:paddingBottom=
"@dimen/all_padding"
android:paddingTop=
"@dimen/all_margin"
android:text=
"
实收
金额"
android:text=
"
订单
金额"
android:textColor=
"@color/black_baozheng"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
...
...
app/src/main/res/mipmap-xhdpi/up.png
0 → 100644
View file @
42be3d1b
43.2 KB
app/src/main/res/values-v21/styles.xml
0 → 100644
View file @
42be3d1b
<resources>
<!-- Base application theme. -->
<style
name=
"AppTheme"
parent=
"Theme.AppCompat.Light.NoActionBar"
>
<!-- Customize your theme here. -->
<item
name=
"colorPrimary"
>
@color/colorPrimary
</item>
<item
name=
"colorPrimaryDark"
>
@color/colorPrimaryDark
</item>
<item
name=
"colorAccent"
>
@color/colorAccent
</item>
<item
name=
"android:windowFullscreen"
>
true
</item>
<item
name=
"android:windowNoTitle"
>
true
</item>
<item
name=
"windowActionBar"
>
false
</item>
<item
name=
"android:windowContentTransitions"
>
true
</item>
<item
name=
"android:windowAllowEnterTransitionOverlap"
>
true
</item>
<item
name=
"android:windowAllowReturnTransitionOverlap"
>
true
</item>
<item
name=
"android:windowSharedElementEnterTransition"
>
@android:transition/move
</item>
<item
name=
"android:windowSharedElementExitTransition"
>
@android:transition/move
</item>
</style>
</resources>
app/src/main/res/values/dimens.xml
View file @
42be3d1b
...
...
@@ -14,6 +14,7 @@
<dimen
name=
"all_tiny_size"
>
9sp
</dimen>
<dimen
name=
"all_title_size"
>
26sp
</dimen>
<dimen
name=
"all_padding"
>
10dp
</dimen>
<dimen
name=
"all_padding_left_right"
>
15dp
</dimen>
<dimen
name=
"all_text_size_big"
>
22sp
</dimen>
<dimen
name=
"all_text_size_big_big"
>
30sp
</dimen>
<dimen
name=
"all_text_size_super_big"
>
25sp
</dimen>
...
...
@@ -23,6 +24,7 @@
<dimen
name=
"all_textview_width"
>
120dp
</dimen>
<dimen
name=
"big_text_size"
>
18sp
</dimen>
<dimen
name=
"sbig_text_size"
>
25sp
</dimen>
<dimen
name=
"all_dialog_button"
>
40dp
</dimen>
<integer
name=
"all_top_weight"
>
2
</integer>
<integer
name=
"all_content_weight"
>
25
</integer>
<!--RADIUS-->
...
...
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