solution to this.
Thanks, Prerna
On May 12, 6:14 am, ena <enu1...@gmail.com> wrote:
> In my project im Multiple choice list....in this all text view in
> white color...i want to change text color...
>
> in program im use simple xml main.xml
>
> <?xml version="1.0" encoding="utf-8"?>
> <RelativeLayout
> xmlns:android="http://schemas.android.com/apk/res/android"
> android:layout_width="fill_parent"
> android:layout_height="fill_parent" android:background="#ffff00">
> <ListView android:id="@+id/android:list"
> android:layout_marginTop="2px" android:layout_marginLeft="2px"
> android:layout_marginRight="2px" android:layout_width="fill_parent"
> android:layout_height="wrap_content" android:layout_weight="1"
> android:background="@drawable/shape_1"
> android:listSelector="@drawable/shape_3"
>
> android:textColor="#ffff00"
> android:layout_marginBottom="44px" />
> </RelativeLayout>
>
> im ListActivity class
>
> setContentView(R.layout.main);
> setListAdapter(new ArrayAdapter<String>(this,
> android.R.layout.simple_list_item_multiple_choice,
> GENRES));
> listView =getListView();
> listView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);
>
> in how to change text color and text size...plz help me...
>
> --
> 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+unsubscribe@googlegroups.com
> For more options, visit this group athttp://groups.google.com/group/android-developers?hl=en
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment