Problem description
For example, the screenshot is as follows, which is often empty above and incomplete below (recyclerview list) (blocked by the navigation bar at the bottom)
Problem solving ideas
After switching to another fragment, it is found that it is also lower than the whole, so it should be the whole setting problem, so the problem is located to activity_ Main.xml or mobile_ In navigation. XML, which is used to specify the newly created fragment, it turns out to be an activity_ Main.xml specifies mobile_ There’s a problem with navigation’s fragment.
Problem solving
At activity_ In main.xml
- deleting the paddingtop attribute of the outermost constraintlayout will @ + ID/NAV_ host_ Layout of fragment_ Height is set to 0dp OL>
result
Read More:
- An error is reported after Android studio creates a new virtual machine. Emulator: emulator: error: unknown AVD name
- Error inflating class fragment error when loading custom fragment with fragment (valid)
- Android Studio cannot create a new activity and reports ide internal error occurred
- Android Studio Series: after Android studio is opened, the project window will not be displayed.
- There is no solution to the gsonformat plug-in after Android studio 4.1
- Android studio compilation error: style attribute ‘@ android:attr/windowEnterAnimation ‘not found the ultimate solution
- [Solved] Xcode 11 Create New Project Error: Safe Area Layout Guide before iOS 9.0 [12]
- Dpkg: error processing package XXX (- – configure) solution (red warning in the upper right corner of Ubuntu)
- “Failed to create interpreter” appears when pychar creates a new project
- Utraiso recording DVD application area failed power calibration area error
- Android Studio | Failed to find target with hash string ‘android-26’ in: D:\Android\sdk
- Error: Error parsing D:\new_android\Android SDK\system-images\android-25\android-wear\armeabi-v7a\de
- Bad pen notes: solution to leaving blank folder on launchpad after Adobe product is uninstalled by MacOS
- An error is reported for the new Android project. Rejecting re init on previously failed
- After Vue is packaged, a blank page appears, an error is reported in the resource request, and there is no error handling scheme
- Windows solution enabled visdom.server Slow and blank blue screen (no navigation bar)
- Android studio displays the class and method where the cursor is located
- Android Studio – add configuration for Android studio
- Error in Cordova project execution command after Android studio upgrade: could not find gradle wrapper within Android SDK
- Visual Studio Tips: error LNK2005: … already defined in LIBCMTD.lib(new.obj)