Android 4.3에서 내 애플리케이션이 잘 작동하는 동안 - Android 6에서 Android 7에서 동일한 디자인이 더 이상 작동하지 않습니다.Android Nougat : ViewPager를 사용할 때 하단 레이아웃이 Nexus 탐색 버튼 뒤에 표시되지 않습니다.
은 어떤 일이 발생한다 : 실제로 누가에 어떻게됩니까
을 :
를 텍스트 뷰는 높이의 여유가 있다면, 누가 예상대로 보여줄 것이다, 그러나 그것은 사전 누 누트에 있지 않을 것이다.
이 조각이 ViewPager에있는 경우에만 발생합니다. 그렇지 않으면 그냥 잘 보여줍니다.
XML :
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="48dp">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="CONTENTS HERE"/>
</ScrollView>
<TextView
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_gravity="bottom"
android:visibility="gone"
android:text="YOU CANNOT SEE ME"/>
</FrameLayout>
참고 : 그것은 단지 실제 장치에서, 안드로이드 Studio의 디자인 뷰에 발생하지 않습니다. 이 스크린 샷은 실제 장치에서 일어나는 일의 복제본입니다.
누구나 아이디어가 있습니까?
나는이 특정 활동에 대한 매니페스트에'fitsSytemWindow = TRUE'를두고, 저 –
위해 일한 같은 문제가 없었다? 나를 위해 일하지 않았어. – zed
아니, 매니페스트에서해야합니다. –