1, что я хочу в архив, но то, что он выглядит как атм 2
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:fitsSystemWindows="true">
<android.support.design.widget.AppBarLayout
android:id="@+id/appbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
android:fitsSystemWindows="true">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
app:title="Edit Profile"
app:titleTextColor="@android:color/white" />
</android.support.design.widget.AppBarLayout>
<android.support.v4.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
.....
</android.support.v4.widget.NestedScrollView>
</android.support.design.widget.CoordinatorLayout>
Я попробовал почти каждое решение по Переполнение стека,
, например.
fitsSystemWindows="true"
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
и многое другое ..
Я не думаю, что это должно быть это трудно. Любые предложения или примеры проектов оценены.
Вы пытались удалить все 'android: fitsSystemWindows =" true "'? –
Попробуйте удалить 'android: fitsSystemWindows =" true "' только из 'CoordinatorLayout'. –
Я попытался удалить 'android: fitsSystemWindows =" true "' из обоих, и только из 'CoordinatorLayout' и только' AppBarLayout', все комбинации не повлияли на макет. –