alexkolpa / fab-toolbar Goto Github PK
View Code? Open in Web Editor NEWImplementing Google's new material design FAB toolbar
License: MIT License
Implementing Google's new material design FAB toolbar
License: MIT License
Error:A problem occurred configuring project ':app'.
Could not resolve all dependencies for configuration ':app:_debugCompile'.
Could not find com.github.ozodrukh:CircularReveal:1.0.5.
Searched in the following locations:
https://jcenter.bintray.com/com/github/ozodrukh/CircularReveal/1.0.5/CircularReveal-1.0.5.pom
https://jcenter.bintray.com/com/github/ozodrukh/CircularReveal/1.0.5/CircularReveal-1.0.5.jar
file:/Applications/sdk/extras/android/m2repository/com/github/ozodrukh/CircularReveal/1.0.5/CircularReveal-1.0.5.pom
file:/Applications/sdk/extras/android/m2repository/com/github/ozodrukh/CircularReveal/1.0.5/CircularReveal-1.0.5.jar
file:/Applications/sdk/extras/google/m2repository/com/github/ozodrukh/CircularReveal/1.0.5/CircularReveal-1.0.5.pom
file:/Applications/sdk/extras/google/m2repository/com/github/ozodrukh/CircularReveal/1.0.5/CircularReveal-1.0.5.jar
Required by:
Crumbs:app:unspecified > com.github.alexkolpa:floating-action-button-toolbar:0.5.1
Unable to sync with Gradle because of this error
I get "Could not find com.github.ozodrukh:CircularReveal:1.0.5." when trying to build with gradle. I did add the maven { url "https://jitpack.io" } into gradle repositories tag though.
When I compile the library in sdk 22 , it's ok .
But in sdk 23 I can't compile it.
what should I do ?
tnx
I just started using your fantastic library, but I am unable to compiler my app after I started using your library.
The error I get is from DexManager because my app is already using the CircuarReveal library and after using your library there seems to be a conflict.
What should I do to resolve this?
In usage example, this line of XML code causes the mentioned exception:
tb:tb_animation_duration="500"
when converted to the following due to attribute name mismatch
tb:tb_anim_duration="500"
causes the following exception
java.lang.UnsupportedOperationException: Can't convert to integer: type=0x4
at android.content.res.TypedArray.getInteger(TypedArray.java:367)
at com.github.alexkolpa.fabtoolbar.FabToolbar.loadAttributes(FabToolbar.java:67)
Added to build.gradle as follows:
dependencies {
...
compile 'com.github.alexkolpa:floating-action-button-toolbar:0.5.0'
...
}
In library:
attrs.xml appears to define tb_anim_duration as float.
in FabToolbar.java, TypedArray.getInteger() is called.
Suggested fix:
please change attrs.xml > tb_anim_duration to "integer"
Hello,
could it be possible to make the expanding area resizable? When i put there more complex layout i just dont respect its height.
In my case multile lines of icons.
@AlexKolpa
How do we change the color of the button as well as the layout ? I have tried tb:backgroundTint="@color/orange" but it's not working, its not helping !
<com.github.alexkolpa.fabtoolbar.FabToolbar
android:id="@+id/fab_toolbar"
android:layout_alignParentBottom="true"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
tb:tb_anim_duration="500"
tb:tb_button_gravity="end"
tb:backgroundTint="@color/orange"
tb:tb_container_gravity="center"
>
<ImageView
android:id="@+id/attach"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/plus_white"
android:scaleType="centerInside"/>
<!-- More buttons can be added here -->
</com.github.alexkolpa.fabtoolbar.FabToolbar>
I want to resize the picture,because you can't use weights,and Margin doesn't work。
Is there any way you can adjust it?
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.