I'm not sure if I'm getting what you want, but a listView doesn't have text size, the elements inside it are the ones that will define their text size That is, if you add a textview to the list, define the text size in the textView.
I'm not sure if I'm getting what you want, but a listView doesn't have text size, the elements inside it are the ones that will define their text size. That is, if you add a textview to the list, define the text size in the textView.
What really matters here is the row View you return in BaseAdapter's getView(..) or CursorAdapter's newView(..). You can copy simple_list_item_1. Xml or simple_list_item_2.
Xml from Android sources and customize it to your needs. Say, change android:textAppearance="? Android:attr/textAppearanceLarge" to android:textAppearance="?
Android:attr/textAppearanceMedium". The other option is to change text appearance right in the Adapter by calling setTextAppearance(context, android.R.attr. TextAppearanceMedium) on the TextView.
I think you have the wrong approach to using a ListView. Use an adapter to feed the list to the view, and in the ListView layout file, you don't define the rows, you only define the listview itself and a default textview which will show when there are no items in the list. Then you define a separate xml file which will render each row.
Then in this row layout you're free to set the text size as you wish. Here's an example of the listview xml (notice the special id's given to the listview and textview, these ARE required): Then your row layout would be your file without the listview: And here's a sample of the adapter's getView() method where you will set the row layout file: public View getView(int position, View convertView, ViewGroup parent) { if (convertView == null) { LayoutInflater inflater = (LayoutInflater) context . GetSystemService(Context.
LAYOUT_INFLATER_SERVICE); convertView = inflater. Inflate(R.layout. Row_layout, null); } //Now, assuming your adapter has the list of objects to be displayed in 'records': if(records!
= null) { YourRecord r = records. Get(position); if(r! = null) { // Populate your views in your row.
Xml based on data from your record selected (r) } ... } }.
Xml from Android sources and customize it to your needs. The other option is to change text appearance right in the Adapter by calling setTextAppearance(context, android.R.attr. TextAppearanceMedium) on the TextView.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.