LoadingButtonAndroid icon indicating copy to clipboard operation
LoadingButtonAndroid copied to clipboard

Not showing up inside fragment

Open zulkarnainshah opened this issue 7 years ago • 4 comments

I put the button xml inside a FrameLayout since I am using fragments. It shows up in the Android Studio Preview window but doesn't show up in emulator or actual device. However when I move this to activity layout file with a CoordinatorLayout parent, it shows up there.

zulkarnainshah avatar Jan 28 '18 10:01 zulkarnainshah

Hi @zulkarnainshah. I am going to check it.

leandroBorgesFerreira avatar Jan 29 '18 15:01 leandroBorgesFerreira

Hi @zulkarnainshah. I just tested in my computer and it work just fine inside a fragment. I believe the problem is in your code

leandroBorgesFerreira avatar Feb 08 '18 10:02 leandroBorgesFerreira

When I reference the button in java code using findViewById , the button does't show up. when i remove findViewById , the button become visible

shakir915 avatar Feb 17 '18 05:02 shakir915

@ShakirEmstell I will try to reproduce this. Could you provide the code with the error in a public repository?

leandroBorgesFerreira avatar Feb 17 '18 14:02 leandroBorgesFerreira