Error: resource id not found for attribute 'groupindicator' in package 'android'

I am following the tutorial located here . But I keep getting error with my android specific XML: groupindicator.

Here is the relevant xml.

           <LinearLayout
                android:id="@+id/tab2"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent"
                android:orientation="vertical"
                android:paddingTop="70dp" >

                <expandablelistview
                    android:id="@+id/android:list"
                    android:layout_width="fill_parent"
                    android:layout_height="fill_parent"
                    android:groupindicator="@drawable/group_indicator" >

                    <textview
                        android:id="@+id/android:empty"
                        android:layout_width="fill_parent"
                        android:layout_height="fill_parent"
                        android:text="@string/main_no_items" >
                    </textview>
                </expandablelistview>
            </LinearLayout>

      

The exact error is as follows.

[2012-03-21 21:51:44 - FoodSubs] C:\.......res\layout\food_display.xml:55: error: No resource identifier found for attribute 'groupindicator' in package 'android'

      

I've checked everything a few times, but I just had no luck. I'm sure this will be something obvious, but any help would be appreciated.

+3


source to share


1 answer


change android:groupindicator

toandroid:groupindicator



+7


source







All Articles