insetter | Insetter is a library to help apps handle WindowInsets
kandi X-RAY | insetter Summary
kandi X-RAY | insetter Summary
Insetter is a library to help apps handle WindowInsets more easily. Please visit the website for more information.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of insetter
insetter Key Features
insetter Examples and Code Snippets
Community Discussions
Trending Discussions on insetter
QUESTION
For some reason on one of my apps, I get relatively a lot of crashes recently of "android.view.InflateException" . I think it has started over the last version or two.
The problemAccording to both the Play Console and Crashlytics, for some reason the crashes occur only on Samsung devices that have Android 10.
It might be a coincidence for now, as Samsung devices are quite popular, but still it is suspicious to me.
On Play Console, it doesn't say much:
On Crashlytics, it seems it's related to inflation of views, but it doesn't make sense, because it says it's "Error inflating class TextView" or "Error inflating class androidx.appcompat.widget.Toolbar" :
What I've triedSearching the Internet and here, sadly I couldn't find a similar case.
What I can think about is that maybe it's some bug on Google's SDKs that I use, which have some issues with Samsung devices, as they got Android 10 only recently. And since it occurred only over the past 1-2 versions that might be it.
I actually use latest versions of Google's SDKs. However, I don't even use the fancy stuff there. On the Toolbar one, my layout has "CoordinatorLayout", "AppBarLayout", "Toolbar" and "FragmentContainerView" (for the preferences), for example. Here's its layout:
...ANSWER
Answered 2020-Jan-23 at 17:23Seems it was all because I used a system color that isn't defined on some devices:
res/values-v29/colors.xml
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install insetter
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page