alexandrius / accordion-swipe-layout Goto Github PK
View Code? Open in Web Editor NEWAccordion Swipe Layout for Android
Accordion Swipe Layout for Android
The attribute "layout" clashes with the attribute "layout" of the android support library.
Could it be renamed to something more specific like foregroundLayout, baseItemLayout...
Hi,
I see that this library is available in the maven repository under Apache License.
Can the source code here also be used according to the Apache License?
Thanks!
Hi,
Thanks for nice work.
I used swipelayout in LinearLayout, and it not at all visible in screen.
Is this swipe Layout can be use in other layout?
Please let me know on it.
Thank you.
Does not work! Just not working! Everything is done correctly, but it couldn't help it.
Hi! I know that there are two methods for this purpose like setRightIcons(int[] res) and setLeftIcons(int[] res), but it seems to me they doesn't work properly. I tried to use them in OnBindViewHolder(ViewHolder holder, int position), but they didn't work. How can I set drawables programmatically?
Hey man, really cool library, one of the very few that actually work.
I have one question tho. How can I change the icons/colors in the runtime? Changing them in the recycler adapter did nothing.
Thank you in advance!
Event is not generated correctly in Android 7. It is necessary to tap several times in the same item in order to generate the event.
Hello,
Thank you for great library, please don't throw this project.
I just want to ask you about adding ability to listen of changing swipe states - onExpandRight listener or something like that.
Hi!
My problem is, that I want to have a left-swipe and a right-swipe menu.
In each menu there are 3 different items.
When I swipe from right to left, all elements are shown beside each other like I want it to be.
When I swipe from left to right, the items are overlapping or just two items are showing at the same time (dependend how hard I swipe).
When I exchange the array values, the same behaviour is happening, so it is not dependent on the content of the items, but the direction of the swipe.
I set the properties:
app:canFullSwipeFromLeft="false"
app:canFullSwipeFromRight="false"
Does anyone have an idea, why that is?
Thank you.
<?xml version="1.0" encoding="utf-8"?> <com.alexandrius.accordionswipelayout.library.SwipeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/xxx" android:layout_width="match_parent" android:layout_height="wrap_content" app:mainItemLayout="@layout/item_foreground" app:leftItemColors="@array/swipe_left_colors" app:leftItemIcons="@array/swipe_left_drawables" app:leftStrings="@array/swipe_left_strings" app:rightItemColors="@array/swipe_right_colors" app:rightItemIcons="@array/swipe_right_drawables" app:rightStrings="@array/swipe_right_strings" app:swipeItemWidth="80dp" app:iconSize="40dp" app:canFullSwipeFromLeft="false" app:canFullSwipeFromRight="false" />
Hello,
Can I make buttons without icons? Now I must set drawables, set iconSize to 0dp and textTopMargin to 0dp, right? It would be great if I can just not to set drawables in that case.
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.