1

Border with title in Android?

view story
linux-howto

http://stackoverflow.com – We can use shape to create a simple border,for example I saw this code here: <?xml version="1.0" encoding="utf-8"?> <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item> <shape android:shape="rectangle"> <corners android:radius="5dip" /> <solid android:color="@color/black" /> <stroke android:width="2dip" android:color="@color/white" /> </shape> </item> </layer-list> But I need a border with a title like this image: How I can do that? (HowTos)