Sep 27, 2015 Replies: 6 HeartLayout Version: 1 HeartLayout Fields: ba As BA Methods: AddToParent (Parent As ViewGroup, left As Int, top As Int, width As Int, height As Int) BringToFront DesignerCreateView (base As PanelWrapper, lw As LabelWrapper, props As Map) Initialize (EventName As String) Invalidate Invalidate2 (arg0 As Rect) Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int) IsInitialized As Boolean RemoveView RequestFocus As Boolean SendToBack SetBackgroundImage (arg0 As Bitmap) SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int) SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int) SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int) SetVisibleAnimated (arg0 As Int, arg1 As Boolean) addHeart (color As Int) clearAnimation Properties: Background As Drawable Color As Int [write only] Enabled As Boolean Height As Int Left As Int Tag As Object Top As Int Visible As Boolean Width As Int If you want to donate for my work building the class you can do it here: Attachments libHeartLayout.zip libHeartLayout.zip 13.3 KB · Views: 752 HeartLayoutEx.zip HeartLayoutEx.zip 11.5 KB · Views: 735 Click to expand...
HeartLayout Version: 1 HeartLayout Fields: ba As BA Methods: AddToParent (Parent As ViewGroup, left As Int, top As Int, width As Int, height As Int) BringToFront DesignerCreateView (base As PanelWrapper, lw As LabelWrapper, props As Map) Initialize (EventName As String) Invalidate Invalidate2 (arg0 As Rect) Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int) IsInitialized As Boolean RemoveView RequestFocus As Boolean SendToBack SetBackgroundImage (arg0 As Bitmap) SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int) SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int) SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int) SetVisibleAnimated (arg0 As Int, arg1 As Boolean) addHeart (color As Int) clearAnimation Properties: Background As Drawable Color As Int [write only] Enabled As Boolean Height As Int Left As Int Tag As Object Top As Int Visible As Boolean Width As Int If you want to donate for my work building the class you can do it here:
JonPM Well-Known Member Licensed User Longtime User Sep 27, 2015 #3 Nice. I don't have time to test right now but can the hearts be changed to any image/shape?
DonManfred Expert Licensed User Longtime User Sep 27, 2015 #4 1. You can replace the drawabled in the ressource folder 2. You can use custom ones if you know the resID of the new drawables (maybe using android Ressources)
1. You can replace the drawabled in the ressource folder 2. You can use custom ones if you know the resID of the new drawables (maybe using android Ressources)
koaunglay Member Licensed User Longtime User Jan 12, 2016 #5 DonManfred said: 1. You can replace the drawabled in the ressource folder 2. You can use custom ones if you know the resID of the new drawables (maybe using android Ressources) Click to expand... Hi! Can I use this lib for livewallpaper? If it can use, very very so lovely.
DonManfred said: 1. You can replace the drawabled in the ressource folder 2. You can use custom ones if you know the resID of the new drawables (maybe using android Ressources) Click to expand... Hi! Can I use this lib for livewallpaper? If it can use, very very so lovely.
DonManfred Expert Licensed User Longtime User Jan 12, 2016 #6 I dont know. I never did a livewallpaper