Instead of bullets,is it possible to get image before string in android -


i have string value before string image bullets?how that?

you can use

<linearlayout   xmlns:android="http://schemas.android.com/apk/res/android"   android:layout_width="fill_parent"   android:layout_height="wrap_content"   android:orientation="horizontal">  <imageview     android:id="@+id/img_bullet"     android:layout_width="wrap_content"     android:layout_height="wrap_content"     android:gravity="right"     android:layout_marginleft="5dip"     android:background="@drawable/bullet"/>     <textview     android:id="@+id/tv_content"     android:layout_width="match_parent"     android:layout_height="wrap_content"     android:layout_weight="1"     android:layout_alignparentright="true"     android:gravity="right"     android:layout_marginright="5dip"     android:layout_margintop="5dip"     android:text="this textview"/> 


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -