B4A Library Iconify (Button, Label, Togglebutton, Toast with IconFont Icons)

This is a wrap for this Github Project: Iconify2
It is basically the same as my wrap for the IconicFontEngine but it has some cool advantages.

More exactly this wrap is a mix out of Iconify2 and PrettyToast in one Library.

Note that you need B4A 6+ to use the Library as the provided custom views used the new CustomViewProperties. Additional the lib now uses maven artifacts.

androids.png


Installation: Download the library and the two fonts-archive. Extract all files to your Additional libs folder.
1st zip: jar and xml of the lib.
2nd and 3rd zip. the fonts.

Iconify
Author:
DonManfred (wrapper)
Version: 2.22
  • EntypoModule
    Methods:
    • Initialize
    • IsInitialized As Boolean
    Properties:
    • Characters As Map [read only]
  • FontAwesomeModule
    Methods:
    • Initialize
    • IsInitialized As Boolean
    Properties:
    • Characters As Map [read only]
  • IconButton
    Fields:
    • ba As BA
    Methods:
    • 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)
    Properties:
    • Background As Drawable
    • Color As Int [write only]
    • Enabled As Boolean
    • Height As Int
    • Left As Int
    • Parent As Object [read only]
    • Tag As Object
    • Text As CharSequence [write only]
    • TextColor As Int [write only]
    • TextSize As Int [write only]
    • Top As Int
    • Visible As Boolean
    • Width As Int
  • IconDrawable
    Methods:
    • Initialize (icf As Iconify, icon As String) As IconDrawableWrapper
    • IsInitialized As Boolean
    • actionBarSize As IconDrawableWrapper
      Set the size of this icon to the standard Android ActionBar.
      Return type: @return:The current IconDrawable for chaining.
    • alpha (alpha As Int) As IconDrawableWrapper
      Set the alpha of this drawable.
      alpha: The alpha, between 0 (transparent) and 255 (opaque).
      Return type: @return:The current IconDrawable for chaining.
    • color (color As Int) As IconDrawableWrapper
      Set the color of the drawable.
      color: The color, usually from android.graphics.Color or 0xFF012345.
      Return type: @return:The current IconDrawable for chaining.
    • setState (stateSet() As Int) As Boolean
    • size (size As Int) As IconDrawableWrapper
      Set the size of the drawable.
      size: The size in density-independent pixels (dp).
      Return type: @return:The current IconDrawable for chaining.
  • IconTextView
    Fields:
    • ba As BA
    Methods:
    • 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)
    Properties:
    • Background As Drawable
    • Color As Int [write only]
    • Enabled As Boolean
    • Height As Int
    • Left As Int
    • Parent As Object [read only]
    • Tag As Object
    • Text As CharSequence [write only]
    • TextColor As Int [write only]
    • TextSize As Int [write only]
    • Top As Int
    • Visible As Boolean
    • Width As Int
  • IconToggleButton
    Fields:
    • ba As BA
    Methods:
    • 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)
    Properties:
    • Background As Drawable
    • Color As Int [write only]
    • Enabled As Boolean
    • Height As Int
    • Left As Int
    • Parent As Object [read only]
    • Tag As Object
    • Text As CharSequence [write only]
    • TextColor As Int [write only]
    • TextOff As CharSequence [write only]
    • TextOn As CharSequence [write only]
    • Top As Int
    • Visible As Boolean
    • Width As Int
  • Iconify
    Methods:
    • Initialize
    • IsInitialized As Boolean
    • addIcons (textViews() As TextView)
      Replace "{}" tags in the given text views with actual icons, requesting the IconFontDescriptors
      one after the others.<p>
      <strong>This is a one time call.</strong> If you call {@link TextView#setText(CharSequence)} after this,
      you'll need to call it again.
      textViews: The TextView(s) to enhance.
    • with (iconFontDescriptor As IconFontDescriptor) As IconifyInitializer
      Add support for a new icon font.
      iconFontDescriptor: The IconDescriptor holding the ttf file reference and its mappings.
      Return type: @return:An initializer instance for chain calls.
  • IoniconsModule
    Methods:
    • Initialize
    • IsInitialized As Boolean
    Properties:
    • Characters As Map [read only]
  • MaterialCommunityModule
    Methods:
    • Initialize
    • IsInitialized As Boolean
    Properties:
    • Characters As Map [read only]
  • MaterialModule
    Methods:
    • Initialize
    • IsInitialized As Boolean
    Properties:
    • Characters As Map [read only]
  • MeteoconsModule
    Methods:
    • Initialize
    • IsInitialized As Boolean
    Properties:
    • Characters As Map [read only]
  • PrettyToast
    Methods:
    • Initialize
    • IsInitialized As Boolean
    • showDim (msg As String)
    • showDim2 (msg As String, leftIcon As String)
    • showDim3 (msg As String, leftIcon As String, rightIcon As String)
    • showDim4 (msg As String, leftIcon As String, rightIcon As String, duration As Int)
    • showError (msg As String)
    • showError2 (msg As String, leftIcon As String)
    • showError3 (msg As String, leftIcon As String, rightIcon As String)
    • showError4 (msg As String, leftIcon As String, rightIcon As String, duration As Int)
    • showInfo (msg As String)
    • showInfo2 (msg As String, leftIcon As String)
    • showInfo3 (msg As String, leftIcon As String, rightIcon As String)
    • showInfo4 (msg As String, leftIcon As String, rightIcon As String, duration As Int)
    • showSuccess (msg As String)
    • showSuccess2 (msg As String, leftIcon As String)
    • showSuccess3 (msg As String, leftIcon As String, rightIcon As String)
    • showSuccess4 (msg As String, leftIcon As String, rightIcon As String, duration As Int)
    • showWarning (msg As String)
    • showWarning2 (msg As String, leftIcon As String)
    • showWarning3 (msg As String, leftIcon As String, rightIcon As String)
    • showWarning4 (msg As String, leftIcon As String, rightIcon As String, duration As Int)
    Properties:
    • Gravity As Gravity [write only]
    • Text As String [write only]
  • PrettyToastBuilder
    Methods:
    • Initialize As PrettyToastBuilderWrapper
    • IsInitialized As Boolean
    • build As PrettyToast
    • withGravity (gravity As Gravity) As PrettyToastBuilderWrapper
  • SimpleLineIconsModule
    Methods:
    • Initialize
    • IsInitialized As Boolean
    Properties:
    • Characters As Map [read only]
  • ToastGravity
    Methods:
    • Initialize (gravity As Int, XOffset As Int, YOffset As Int)
    • IsInitialized As Boolean
    Properties:
    • Gravity As Int
    • XOffset As Int
    • YOffset As Int
  • TypiconsModule
    Methods:
    • Initialize
    • IsInitialized As Boolean
    Properties:
    • Characters As Map [read only]
  • WeathericonsModule
    Methods:
    • Initialize
    • IsInitialized As Boolean
    Properties:
    • Characters As Map [read only]


Sample Code
B4X:
    IconButton1.Text = "I {fa-heart-o 200% #ff0000} to {fa-code} on {fa-android 400% spin #ccddaa}"
    IconTextView1.Text = "I {fa-heart-o spin 32dp #ff0000} to {fa-code} on {fa-android 400% #ccddaa}"
    IconToggleButton1.Text = "{ion-social-github 675% #00cc00}"

Iconify.png




If you want to donate for my work building the wrapper you can do it here:
 

Attachments

  • spinning.gif
    spinning.gif
    411.8 KB · Views: 543
  • IconifyEx.zip
    23.9 KB · Views: 657
  • libIconifyV1.0.0.zip
    198 KB · Views: 501
  • IconifyV1.1.zip
    199.7 KB · Views: 400
  • IconifyV1.11.zip
    199.8 KB · Views: 402
  • IconifyV2.22.zip
    44.8 KB · Views: 564
  • IconifyFonts1.zip
    372 KB · Views: 532
  • IconifyFonts2.zip
    326.1 KB · Views: 579
Last edited:

Mark Hollingworth

Member
Licensed User
Longtime User
Should we be able to access the Down and Up events for the IconButton?

(suddenly I am finding many more uses for this library :))
 

