-
Notifications
You must be signed in to change notification settings - Fork 140
Open
Description
Hi @jaredrummler , I am facing issue using the library on Android 10.
When I set the colors in onCreate(...) before setContentView(...), the color is applied but the view keeps blinking.
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
cyanea.edit {
primary(Color.BLACK)
accent(Color.BLUE)
}
setContentView(R.layout.activity_main)
setSupportActionBar(toolbar)
fab.setOnClickListener { view ->
Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG)
.setAction("Action", null).show()
}
}
Below is the logs for the issue.
com.mobily.thememanager W/ly.thememanage: Accessing hidden field Landroid/graphics/drawable/GradientDrawable;->mGradientState:Landroid/graphics/drawable/GradientDrawable$GradientState; (greylist-max-p, reflection, denied)
com.mobily.thememanager W/ly.thememanage: Accessing hidden field Landroid/view/LayoutInflater;->mConstructorArgs:[Ljava/lang/Object; (greylist-max-p, reflection, denied)
Can I apply any solution or it needs to applied within the library?
I tried applying the command
adb shell settings put global hidden_api_policy 1
The logs are not shown anymore but still the view keeps blinking.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels