shape - Android button looks different after rotating to landscape and still after rotating back -
i created button following this tutorial. looks pretty good.
but if rotate device screen landscape, button looks different. have idea, why happening? if need code, please let me know!
button should:

button after rotating:

i suggest use floatingactionbutton included in android design support library.
simply add compile 'com.android.support:design:22.2.0' gradle file, , use floatingactionbar view class layout!
example:
<android.support.design.widget.floatingactionbutton android:layout_width="wrap_content" android:layout_height="wrap_content" android:clickable="true" android:src="@drawable/your_drawable" />
Comments
Post a Comment