devpialkt

Member
Licensed User
Longtime User
This is a wrap for this Github Project: Iconify2
It is basically the same as my wrap for the IconicFontEngine but it has some cool advantages.

More exactly this wrap is a mix out of Iconify2 and PrettyToast in one Library.

Note that you need B4A 6+ to use the Library as the provided custom views used the new CustomViewProperties. Additional the lib now uses maven artifacts.

View attachment 42385

Installation: Download the library and the two fonts-archive. Extract all files to your Additional libs folder.
1st zip: jar and xml of the lib.
2nd and 3rd zip. the fonts.

Iconify
Author:
DonManfred (wrapper)
Version: 2.22
  • EntypoModule
    Methods:
    • Initialize
    • IsInitialized As Boolean
    Properties:
    • Characters As Map [read only]
  • FontAwesomeModule
    Methods:
    • Initialize
    • IsInitialized As Boolean
    Properties:
    • Characters As Map [read only]
  • IconButton
    Fields:
    • ba As BA
    Methods:
    • 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)
    Properties:
    • Background As Drawable
    • Color As Int [write only]
    • Enabled As Boolean
    • Height As Int
    • Left As Int
    • Parent As Object [read only]
    • Tag As Object
    • Text As CharSequence [write only]
    • TextColor As Int [write only]
    • TextSize As Int [write only]
    • Top As Int
    • Visible As Boolean
    • Width As Int
  • IconDrawable
    Methods:
    • Initialize (icf As Iconify, icon As String) As IconDrawableWrapper
    • IsInitialized As Boolean
    • actionBarSize As IconDrawableWrapper
      Set the size of this icon to the standard Android ActionBar.
      Return type: @return:The current IconDrawable for chaining.
    • alpha (alpha As Int) As IconDrawableWrapper
      Set the alpha of this drawable.
      alpha: The alpha, between 0 (transparent) and 255 (opaque).
      Return type: @return:The current IconDrawable for chaining.
    • color (color As Int) As IconDrawableWrapper
      Set the color of the drawable.
      color: The color, usually from android.graphics.Color or 0xFF012345.
      Return type: @return:The current IconDrawable for chaining.
    • setState (stateSet() As Int) As Boolean
    • size (size As Int) As IconDrawableWrapper
      Set the size of the drawable.
      size: The size in density-independent pixels (dp).
      Return type: @return:The current IconDrawable for chaining.
  • IconTextView
    Fields:
    • ba As BA
    Methods:
    • 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)
    Properties:
    • Background As Drawable
    • Color As Int [write only]
    • Enabled As Boolean
    • Height As Int
    • Left As Int
    • Parent As Object [read only]
    • Tag As Object
    • Text As CharSequence [write only]
    • TextColor As Int [write only]
    • TextSize As Int [write only]
    • Top As Int
    • Visible As Boolean
    • Width As Int
  • IconToggleButton
    Fields:
    • ba As BA
    Methods:
    • 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)
    Properties:
    • Background As Drawable
    • Color As Int [write only]
    • Enabled As Boolean
    • Height As Int
    • Left As Int
    • Parent As Object [read only]
    • Tag As Object
    • Text As CharSequence [write only]
    • TextColor As Int [write only]
    • TextOff As CharSequence [write only]
    • TextOn As CharSequence [write only]
    • Top As Int
    • Visible As Boolean
    • Width As Int
  • Iconify
    Methods:
    • Initialize
    • IsInitialized As Boolean
    • addIcons (textViews() As TextView)
      Replace "{}" tags in the given text views with actual icons, requesting the IconFontDescriptors
      one after the others.<p>
      <strong>This is a one time call.</strong> If you call {@link TextView#setText(CharSequence)} after this,
      you'll need to call it again.
      textViews: The TextView(s) to enhance.
    • with (iconFontDescriptor As IconFontDescriptor) As IconifyInitializer
      Add support for a new icon font.
      iconFontDescriptor: The IconDescriptor holding the ttf file reference and its mappings.
      Return type: @return:An initializer instance for chain calls.
  • IoniconsModule
    Methods:
    • Initialize
    • IsInitialized As Boolean
    Properties:
    • Characters As Map [read only]
  • MaterialCommunityModule
    Methods:
    • Initialize
    • IsInitialized As Boolean
    Properties:
    • Characters As Map [read only]
  • MaterialModule
    Methods:
    • Initialize
    • IsInitialized As Boolean
    Properties:
    • Characters As Map [read only]
  • MeteoconsModule
    Methods:
    • Initialize
    • IsInitialized As Boolean
    Properties:
    • Characters As Map [read only]
  • PrettyToast
    Methods:
    • Initialize
    • IsInitialized As Boolean
    • showDim (msg As String)
    • showDim2 (msg As String, leftIcon As String)
    • showDim3 (msg As String, leftIcon As String, rightIcon As String)
    • showDim4 (msg As String, leftIcon As String, rightIcon As String, duration As Int)
    • showError (msg As String)
    • showError2 (msg As String, leftIcon As String)
    • showError3 (msg As String, leftIcon As String, rightIcon As String)
    • showError4 (msg As String, leftIcon As String, rightIcon As String, duration As Int)
    • showInfo (msg As String)
    • showInfo2 (msg As String, leftIcon As String)
    • showInfo3 (msg As String, leftIcon As String, rightIcon As String)
    • showInfo4 (msg As String, leftIcon As String, rightIcon As String, duration As Int)
    • showSuccess (msg As String)
    • showSuccess2 (msg As String, leftIcon As String)
    • showSuccess3 (msg As String, leftIcon As String, rightIcon As String)
    • showSuccess4 (msg As String, leftIcon As String, rightIcon As String, duration As Int)
    • showWarning (msg As String)
    • showWarning2 (msg As String, leftIcon As String)
    • showWarning3 (msg As String, leftIcon As String, rightIcon As String)
    • showWarning4 (msg As String, leftIcon As String, rightIcon As String, duration As Int)
    Properties:
    • Gravity As Gravity [write only]
    • Text As String [write only]
  • PrettyToastBuilder
    Methods:
    • Initialize As PrettyToastBuilderWrapper
    • IsInitialized As Boolean
    • build As PrettyToast
    • withGravity (gravity As Gravity) As PrettyToastBuilderWrapper
  • SimpleLineIconsModule
    Methods:
    • Initialize
    • IsInitialized As Boolean
    Properties:
    • Characters As Map [read only]
  • ToastGravity
    Methods:
    • Initialize (gravity As Int, XOffset As Int, YOffset As Int)
    • IsInitialized As Boolean
    Properties:
    • Gravity As Int
    • XOffset As Int
    • YOffset As Int
  • TypiconsModule
    Methods:
    • Initialize
    • IsInitialized As Boolean
    Properties:
    • Characters As Map [read only]
  • WeathericonsModule
    Methods:
    • Initialize
    • IsInitialized As Boolean
    Properties:
    • Characters As Map [read only]


Sample Code
B4X:
    IconButton1.Text = "I {fa-heart-o 200% #ff0000} to {fa-code} on {fa-android 400% spin #ccddaa}"
    IconTextView1.Text = "I {fa-heart-o spin 32dp #ff0000} to {fa-code} on {fa-android 400% #ccddaa}"
    IconToggleButton1.Text = "{ion-social-github 675% #00cc00}"

Iconify.png




If you want to donate for my work building the wrapper you can do it here:



confused :( .. which the last library update (Iconify.jar)

too many zip .. :D
 

DonManfred

Expert
Licensed User
Longtime User
The most are updates... just use the newest one...

iconify0058.png

You need:
- IconifyEx.zip (The Example)
- IconifyV2.22.zip (the libfiles; put them all in additional libs)
- IconifyFonts1.zip (fontfiles. put them all in additional libs)
- IconifyFonst2.zip (more fontfiles. put them all in additional libs)
 

devpialkt

Member
Licensed User
Longtime User
The most are updates... just use the newest one...

iconify0058.png

You need:
- IconifyEx.zip (The Example)
- IconifyV2.22.zip (the libfiles; put them all in additional libs)
- IconifyFonts1.zip (fontfiles. put them all in additional libs)
- IconifyFonst2.zip (more fontfiles. put them all in additional libs)

problem here :
conflict ???

Ld2JeTJ.png
 

inakigarm

Well-Known Member
Licensed User
Longtime User
@devpialkt, it seems that new version of library has new methods on some objects (you can see it on IDE help as you write the code)

B4X:
Sub Activity_Create(FirstTime As Boolean)
    'Do not forget to load the layout file created with the visual designer. For example:
    icfy.Initialize()
    Entypo.Initialize
    icfy.with(Entypo)

    FontAwesome.Initialize
    icfy.with(FontAwesome)

    Ionicons.Initialize
    icfy.with(Ionicons)

    MaterialCommunity.Initialize
    icfy.with(MaterialCommunity)

    Material.Initialize
    icfy.with(Material)

    Meteocons.Initialize
    icfy.with(Meteocons)

    SimpleLineIcons.Initialize
    icfy.with(SimpleLineIcons)

    Typicons.Initialize
    icfy.with(Typicons)

    Weathericons.Initialize
    icfy.with(Weathericons)




    Activity.LoadLayout("Layout1")

    IconButton1.Text = "I {fa-heart-o 200% #ff0000} to {fa-code} on {fa-android 400% spin #ccddaa}"
    IconTextView1.Text = "I {fa-heart-o spin 32dp #ff0000} to {fa-code} on {fa-android 400% #ccddaa}"
    IconToggleButton1.Text = "{ion-social-github 675% #00cc00}"

    Dim g As ToastGravity
    g.Initialize(Gravity.TOP,10dip,10dip)

    toastbuilder.Initialize().withGravity(g)

    bar.Initialize("bar")
    bar.NavigationMode = bar.NAVIGATION_MODE_STANDARD 'change to list to see the other mode

    bar.Subtitle = "This is the subtitle"
    Activity.Title = "This is the title"
    'Activity.AddMenuItem3("MenuItem", "mi", LoadBitmap(File.DirAssets, "ic_small.png"), True)





    bar.NavigationMode = bar.NAVIGATION_MODE_STANDARD
    Dim dbl As IconDrawable
    dbl.Initialize ("fa-android")
    dbl.actionBarSize
    dbl.color(Colors.Green)



    ImageView1.Background = dbl

    Dim bmp As Bitmap
    bmp.InitializeMutable(50dip,50dip)
    
    Dim dbl As IconDrawable
    dbl.Initialize ("fa-code")
    dbl.actionBarSize
    dbl.color(Colors.Yellow)


    Dim r As Rect
    r.Initialize(0,0,50dip,50dip)
    Dim c As Canvas
    c.Initialize2(bmp)
    c.DrawDrawable(dbl,r)

    bar.Icon = bmp


End Sub

Also, you'll have to modify toast_custom.xml on Resources/layout and delete or modify drawable/ukraineflag (I've modified with android:src="@drawable/ok"/ to work)

Great job Don !
 
Last edited:

Rusty

Well-Known Member
Licensed User
Longtime User
I'm trying to use your example and have created a ukraine_flag.png, which was missing.
It compiles and then abends on the loadlayout.
I have edited and saved the layout (without changes) and it still aborts.
Total arena pages for JIT: 15
Could not find method android.support.v4.view.ViewCompat.isAttachedToWindow, referenced from method com.joanzapata.iconify.internal.HasOnViewAttachListener$HasOnViewAttachListenerDelegate.setOnViewAttachListener
VFY: unable to resolve static method 2081: Landroid/support/v4/view/ViewCompat;.isAttachedToWindow (Landroid/view/View;)Z
VFY: replacing opcode 0x71 at 0x0014
Error occurred on line: 83 (Main)
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:166)
at anywheresoftware.b4a.objects.ActivityWrapper.LoadLayout(ActivityWrapper.java:209)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:708)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:340)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:247)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:134)
at b4a.example.iconify.main.afterFirstLayout(main.java:102)
at b4a.example.iconify.main.access$000(main.java:17)
at b4a.example.iconify.main$WaitForLayout.run(main.java:80)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:149)
at android.app.ActivityThread.main(ActivityThread.java:5257)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:794)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:610)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invokeNative(Native Method)
Any suggestions?
 
Top