Commit e5cd2207 authored by jianglx's avatar jianglx

修改旅游海报页面的沉浸式

parent c39f4eea
...@@ -85,6 +85,12 @@ public class ShareImageActivity extends SwipeBackActivity<CommonPresenter> { ...@@ -85,6 +85,12 @@ public class ShareImageActivity extends SwipeBackActivity<CommonPresenter> {
return R.layout.rv_act_share_image; return R.layout.rv_act_share_image;
} }
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
StatusBarUtil.setRootViewFitsSystemWindows(mActivity, false);
}
@Override @Override
protected void initView(Bundle savedInstanceState, TitleView titleView, Intent intent) { protected void initView(Bundle savedInstanceState, TitleView titleView, Intent intent) {
showTitle(false); showTitle(false);
......
...@@ -3,10 +3,17 @@ ...@@ -3,10 +3,17 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="@color/colorYellow" android:background="@color/colorYellow"
android:orientation="vertical" android:orientation="vertical"
tools:context=".rv.module.ui.main.home.ShareImageActivity"> tools:context=".rv.module.ui.main.home.ShareImageActivity">
<com.ruiwenliu.wrapper.statusbar.StatusBarHeightView
app:use_type="use_padding_top"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<RelativeLayout <RelativeLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="@dimen/size_50"> android:layout_height="@dimen/size_50">
...@@ -33,6 +40,7 @@ ...@@ -33,6 +40,7 @@
android:textColor="@color/colorWrite" android:textColor="@color/colorWrite"
android:textSize="@dimen/text_16" /> android:textSize="@dimen/text_16" />
</RelativeLayout> </RelativeLayout>
</com.ruiwenliu.wrapper.statusbar.StatusBarHeightView>
<View <View
android:layout_width="match_parent" android:layout_width="match_parent"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment