Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>This is because the layout simple_list_item_activated_1 does not exist before API 11 (<a href="https://stackoverflow.com/questions/5274577/android-compatibility-package">see post</a>).</p> <p>To get the app to run, you can create a new list layout based on <a href="http://code.google.com/p/pangff-projects/source/browse/trunk/Api3.0/res/layout/simple_list_item_activated_1.xml?spec=svn11&amp;r=11" rel="nofollow noreferrer">simple_list_item_activated_1</a> and use that in your code instead. </p> <p>Here's a starter:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;TextView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/text1" android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center_vertical" android:textAppearance="?android:attr/textAppearanceLarge" android:minHeight="?android:attr/listPreferredItemHeight" /&gt; </code></pre> <p>This gets the code to run, however it won't look quite right, as I removed </p> <pre><code>android:background="?android:attr/activatedBackgroundIndicator" </code></pre> <p>from the API 11 definition. I then went on to replace it with some equivalent code - see <a href="https://stackoverflow.com/questions/5274982/setting-android-background-persistence-menu-bar-using-attribute-on-older-ver">post</a></p> <p>There is a tutorial explaining the problem <a href="http://mobile.tutsplus.com/tutorials/android/android-compatibility-list-indicators-on-honeycomb/" rel="nofollow noreferrer">here</a>.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload