xml - Right Drawable in Android. Not Working -
i drawing line beside textview
using drawableright
property. there number of textview
s in table , want column divider. heres textview
code:
<textview android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="units" android:drawablepadding="2pt" android:drawableright="@drawable/linetable" android:gravity="center" android:layout_margin="2pt" android:padding="2pt" />
linetable code:
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="line"> <solid android:color="#000000"></solid> <stroke android:width="2pt" android:color="#000000" android:dashwidth="8pt" android:dashgap="8pt"/> </shape>
so expected draw column beside textviews
, may column border. isnt working.
the images show trying achieve , have achieved.
i need guidance. thank you.
you can use android-wheel.
Comments
Post a Comment