Cannot instantiate custom class in android Activity layout XML file

AcrossyAssugs

New Member
So my XML looks like this:\[code\]<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingBottom="@dimen/activity_vertical_margin" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" tools:context=".Calendar" ><com.fortysevendeg.android.swipelistview.SwipeListView xmlns:swipe="http://schemas.android.com/apk/res-auto" android:id="@+id/example_lv_list" android:layout_width="fill_parent" android:layout_height="wrap_content" android:listSelector="#00000000" swipe:swipeActionLeft="reveal" swipe:swipeActionRight="reveal" swipe:swipeAnimationTime="10" swipe:swipeBackView="@+id/back" swipe:swipeCloseAllItemsWhenMoveList="true" swipe:swipeFrontView="@+id/front" swipe:swipeMode="right" swipe:swipeOffsetLeft="80dip" swipe:swipeOffsetRight="80dip" swipe:swipeOpenOnLongPress="false" /></RelativeLayout>\[/code\]However, when I go into Graphical View in Eclipse, I get this error:\[quote\] The following classes could not be found: - com.fortysevendeg.android.swipelistview.SwipeListView (Fix Build Path, Edit XML, Create Class)\[/quote\]In Eclipse, in my Package Explorer window I have 3 packages.
  • android-swipelistview-master
  • myApp
  • library (a dependency of android-swipelistview-master)
It looks like this: SCREENSHOTThe strange thing is, I do not have any errors in either the android-swipelist-view-master nor the library packages. The only Warning is for an unused variable, which I'm hesitant to delete in case it is used elsewhere. I simply am not instantiating it correctly, I suppose? I don't know. I can't figure this one out!Here is the myApp Package Properties > Android settings.
 
Back
Top