Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RvApp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
lify
RvApp
Commits
29607acf
Commit
29607acf
authored
Jul 06, 2019
by
linfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修复
parent
72d1ceac
Changes
17
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
393 additions
and
143 deletions
+393
-143
build.gradle
RvClient/build.gradle
+2
-2
RvFrameConfig.java
RvFrame/src/main/java/com/frame/rv/config/RvFrameConfig.java
+1
-1
common_icon_close_white.png
...e/src/main/res/drawable-xhdpi/common_icon_close_white.png
+0
-0
PickerPresenter.java
...om/rv/home/rv/module/basic/presenter/PickerPresenter.java
+0
-2
HomeFragment.java
...java/com/rv/home/rv/module/ui/main/home/HomeFragment.java
+33
-20
MemberOrderDetailsActivity.java
...module/ui/main/home/order/MemberOrderDetailsActivity.java
+3
-1
TravelOrderDetailsActivity.java
...module/ui/main/home/order/TravelOrderDetailsActivity.java
+0
-1
aa1.png
module_home/src/main/res/drawable-xhdpi/aa1.png
+0
-0
aa2.png
module_home/src/main/res/drawable-xhdpi/aa2.png
+0
-0
aa33.png
module_home/src/main/res/drawable-xhdpi/aa33.png
+0
-0
aa4.png
module_home/src/main/res/drawable-xhdpi/aa4.png
+0
-0
aa_image_banner.png
module_home/src/main/res/drawable-xhdpi/aa_image_banner.png
+0
-0
fragment_home.xml
module_home/src/main/res/layout/fragment_home.xml
+336
-25
rv_item_rv_enthusiast.xml
module_home/src/main/res/layout/rv_item_rv_enthusiast.xml
+1
-0
build.gradle
module_mine/build.gradle
+2
-0
IDCardCertificationActivity.java
...a/com/rv/rvmine/personal/IDCardCertificationActivity.java
+3
-0
activity_calendar.xml
plugin_calendar/src/main/res/layout/activity_calendar.xml
+12
-91
No files found.
RvClient/build.gradle
View file @
29607acf
...
@@ -7,8 +7,8 @@ android {
...
@@ -7,8 +7,8 @@ android {
applicationId
"com.test.rv"
applicationId
"com.test.rv"
minSdkVersion
rootProject
.
ext
.
minSdkVersion
minSdkVersion
rootProject
.
ext
.
minSdkVersion
targetSdkVersion
rootProject
.
ext
.
targetSdkVersion
targetSdkVersion
rootProject
.
ext
.
targetSdkVersion
versionCode
10
2
versionCode
10
1
versionName
"1.0.
2
"
versionName
"1.0.
1
"
multiDexEnabled
true
multiDexEnabled
true
//新版Gradle 是 implementation 为了兼容compile,写上这句话
//新版Gradle 是 implementation 为了兼容compile,写上这句话
...
...
RvFrame/src/main/java/com/frame/rv/config/RvFrameConfig.java
View file @
29607acf
...
@@ -22,7 +22,7 @@ public interface RvFrameConfig extends RvFrameConstant {
...
@@ -22,7 +22,7 @@ public interface RvFrameConfig extends RvFrameConstant {
String
VEHICLE_CAMPLIST
=
HOST
+
"/api/campsite/"
;
String
VEHICLE_CAMPLIST
=
HOST
+
"/api/campsite/"
;
String
APP_ID
=
"wx9
c9d978e5698d00f
"
;
//微信注册ID
String
APP_ID
=
"wx9
ed5e51251cf7c61
"
;
//微信注册ID
class
RvFrameInfo
{
class
RvFrameInfo
{
public
static
int
TYPE_LOGIN
=
0
;
//登录类型0、token过期、1、租车
public
static
int
TYPE_LOGIN
=
0
;
//登录类型0、token过期、1、租车
...
...
component_resource/src/main/res/drawable-xhdpi/common_icon_close_white.png
0 → 100644
View file @
29607acf
396 Bytes
module_home/src/main/java/com/rv/home/rv/module/basic/presenter/PickerPresenter.java
View file @
29607acf
...
@@ -145,7 +145,6 @@ public class PickerPresenter extends CommonPresenter {
...
@@ -145,7 +145,6 @@ public class PickerPresenter extends CommonPresenter {
}
}
/**
/**
* 获取图片存储地址
* 获取图片存储地址
* @return
* @return
...
@@ -185,7 +184,6 @@ public class PickerPresenter extends CommonPresenter {
...
@@ -185,7 +184,6 @@ public class PickerPresenter extends CommonPresenter {
}
}
public
int
calculateInSampleSize
(
BitmapFactory
.
Options
options
,
public
int
calculateInSampleSize
(
BitmapFactory
.
Options
options
,
int
reqWidth
,
int
reqHeight
)
{
int
reqWidth
,
int
reqHeight
)
{
final
int
height
=
options
.
outHeight
;
final
int
height
=
options
.
outHeight
;
...
...
module_home/src/main/java/com/rv/home/rv/module/ui/main/home/HomeFragment.java
View file @
29607acf
...
@@ -56,7 +56,6 @@ import com.rv.home.R2;
...
@@ -56,7 +56,6 @@ import com.rv.home.R2;
import
com.rv.home.rv.module.ApiConfig
;
import
com.rv.home.rv.module.ApiConfig
;
import
com.rv.home.rv.module.basic.presenter.CommonPresenter
;
import
com.rv.home.rv.module.basic.presenter.CommonPresenter
;
import
com.rv.home.rv.module.ui.main.home.adapter.HotCarTypeAdapter
;
import
com.rv.home.rv.module.ui.main.home.adapter.HotCarTypeAdapter
;
import
com.rv.home.rv.module.ui.main.home.adapter.RVEnthusiastAdapter
;
import
com.rv.home.rv.module.ui.main.home.adapter.RVTourListAdapter
;
import
com.rv.home.rv.module.ui.main.home.adapter.RVTourListAdapter
;
import
com.rv.home.rv.module.ui.main.home.adapter.RVTourListLabelAdapter
;
import
com.rv.home.rv.module.ui.main.home.adapter.RVTourListLabelAdapter
;
import
com.rv.home.rv.module.ui.main.home.adapter.SelectedEventsAdapter
;
import
com.rv.home.rv.module.ui.main.home.adapter.SelectedEventsAdapter
;
...
@@ -131,8 +130,8 @@ public class HomeFragment extends BaseFragment<CommonPresenter> implements Obser
...
@@ -131,8 +130,8 @@ public class HomeFragment extends BaseFragment<CommonPresenter> implements Obser
RecyclerView
recyclerViewRvtourlist
;
RecyclerView
recyclerViewRvtourlist
;
@BindView
(
R2
.
id
.
recyclerView_rvtourlist_title
)
@BindView
(
R2
.
id
.
recyclerView_rvtourlist_title
)
RecyclerView
recyclerViewRvtourlistTitle
;
RecyclerView
recyclerViewRvtourlistTitle
;
@BindView
(
R2
.
id
.
recyclerView_rv_enthusiast
)
//
@BindView(R2.id.recyclerView_rv_enthusiast)
RecyclerView
recyclerViewRvEnthusiast
;
//
RecyclerView recyclerViewRvEnthusiast;
@BindView
(
R2
.
id
.
travel_city_text
)
@BindView
(
R2
.
id
.
travel_city_text
)
TextView
travelCityText
;
TextView
travelCityText
;
@BindView
(
R2
.
id
.
travel_city_layout
)
@BindView
(
R2
.
id
.
travel_city_layout
)
...
@@ -177,6 +176,12 @@ public class HomeFragment extends BaseFragment<CommonPresenter> implements Obser
...
@@ -177,6 +176,12 @@ public class HomeFragment extends BaseFragment<CommonPresenter> implements Obser
LinearLayout
llItemHotEntertainmentCamp
;
LinearLayout
llItemHotEntertainmentCamp
;
@BindView
(
R2
.
id
.
ll_item_hot_car_rental
)
@BindView
(
R2
.
id
.
ll_item_hot_car_rental
)
LinearLayout
llItemHotCarRental
;
LinearLayout
llItemHotCarRental
;
@BindView
(
R2
.
id
.
tv_hot_rvtour_hint
)
TextView
tvHotRvtourHint
;
@BindView
(
R2
.
id
.
tv_hot_entertainment_hint
)
TextView
tvHotEntertainmentHint
;
@BindView
(
R2
.
id
.
tv_hot_car_rental_hint
)
TextView
tvHotCarRentalHint
;
private
ArrayList
<
String
>
images
=
new
ArrayList
<>();
//图片(默认采用网络地址)
private
ArrayList
<
String
>
images
=
new
ArrayList
<>();
//图片(默认采用网络地址)
...
@@ -221,7 +226,7 @@ public class HomeFragment extends BaseFragment<CommonPresenter> implements Obser
...
@@ -221,7 +226,7 @@ public class HomeFragment extends BaseFragment<CommonPresenter> implements Obser
private
HotCarTypeAdapter
mAdapter
;
private
HotCarTypeAdapter
mAdapter
;
private
SelectedEventsAdapter
mActivityAdapter
;
private
SelectedEventsAdapter
mActivityAdapter
;
private
RVEnthusiastAdapter
mRvEnthusiast
;
//
private RVEnthusiastAdapter mRvEnthusiast;
private
RVTourListAdapter
mRvTourAdapter
;
private
RVTourListAdapter
mRvTourAdapter
;
private
RVTourListLabelAdapter
mRvTourLabelAdapter
;
private
RVTourListLabelAdapter
mRvTourLabelAdapter
;
...
@@ -257,7 +262,8 @@ public class HomeFragment extends BaseFragment<CommonPresenter> implements Obser
...
@@ -257,7 +262,8 @@ public class HomeFragment extends BaseFragment<CommonPresenter> implements Obser
llItemHotRvtour
.
setSelected
(
true
);
llItemHotRvtour
.
setSelected
(
true
);
tvItemRvTour
.
setSelected
(
true
);
tvItemRvTour
.
setSelected
(
true
);
tvHotRvtour
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
text_Main
));
tvHotRvtourHint
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
colorWrite
));
tvHotRvtour
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
colorWrite
));
tvHotRvtour
.
getPaint
().
setFakeBoldText
(
true
);
tvHotRvtour
.
getPaint
().
setFakeBoldText
(
true
);
ViewTreeObserver
observer
=
rlItemLayout
.
getViewTreeObserver
();
ViewTreeObserver
observer
=
rlItemLayout
.
getViewTreeObserver
();
...
@@ -265,9 +271,8 @@ public class HomeFragment extends BaseFragment<CommonPresenter> implements Obser
...
@@ -265,9 +271,8 @@ public class HomeFragment extends BaseFragment<CommonPresenter> implements Obser
@Override
@Override
public
void
onGlobalLayout
()
{
public
void
onGlobalLayout
()
{
rlItemLayout
.
getViewTreeObserver
().
removeGlobalOnLayoutListener
(
this
);
rlItemLayout
.
getViewTreeObserver
().
removeGlobalOnLayoutListener
(
this
);
height
=
rlItemLayout
.
getHeight
();
height
=
rlItemLayout
.
getHeight
()
-
120
;
rlItemLayout
.
getWidth
();
rlItemLayout
.
getWidth
();
scrollview
.
setScrollViewListener
(
HomeFragment
.
this
);
scrollview
.
setScrollViewListener
(
HomeFragment
.
this
);
}
}
});
});
...
@@ -287,12 +292,12 @@ public class HomeFragment extends BaseFragment<CommonPresenter> implements Obser
...
@@ -287,12 +292,12 @@ public class HomeFragment extends BaseFragment<CommonPresenter> implements Obser
recyclerViewActivity
.
setAdapter
(
mActivityAdapter
);
recyclerViewActivity
.
setAdapter
(
mActivityAdapter
);
//房车发烧友
//房车发烧友
mRvEnthusiast
=
new
RVEnthusiastAdapter
();
//
mRvEnthusiast = new RVEnthusiastAdapter();
recyclerViewRvEnthusiast
.
setLayoutManager
(
new
GridLayoutManager
(
getContext
(),
2
));
//
recyclerViewRvEnthusiast.setLayoutManager(new GridLayoutManager(getContext(), 2));
// recyclerViewRvEnthusiast.addItemDecoration(new AbSpacesItemDecoration(10));// 分割线。
// recyclerViewRvEnthusiast.addItemDecoration(new AbSpacesItemDecoration(10));// 分割线。
recyclerViewRvEnthusiast
.
addItemDecoration
(
new
flow
(
10
));
//
recyclerViewRvEnthusiast.addItemDecoration(new flow(10));
recyclerViewRvEnthusiast
.
setNestedScrollingEnabled
(
false
);
//
recyclerViewRvEnthusiast.setNestedScrollingEnabled(false);
recyclerViewRvEnthusiast
.
setAdapter
(
mRvEnthusiast
);
//
recyclerViewRvEnthusiast.setAdapter(mRvEnthusiast);
//房车游榜单
//房车游榜单
mRvTourAdapter
=
new
RVTourListAdapter
();
mRvTourAdapter
=
new
RVTourListAdapter
();
...
@@ -406,10 +411,10 @@ public class HomeFragment extends BaseFragment<CommonPresenter> implements Obser
...
@@ -406,10 +411,10 @@ public class HomeFragment extends BaseFragment<CommonPresenter> implements Obser
@Override
@Override
public
void
getItemOffsets
(
Rect
outRect
,
View
view
,
RecyclerView
parent
,
RecyclerView
.
State
state
)
{
public
void
getItemOffsets
(
Rect
outRect
,
View
view
,
RecyclerView
parent
,
RecyclerView
.
State
state
)
{
super
.
getItemOffsets
(
outRect
,
view
,
parent
,
state
);
super
.
getItemOffsets
(
outRect
,
view
,
parent
,
state
);
if
(
parent
.
getChildAdapterPosition
(
view
)
%
2
==
0
)
{
if
(
parent
.
getChildAdapterPosition
(
view
)
%
2
==
0
)
{
outRect
.
top
=
40
;
outRect
.
top
=
40
;
}
else
{
}
else
{
outRect
.
top
=
space
;
outRect
.
top
=
space
;
}
}
...
@@ -426,7 +431,7 @@ public class HomeFragment extends BaseFragment<CommonPresenter> implements Obser
...
@@ -426,7 +431,7 @@ public class HomeFragment extends BaseFragment<CommonPresenter> implements Obser
list
.
add
(
"https://xxtest.upyuns.com/image/app/ENRq748FQTq86R8R77J88YEWhnPeZ3.png"
);
list
.
add
(
"https://xxtest.upyuns.com/image/app/ENRq748FQTq86R8R77J88YEWhnPeZ3.png"
);
}
}
mActivityAdapter
.
setNewData
(
list
);
mActivityAdapter
.
setNewData
(
list
);
mRvEnthusiast
.
setNewData
(
list
);
//
mRvEnthusiast.setNewData(list);
}
}
@Override
@Override
...
@@ -654,9 +659,11 @@ public class HomeFragment extends BaseFragment<CommonPresenter> implements Obser
...
@@ -654,9 +659,11 @@ public class HomeFragment extends BaseFragment<CommonPresenter> implements Obser
llItemHotRvtour
.
setSelected
(
true
);
llItemHotRvtour
.
setSelected
(
true
);
llItemHotEntertainmentCamp
.
setSelected
(
false
);
llItemHotEntertainmentCamp
.
setSelected
(
false
);
llItemHotCarRental
.
setSelected
(
false
);
llItemHotCarRental
.
setSelected
(
false
);
tvHotRvtourHint
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
colorWrite
));
tvHotRvtour
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
text_Main
));
tvHotRvtour
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
colorWrite
));
tvHotEntertainmentHint
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
textGray
));
tvHotEntertainmentCamp
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
textGray
));
tvHotEntertainmentCamp
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
textGray
));
tvHotCarRentalHint
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
textGray
));
tvHotCarRental
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
textGray
));
tvHotCarRental
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
textGray
));
tvHotRvtour
.
getPaint
().
setFakeBoldText
(
true
);
tvHotRvtour
.
getPaint
().
setFakeBoldText
(
true
);
...
@@ -672,8 +679,11 @@ public class HomeFragment extends BaseFragment<CommonPresenter> implements Obser
...
@@ -672,8 +679,11 @@ public class HomeFragment extends BaseFragment<CommonPresenter> implements Obser
llItemHotRvtour
.
setSelected
(
false
);
llItemHotRvtour
.
setSelected
(
false
);
llItemHotEntertainmentCamp
.
setSelected
(
true
);
llItemHotEntertainmentCamp
.
setSelected
(
true
);
llItemHotCarRental
.
setSelected
(
false
);
llItemHotCarRental
.
setSelected
(
false
);
tvHotRvtourHint
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
textGray
));
tvHotRvtour
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
textGray
));
tvHotRvtour
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
textGray
));
tvHotEntertainmentCamp
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
text_Main
));
tvHotEntertainmentHint
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
colorWrite
));
tvHotEntertainmentCamp
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
colorWrite
));
tvHotCarRentalHint
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
textGray
));
tvHotCarRental
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
textGray
));
tvHotCarRental
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
textGray
));
tvHotRvtour
.
getPaint
().
setFakeBoldText
(
false
);
tvHotRvtour
.
getPaint
().
setFakeBoldText
(
false
);
...
@@ -688,9 +698,12 @@ public class HomeFragment extends BaseFragment<CommonPresenter> implements Obser
...
@@ -688,9 +698,12 @@ public class HomeFragment extends BaseFragment<CommonPresenter> implements Obser
llItemHotRvtour
.
setSelected
(
false
);
llItemHotRvtour
.
setSelected
(
false
);
llItemHotEntertainmentCamp
.
setSelected
(
false
);
llItemHotEntertainmentCamp
.
setSelected
(
false
);
llItemHotCarRental
.
setSelected
(
true
);
llItemHotCarRental
.
setSelected
(
true
);
tvHotRvtourHint
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
textGray
));
tvHotRvtour
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
textGray
));
tvHotRvtour
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
textGray
));
tvHotEntertainmentHint
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
textGray
));
tvHotEntertainmentCamp
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
textGray
));
tvHotEntertainmentCamp
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
textGray
));
tvHotCarRental
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
text_Main
));
tvHotCarRentalHint
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
colorWrite
));
tvHotCarRental
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
colorWrite
));
tvHotRvtour
.
getPaint
().
setFakeBoldText
(
false
);
tvHotRvtour
.
getPaint
().
setFakeBoldText
(
false
);
tvHotEntertainmentCamp
.
getPaint
().
setFakeBoldText
(
false
);
tvHotEntertainmentCamp
.
getPaint
().
setFakeBoldText
(
false
);
...
...
module_home/src/main/java/com/rv/home/rv/module/ui/main/home/order/MemberOrderDetailsActivity.java
View file @
29607acf
...
@@ -14,9 +14,9 @@ import com.ruiwenliu.wrapper.base.BaseStatusActivity;
...
@@ -14,9 +14,9 @@ import com.ruiwenliu.wrapper.base.BaseStatusActivity;
import
com.ruiwenliu.wrapper.weight.TitleView
;
import
com.ruiwenliu.wrapper.weight.TitleView
;
import
com.rv.home.R
;
import
com.rv.home.R
;
import
com.rv.home.R2
;
import
com.rv.home.R2
;
import
com.rv.home.rv.module.ApiConfig
;
import
com.rv.home.rv.module.basic.presenter.PickerPresenter
;
import
com.rv.home.rv.module.basic.presenter.PickerPresenter
;
import
butterknife.BindView
;
import
butterknife.BindView
;
import
butterknife.ButterKnife
;
import
butterknife.OnClick
;
import
butterknife.OnClick
;
/**
/**
...
@@ -41,6 +41,8 @@ public class MemberOrderDetailsActivity extends BaseStatusActivity<PickerPresent
...
@@ -41,6 +41,8 @@ public class MemberOrderDetailsActivity extends BaseStatusActivity<PickerPresent
@Override
@Override
protected
void
initView
(
Bundle
savedInstanceState
,
TitleView
titleView
,
Intent
intent
)
{
protected
void
initView
(
Bundle
savedInstanceState
,
TitleView
titleView
,
Intent
intent
)
{
showTitle
(
false
);
showTitle
(
false
);
// webUrl = ApiConfig.HTTP_URL_CAR_TYPE_TRAVELORDERDETAIL + "?no=" + no;
}
}
@Override
@Override
...
...
module_home/src/main/java/com/rv/home/rv/module/ui/main/home/order/TravelOrderDetailsActivity.java
View file @
29607acf
...
@@ -112,7 +112,6 @@ public class TravelOrderDetailsActivity extends BaseStatusActivity<PickerPresent
...
@@ -112,7 +112,6 @@ public class TravelOrderDetailsActivity extends BaseStatusActivity<PickerPresent
}
}
// mWebView.addJavascriptInterface(new AndroidJs(),"AndroidJs");
// mWebView.addJavascriptInterface(new AndroidJs(),"AndroidJs");
mWebView
.
destroy
();
// 生命周期销毁
mWebView
.
destroy
();
// 生命周期销毁
}
}
...
...
module_home/src/main/res/drawable-xhdpi/aa1.png
0 → 100644
View file @
29607acf
233 KB
module_home/src/main/res/drawable-xhdpi/aa2.png
0 → 100644
View file @
29607acf
296 KB
module_home/src/main/res/drawable-xhdpi/aa33.png
0 → 100644
View file @
29607acf
575 KB
module_home/src/main/res/drawable-xhdpi/aa4.png
0 → 100644
View file @
29607acf
357 KB
module_home/src/main/res/drawable-xhdpi/aa_image_banner.png
deleted
100644 → 0
View file @
72d1ceac
470 KB
module_home/src/main/res/layout/fragment_home.xml
View file @
29607acf
This diff is collapsed.
Click to expand it.
module_home/src/main/res/layout/rv_item_rv_enthusiast.xml
View file @
29607acf
...
@@ -66,6 +66,7 @@
...
@@ -66,6 +66,7 @@
<ImageView
<ImageView
android:layout_width=
"@dimen/size_15"
android:layout_width=
"@dimen/size_15"
android:layout_height=
"@dimen/size_15"
android:layout_height=
"@dimen/size_15"
android:padding=
"@dimen/size_1"
android:src=
"@drawable/aa_icon_like"
/>
android:src=
"@drawable/aa_icon_like"
/>
<TextView
<TextView
...
...
module_mine/build.gradle
View file @
29607acf
...
@@ -44,4 +44,6 @@ dependencies {
...
@@ -44,4 +44,6 @@ dependencies {
implementation
'top.zibin:Luban:1.1.3'
implementation
'top.zibin:Luban:1.1.3'
implementation
project
(
':plugin_member'
)
implementation
project
(
':plugin_member'
)
api
project
(
':plugin_version'
)
api
project
(
':plugin_version'
)
//动态权限申请库
implementation
'pub.devrel:easypermissions:1.3.0'
}
}
module_mine/src/main/java/com/rv/rvmine/personal/IDCardCertificationActivity.java
View file @
29607acf
...
@@ -45,6 +45,7 @@ import io.reactivex.functions.Consumer;
...
@@ -45,6 +45,7 @@ import io.reactivex.functions.Consumer;
import
okhttp3.MediaType
;
import
okhttp3.MediaType
;
import
okhttp3.MultipartBody
;
import
okhttp3.MultipartBody
;
import
okhttp3.RequestBody
;
import
okhttp3.RequestBody
;
import
pub.devrel.easypermissions.EasyPermissions
;
import
top.zibin.luban.Luban
;
import
top.zibin.luban.Luban
;
import
top.zibin.luban.OnCompressListener
;
import
top.zibin.luban.OnCompressListener
;
...
@@ -228,6 +229,8 @@ public class IDCardCertificationActivity extends BaseStatusActivity<PickerPresen
...
@@ -228,6 +229,8 @@ public class IDCardCertificationActivity extends BaseStatusActivity<PickerPresen
*
*
* @param type 1、相机2、相册
* @param type 1、相机2、相册
*/
*/
@SuppressLint
(
"CheckResult"
)
@SuppressLint
(
"CheckResult"
)
private
void
processPicker
(
final
int
type
)
{
private
void
processPicker
(
final
int
type
)
{
/**
/**
...
...
plugin_calendar/src/main/res/layout/activity_calendar.xml
View file @
29607acf
...
@@ -7,111 +7,32 @@
...
@@ -7,111 +7,32 @@
<LinearLayout
<LinearLayout
android:background=
"@color/colorYellow"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/size_50"
android:layout_height=
"@dimen/size_200"
android:background=
"@color/gray_FFB74B"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
<LinearLayout
<RelativeLayout
android:layout_width=
"0dp"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"wrap_content"
>
android:layout_weight=
"1"
android:gravity=
"center"
android:orientation=
"vertical"
>
<TextView
android:id=
"@+id/tv_calendar_inday"
android:text=
"17-12-05"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textColor=
"@color/colorMain"
android:textSize=
"@dimen/text_14"
/>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
>
<TextView
<ImageView
android:id=
"@+id/tv_calendar_inweek"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:textColor=
"@color/colorMain
"
android:layout_gravity=
"right
"
android:textSize=
"@dimen/text_12
"
android:layout_alignParentRight=
"true
"
android:text=
"周一
"
/>
android:src=
"@drawable/common_icon_close_white
"
/>
<TextView
</RelativeLayout>
android:id=
"@+id/tv_calendar_intime"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textColor=
"@color/colorMain"
android:textSize=
"@dimen/text_12"
android:layout_marginLeft=
"@dimen/size_5"
android:text=
"12:00"
/>
</LinearLayout>
</LinearLayout>
<LinearLayout
<LinearLayout
android:layout_width=
"0dp"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"wrap_content"
>
android:layout_weight=
"1"
android:gravity=
"center"
>
<TextView
android:id=
"@+id/tv_calendar_night"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"366"
android:textColor=
"@color/colorMain"
android:textSize=
"@dimen/text_14"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"天"
android:textColor=
"@color/colorMain"
android:textSize=
"@dimen/text_14"
/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width=
"0dp"
android:layout_height=
"match_parent"
android:layout_weight=
"1"
android:gravity=
"center"
android:orientation=
"vertical"
>
<TextView
android:id=
"@+id/tv_calendar_outday"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textColor=
"@color/colorMain"
android:textSize=
"@dimen/text_14"
android:text=
"17-12-05"
/>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
>
<TextView
android:id=
"@+id/tv_calendar_outweek"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textColor=
"@color/colorMain"
android:textSize=
"@dimen/text_12"
android:text=
"周一"
/>
<TextView
android:id=
"@+id/tv_calendar_outtime"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textColor=
"@color/colorMain"
android:textSize=
"@dimen/text_12"
android:layout_marginLeft=
"@dimen/size_5"
android:text=
"12:00"
/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
<include
layout=
"@layout/common_line"
/>
<include
layout=
"@layout/common_line"
/>
...
...
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