Life is a no return to the one-way street, God will not give you a return ticket.
The content of this lecture: the upper right corner of the UI interface with a bubble effect
such as QQ message floating on the right top of a bubble shape tip there are a few new news!
Here is the Res/layout/activity_main.xml layout file:
<linearlayout xmlns:android= "http://schemas.android.com/apk/res/android" xmlns:tools= "http// Schemas.android.com/tools " android:layout_width=" match_parent " android:layout_height=" Match_parent " android:orientation= "vertical" android:background= "@android: Color/white" tools:context= " Com.example.test1.mainactivity$placeholderfragment "> <relativelayout android:layout_width=" 200DP " android:layout_height=" 200DP " android:background=" @drawable/usb_android "> <textview Android:id= "@+id/tv" android:layout_width= "wrap_content" android:layout_height= "Wrap_content " Android:layout_alignparentright= "true" android:gravity= "center" android:text= "3" android: Textcolor= "@android: Color/white" android:background= "@drawable/bg2"/> </RelativeLayout> </LinearLayout>
Take your time and enjoy it
83rd: The upper right corner of the UI interface with a bubble effect