Does android native support items to Floating Action Button? -


i want create floating action button items picture. & add text beside item. picture taken google website. found libraries solve problem. this & this pretty curious android native design libraries. 1 have idea how make possible native library?

picture:

enter image description here

update: code written

 floatingactionbutton fab = (floatingactionbutton) findviewbyid(r.id.fab);     fab.setonclicklistener(new view.onclicklistener() {         @override         public void onclick(view view) {            // actions here          }     }); 

xml follows

    <android.support.design.widget.floatingactionbutton     android:id="@+id/fab"     android:layout_width="wrap_content"     android:layout_height="wrap_content"     android:layout_gravity="bottom|end"     android:layout_margin="@dimen/fab_margin"     android:src="@android:drawable/ic_dialog_email"     app:layout_behavior="com.alhikmah.weather360.utility.scrollawarefabbehavior" /> 

after finish searching , decide use floatingactionbutton library achieve such effect need. didn't find native library this.


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -