-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FAB sides are not perfectly round #29
Comments
Hi wingoku, Please specify the emulator / device details where you have faced with this issue Also,
|
Nexus 5 Android 5.1.1 I have tried by removing the text properties as well but same issue. |
wingoku, I couldn't reproduce the issue neither on the HAX x86_x64 nor on the amerabi-v7 emulator with API 22 There are no any cut offs nor not smooth animation. Please provide the full layout XML configuration and the initialization code for this layout.
|
Scale_up_anim.xml
|
Please provide the full XML layout |
I can but there is no point in providing a RelativeLayout enclosing this FAB only. |
The code you are using contains no issues, I checked it on emulator with API 22 and no issues were found I can't test it on device, but I suppose the behavior would be the same. My assumption is that the issue is somewhere within your layout / margins configuration. As a recommendation, you may clone the project, build and deploy the sample application and check it on your device - in this case you can check whether everything is configured properly. Without having the issue detected It can't be proved as an issue and thus it can't be fixed. |
Before I've used this library I used another FAB library and the issue of a not round button would occur if I used a color with transparency. If I switch back to a solid color it would look round again. Could that be the problem? |
I'm not sure wingoku, I can build the sample project demo and send you an .apk file. |
yeah sure. |
wingoku, I've built the sample application for you. Please, provide you e-mail address or e-mail me |
Plus the animations on Lollipop aren't smooth. The animation on the FAB doesn't seem to play. |
I've sent you the demo sample apk As for animations on Lollipop - I have a Lollipop device and I do not have any problems with them. It would be nice if you could record a video / take screenshot. The animation on the FAB doesn't seem to play - please provide the steps to reproduce |
@shell-software Sorry for the late reply. The sample apk seems to be working fine. I don't why is it behaving like this. I have copied the xml code from your repo's readme. I'll do further testing and will let you know about the progress. |
@shell-software I need help regarding packaging the dependencies inside the .aar file. I have a library project "A" which depends on Shell-Software FAB library. When I use my library project "A" inside my app, currenly I have to add the FAB library in dependency section of the app. How can I package the FAB library in my library project "A" so that when I add my library "A" in the app, I don't have to add the dependency "Shell-Software FAB" in the app. |
Hi wingoku, Seems that the problem is within your layout or smth like that. If you need my support let me know. As for dependencies the situation is not clear for me, because I also faced with this problem recenlty and currently didn't find any solution. As far as I know you can set the transitive=true when you build your app project like it was suggested here When I faced with it, in my case project A was a module of the entire application and had a transitive libraries. In my main application I used this code: dependencies {
compile project(':fab')
} And when I faced with the problem of transitive dependencies in fab library, I couldn't resolve it. I searched it and it seemed that there is no such possibility. So I had to add it directly as a local library |
Yep I already tried with transitive = true, but that messed up the class path for the class and I couldn't reference any class from .aar. It seems like I have to set the proper hiearchy of the dependencies for it to work. |
The problem is that android gradle plugin does not have a runtime scope for dependencies like java gradle plugin has. So, as a result they are not included into aar file In your case, however you can create a multimodule project in this way: -- root in build.gradle file for library module A specify the dependency on ActionButton library: dependencies {
compile 'com.github.shell-software:fab:1.1.0'
} in build.gradle file for application project specify the dependency on project A: dependencies {
compile project(':library_module_A')
} in settings.gradle file: Please check this and let me know |
Any updates upon this? |
@shell-software Thank you very much :) Though I have dropped the transitive dependency thing for the moment. I'll catch up with you soon on other things :) |
Great. Best wishes,
|
I have used the default implementation of your library's FAB, however the FAB is not perfectly round. The left & top side of the FAB is cut off - not round. Any work arounds to resolve this.
The text was updated successfully, but these errors were encountered: