Comments (1)
I figured out a hack to prevent the previous theme's colors from leaking into. the current theme. There will be adverse changes in regards to persistence of all the other attributes. Replace usages of FloatingSearchView
with the DayNight version.
package com.arlib.floatingsearchview
import android.content.Context
import android.os.Parcelable
import android.util.AttributeSet
class FloatingSearchViewDayNight @JvmOverloads constructor(
context: Context,
attrs: AttributeSet? = null)
: FloatingSearchView(context, attrs) {
// hack to remove color attributes which should not be reused
override fun onSaveInstanceState(): Parcelable? {
super.onSaveInstanceState()
return null
}
}
from floatingsearchview.
Related Issues (20)
- An unexpected bottom border in floatingSearchView...
- mLeftMenuClickListener is never set anywhere
- java.lang.IllegalArgumentException: parameter must be a descendant of this view
- How do suggestions overlay search results?
- how to close searchview suggestion after touched?
- How to show home button over open navigation drawer?
- How to decrease padding from top and bottom?
- How to set a menu item checked dynamicly???
- MenuItemClickListener not working the first time we start activity HOT 1
- modify query value HOT 1
- text action menu is not supported HOT 1
- java.lang.ClassCastException
- How to add new Button or drawable icons inside FSV ?
- Implementing Suggestions HOT 1
- Crashing in Android 4.3 HOT 1
- How to implement suggestions with recent searches ?
- HomeActionClickListener issue HOT 1
- Actionlayout menu to add a badge tells me android.widget.FrameLayout cannot be cast to android.widget.ImageView HOT 1
- Crashed in androidx
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from floatingsearchview.