Here are 6 buttons. They are pressed to each other. How to show their borders (or to put a framework with a thin black line)? Then the user would be more understandable and the application would look more beautiful.
1 answer
- We drive into Google
- Go to the first link: how to put a border around an android textview
Copyipastim xml-drawable background
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" > <solid android:color="#ffffff" /> <stroke android:width="1dip" android:color="#4fa5d5"/> </shape>Assign it to the view:
<Button android:text="Some text" android:background="@drawable/back"/>
|
