Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Button not visible #5

Closed
virajt71 opened this issue Apr 27, 2017 · 8 comments
Closed

Button not visible #5

virajt71 opened this issue Apr 27, 2017 · 8 comments
Labels

Comments

@virajt71
Copy link

virajt71 commented Apr 27, 2017

Hi...
I have converted MainActivity.kt file to java file and its working fine in main layout. Its showing me the button in main layout(xml) . But when i am putting it in floating widget file(xml) it does not show me the button. It is only showing me outer border. I tried the commander you have given in the description for colour change of the buttons but it didn't work.

screenshot_20170427-221532

@virajt71 virajt71 changed the title Button no visible Button not visible Apr 28, 2017
@DanielMartinus
Copy link
Owner

DanielMartinus commented May 4, 2017

It seems the draw method is not called correctly here to initiate the measurement and thus incorrectly drawing of the StepperCounter. I would need to investigate this.

Thank you for pointing this out

@virajt71
Copy link
Author

any luck in solving it??

@DanielMartinus
Copy link
Owner

DanielMartinus commented May 15, 2017

@virajt71 could you share an example project and reproduce the problem? I'm not able to reproduce. Open a public repo in Github or anything where I can clone the code and try to reproduce it.

@virajt71
Copy link
Author

Hi....
I have added files to public repo. https://github.com/virajt71/widget

@DanielMartinus
Copy link
Owner

DanielMartinus commented May 15, 2017

@virajt71 thank you for the sample project. I was able to detect what was going wrong. See #7 for more information.

To use the new version including the fix for the bug you've reported use the following version:
compile 'com.github.DanielMartinus:Stepper-Touch:0.4'

@virajt71
Copy link
Author

@DanielMartinus Thank you for fixing the issue.

@Kobanister
Copy link

Kobanister commented May 26, 2017

@DanielMartinus Hi! I have the same issue even on Stepper-Touch v0.4. But i see this bug in a fragment, not in a minimized view. Thanks! And why you deleted the stepperTouch.enableSideTap(true); in v0.5?

screenshot_2017-05-26-09-34-27-263 1

@DanielMartinus
Copy link
Owner

DanielMartinus commented May 26, 2017

@Kobanister

  1. You are still experiencing the same issue? So you are saying its not fixed?
  2. stepperTouch.enableSideTap(true); Will be released with the next version. It hasn't been tested enough yet. I have to look at the implementation again to see if I think its the correct way to do it. If you want to test out enableSideTap feature you can check out this branch: Allow interaction with both sides of the StepperTouch #6 and put that in your project

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants