xml - Right Drawable in Android. Not Working -


i drawing line beside textview using drawableright property. there number of textviews 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.

the spinner in image trying make what have achieved far

you can use android-wheel.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -