- Hear is the code which explain how to create textview with circle in Android.
- First Create xml file and put in drawable folder .
XML File for Background :circuler_textview.xml
<TextView android:layout_width="@dimen/mLblSearchIdeaLabel_font_size" android:layout_height="@dimen/mLblSearchIdeaLabel_font_size" android:layout_centerInParent="true" android:background="@drawable/circuler_textview" android:gravity="center" android:id="@+id/mLblSearchIdeaLabel" android:padding="@dimen/mLblLogOut_paddin" android:text="Searching Idea" android:textColor="@android:color/black" android:textSize="@dimen/item_swipe_left_indicator_font_size" />
No comments:
Post a Comment