Shout out to users of my ‘App Drawer’ script:

Shout out to users of my ‘App Drawer’ script:

I noticed that the way I hacked into Lightnings menu fails because of the new Layout. Better don’t do long taps…

Shout out to users of my ‘MultiTool’ script:

I am aware of several bugs in the scripts and the other category, where I don’t know exactly how they are caused. I hope I can update soon.

]]>

10 Commentsto Shout out to users of my ‘App Drawer’ script:

  1. Anonymous says:

    < ![CDATA[

    Thanks for the notice.

    ]]>

  2. Anonymous says:

    < ![CDATA[

    I don’t know whether this would work:


    var context = LL.getContext();


    var pkg = context.getPackageName();


    var rsrc = context.getResources();


    var id = rsrc.getIdentifer(“bubble_content”, “id”,  pkg);


    var value = rsrc.getInteger(id);


    var view = your_decor_view.findViewById(value);

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Pierre Hébert​ if it works it would be definitely a more stable solution than my current one. If not, I know how to fix the current one. 

    ]]>

  4. Anonymous says:

    < ![CDATA[

    The issue is that the structure may change again (although I don’t think in a near future). And if ir works I can send you the layout with ids, this would be easier for you 😉

    ]]>

  5. Anonymous says:

    < ![CDATA[

    Pierre Hébert


    var context = LL.getContext();


    var pkg = context.getPackageName();


    var rsrc = context.getResources();


    var id = rsrc.getIdentifier(“bubble_content”, “id”,  pkg);


    var menu =context.getWindow().getDecorView().findViewById(id);



    ↑ working code. Thanks!

    ]]>

  6. Anonymous says:

    < ![CDATA[

    Good!

    ]]>

  7. Anonymous says:

    < ![CDATA[

    If you need more ids, the whole popup menu structure is currently the following. Sorry if some ids are a bit encoded…




           android:id=”@+id/bubble”


           android:layout_width=”match_parent”


           android:layout_height=”match_parent”


           android:elevation=”9dp”>



           


                android:layout_width=”wrap_content”


                android:layout_height=”wrap_content”


                style=”@style/bubble_bg”>


               


                    android:layout_width=”wrap_content”


                    android:layout_height=”wrap_content”


                    android:orientation=”vertical” >



                   


                        android:id=”@+id/bbl_btns”


                        android:layout_width=”wrap_content”


                        android:layout_height=”wrap_content”


                        android:orientation=”vertical”>


                       


                            android:id=”@+id/bbl_ttl”


                            android:layout_width=”match_parent”


                            android:layout_height=”wrap_content”


                            style=”@style/bbl_ttl”/>


                       


                            android:layout_width=”match_parent”


                            android:layout_height=”1px”


                            android:background=”@color/color_primary”/>


                       


                            android:layout_width=”match_parent”


                            android:layout_height=”wrap_content”


                            android:orientation=”horizontal”


                            android:weightSum=”3″>


                           


                       


                            android:layout_width=”match_parent”


                            android:layout_height=”1px”


                            android:background=”@color/color_primary”/>


                   


                   


                        android:id=”@+id/bubble_content”


                        android:layout_width=”wrap_content”


                        android:layout_height=”wrap_content”


                        android:orientation=”vertical” />


               


           



           


                android:layout_width=”wrap_content”


                android:layout_height=”wrap_content”


                style=”@style/bubble_arrow_down_bg”/>



           


                android:layout_width=”wrap_content”


                android:layout_height=”wrap_content”


                style=”@style/bubble_arrow_up_bg”/>



       

    ]]>

  8. Anonymous says:

    < ![CDATA[

    Is there a fully working script that fixes the long tap problem?

    ]]>

  9. Anonymous says:

    < ![CDATA[

    Yes, the version in the play store has that problem fixed.Brian Houghton

    ]]>

  10. Anonymous says:

    < ![CDATA[

    Thanks!

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *