Wish FAB (FloatingActionButton)

woniol

Active Member
Licensed User
Longtime User
That was fast, thank You very much.
I'm going to test right now.
 

woniol

Active Member
Licensed User
Longtime User
Ups, I get this
B4X:
java.lang.RuntimeException: Unable to start activity ComponentInfo{de.amberhome.fabscrollview/de.amberhome.fabscrollview.main}: android.view.InflateException: Binary XML file line #30: Error inflating class com.android.internal.widget.ActionBarView


    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2059)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
    at android.app.ActivityThread.access$600(ActivityThread.java:130)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:137)
    at android.app.ActivityThread.main(ActivityThread.java:4745)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:511)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
    at dalvik.system.NativeStart.main(Native Method)
Caused by: android.view.InflateException: Binary XML file line #30: Error inflating class com.android.internal.widget.ActionBarView
    at android.view.LayoutInflater.createView(LayoutInflater.java:613)
    at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)
    at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
    at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
    at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
    at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
    at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
    at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:2784)
    at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:2844)
    at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:271)
    at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:265)
    at android.app.Activity.setContentView(Activity.java:1887)
    at de.amberhome.fabscrollview.main.onCreate(main.java:57)
    at android.app.Activity.performCreate(Activity.java:5008)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
    ... 11 more
Caused by: java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Constructor.constructNative(Native Method)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
    at android.view.LayoutInflater.createView(LayoutInflater.java:587)
    ... 26 more
Caused by: android.view.InflateException: Binary XML file line #36: Error inflating class android.widget.TextView
    at android.view.LayoutInflater.createView(LayoutInflater.java:613)
    at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
    at android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)
    at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
    at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
    at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
    at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
    at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
    at com.android.internal.widget.ActionBarView.initTitle(ActionBarView.java:763)
    at com.android.internal.widget.ActionBarView.setDisplayOptions(ActionBarView.java:596)
    at com.android.internal.widget.ActionBarView.<init>(ActionBarView.java:238)
    ... 29 more
Caused by: java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Constructor.constructNative(Native Method)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
    at android.view.LayoutInflater.createView(LayoutInflater.java:587)
    ... 39 more
Caused by: java.lang.UnsupportedOperationException: Can't convert to color: type=0x2
    at android.content.res.TypedArray.getColor(TypedArray.java:326)
    at android.widget.TextView.<init>(TextView.java:499)
    at android.widget.TextView.<init>(TextView.java:442)


    ... 42 more
Message longer than Log limit (4000). Message was truncated.
while trying to run the example on emulator (Android 4.1)
Do you have any idea what am i doing wrong?
 
Top