
So, at the moment I have a button that looks like the first image above. How to reduce the registration around the text inside the button itself (to look more like a second image)?
The width and height of the layout are set as:
android:layout_width="match_parent" android:layout_height="wrap_content"
Custom style form has options "
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" android:padding="10dp">
The rest are simply color attributes and radius values.
Just to make it clear, I want the button frame to hug the text βSign Inβ.
All help and feedback is appreciated. Thank.
java android user-interface xml mobile
Imran NZ May 6 '13 at 7:43 a.m.
source share