Comments (5)
hey any solution for this issue?
from sneaker.
can you please look at this lines and try to change top
and bottom
values to 0
(may be) because i solved it but can't remember exactly what solution i have tried..
https://github.com/Hamadakram/Sneaker/blob/master/sneaker/src/main/java/com/irozon/sneaker/SneakerView.kt#L54
https://github.com/Hamadakram/Sneaker/blob/master/sneaker/src/main/java/com/irozon/sneaker/SneakerView.kt#L70
if it will not work then please try setting margin
because i think i tried that solution..
from sneaker.
hey @KomalBohra, did you tried my solution or not, and if yes then are you able to solve the issue??
from sneaker.
If anyone is still getting this error or will stuck into, just make given changes in line number 54 and 70(may be it will not work for every case but for this case it's working)...
textLayoutParams.setMargins( 26, 0, 26, 0 ) tvMessage.layoutParams = textLayoutParams
can you please look at this lines and try to change
top
andbottom
values to0
(may be) because i solved it but can't remember exactly what solution i have tried..https://github.com/Hamadakram/Sneaker/blob/master/sneaker/src/main/java/com/irozon/sneaker/SneakerView.kt#L54 https://github.com/Hamadakram/Sneaker/blob/master/sneaker/src/main/java/com/irozon/sneaker/SneakerView.kt#L70
if it will not work then please try setting
margin
because i think i tried that solution..
from sneaker.
Closing issue for now, if anyone will face the same issue even after trying my solution, then fill free to open this again
from sneaker.
Related Issues (20)
- Supports padding and margin. HOT 2
- Runtime bug and crash app HOT 3
- How to change Text color? HOT 2
- iOS fork? HOT 1
- Sneaker doesn't appear when statusbar is translucent HOT 4
- Error Message Sneaker stays on the screen, doesn't disappear automatically
- [BUG] When activity is closed, and sneaker is visible..the activity crashes HOT 2
- Pre-Lollipop visibility issue
- OnSneakerDismissListener no response HOT 1
- Message Text always has a white background (see photo) HOT 1
- don't show text on api 23
- Doesn't appear on Android4.4
- Sneaker Position
- OnDismiss is called after few seconds
- How to change title and msg textSize? HOT 1
- Sneaker appear differently in activity and fragment HOT 1
- sneaker is not displaying top of the bottomSheet Dialog
- Could not resolve Sneaker in gradle
- custom view can not get focused
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 sneaker.