Comments (10)
Because you set BlurLayout
0dp height, it can get blur image from a 0 dp height view.
You have to set BlurLayout
height larger than 0dp height.
from androidviewhover.
I have changed the "0dp" to "wrap_content", but it still crashes.
And, the error message is the same.
from androidviewhover.
The FrameLayout
is 0dp, although you set BlurLayout
wrap_content
, it still 0dp.
You can set a exact value, for example 200dp, have a try.
from androidviewhover.
"200dp" still crashes, and the error message is the same.
from androidviewhover.
Ok, I think I know the reason.
Could you tell me the Android version you are testing?
from androidviewhover.
compileSdkVersion 20
buildToolsVersion "20"
minSdkVersion 14
And my Android Studio's version is Beta 0.8.6.
from androidviewhover.
I think I might need to remind you that: my code at me.drakeet.testhover.ui.MainActivity.onCreate(MainActivity.java:85)
is mSampleLayout.toggleHover();
from androidviewhover.
Hey.
I published a SNAPSHOT version several minutes ago, you can have a try if it works now.
step1:
allprojects {
repositories {
mavenCentral()
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots'
}
}
}
step2:
compile 'com.daimajia.androidviewhover:library:1.0.2-SNAPSHOT@aar'
from androidviewhover.
Great!!! It has successfully run, and it was perfect, exactly what I wanted. Thanks again!
from androidviewhover.
Oh, great.
Thanks for your feedback!
from androidviewhover.
Related Issues (20)
- New way to implement RenderScript in gradle 14+ HOT 3
- the issure on Hover
- Bad recycling in RecyclerView HOT 4
- Doesn't work properly on button OnClickListener HOT 1
- Cannot Use Along with Stackblur HOT 1
- Problem on LG G3 with android 5.0 HOT 2
- 不会自动释放bitmap.
- How to change the back view when is blurred?
- License info ?
- making ListView of blur_layout HOT 1
- Memory leak with mBlurImage HOT 1
- Gradle build problem HOT 3
- Use the library in a fragment HOT 1
- how to implement with list view custom layouts
- Why to use renderscriptSupportMode true in gradle ?
- FATAL EXCEPTION HOT 2
- dismissHover(). when does it finish? HOT 1
- I want to use LongClick HOT 1
- Can i exclude nineolddroid in my build?? HOT 1
- Issue with addChildAppearAnimator delay param
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 androidviewhover.