skydoves / androidribbon Goto Github PK
View Code? Open in Web Editor NEW:ribbon: A fancy and beautiful ribbon with shimmer effects for Android.
License: Apache License 2.0
:ribbon: A fancy and beautiful ribbon with shimmer effects for Android.
License: Apache License 2.0
Hi sir, I am using your library and its awesome. Currently I am facing issue with RibbonView Drawable tint is not working with SVG.
<com.skydoves.androidribbon.RibbonView android:id="@+id/rbView" android:layout_width="wrap_content" android:layout_height="@dimen/_33sdp" android:text="Active" android:textColor="@color/white" android:textSize="@dimen/_10ssp" app:ribbon_rotation="40" android:fontFamily="@font/montserrat_medium" app:ribbon_drawable="@drawable/ic_ban_horizontal" app:ribbon_ribbonRadius="@dimen/_4sdp" app:drawableTint="@color/colorBlue" />
here us the code that I am using.
Describe the Bug:
My Layout having CoordinatorLayout -> (In Top) AppBarLayout-> CollapsingToolbarLayout-> MaterialToolbar-> ConstraintLayout-> AppCompatEditText and RecyclerView inside CoordinatorLayout. Used ShimmerRibbonView in the RecyclerView Item. Whenever the keyboard opens for AppCompatEditText, the ShimmerRibbonView is moves toward left
Expected Behavior:
ShimmerRibbonView should not move.
Is your feature request related to a problem?
A clear and concise description of what the problem is.
Describe the solution you'd like:
A clear and concise description of what you want to happen.
Describe alternatives you've considered:
A clear description of any alternative solutions you've considered.
Please complete the following information:
Describe the Bug:
When using RibbonView in e.g. a RecyclerView, clicking on an item in the RecyclerView, and then returning to the RecyclerView after a few times the position of the ribbon will change.
The likely reason for this is a missing check in onLayout(changed: Boolean, ...)
whether the layout actually did change. Only then the rotation code should be applied which also changes x/y values of the View.
I'll provide a PR with a fix.
Expected Behavior:
Postition of the ribbon always stays stable.
Hi,
I have used ShimmerRibbonView in recyclerview and the parent is constraint layout. In UI Editor and app deployed, view working good. But after navigating to a new Activity by clicking on the card where ShimmerRibbonView is placed, returning back to the current activity view automatically positions itself down. If tried three times, each time view goes down to its height. I tried to fix it by placing it in a container with some width and height even though, view appears to be resizing itself. Adapter was not refreshed at that time onResume().
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.