Hi, My simple project is to populate a ListView with an array from arrays.xml.
The graphic result is a serie of lines of text with border, like cells. I would like to remove these borders, in order to the window show characters only, like a plain text. It would be possible? Thank you. ******************** main.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <ListView android:id="@+id/minhaText" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_gravity="left" /> </LinearLayout> ***************************************************** arrays.xml <?xml version="1.0" encoding="utf-8"?> <resources> <string-array name="meuArray"> <item><![CDATA[A luz forte do sol lá fora fazia um grande contraste com o escuro do cômodo.]]></item> <item><![CDATA[Poucas pessoas. ***************************************************** Java: (...) Resources res = getResources(); String [] meuArrayConto = res.getStringArray(R.array.meuArray); ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,R.layout.menu_item,meuArrayConto); setListAdapter(adapter); ListView lv = getListView(); lv.setTextFilterEnabled(true); lv.setOnItemClickListener(new OnItemClickListener() { @Override (...) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en