Is it possible to override the standard layouts that are provided with Android? Is it for example possible to make the text smaller for android.R.layout.simple_list_item_checked? Or would I simply need to make my own layout to do this? Thanks.
Is it possible to override the standard layouts that are provided with Android? Is
Share
You have to make your own layout. In order to make a custom layout and use a standard adapter (like ArrayAdapter) you have to specifiy the same id(s) in your custom layout as in the standard layouts. For example the TextView in simple_list_item_checked has the id “@android:id/text1” (http://www.devdaily.com/java/jwarehouse/android-examples/platforms/android-2/data/res/layout/simple_list_item_checked.xml.shtml). In your custom layout you specify that id. Thus you do not have to write a custom adapter. So the best way is just by copying the standard xml layout and change what you wanne change