android - transparent panel in activity -


i trying set transparent panel using this tutorial in app whenever use following xml activity comes force close

  <?xml version="1.0" encoding="utf-8"?> <framelayout xmlns:android="http://schemas.android.com/apk/res/android"              android:id="@+id/home_container"              android:layout_width="fill_parent"              android:layout_height="fill_parent">      <com.google.android.maps.mapview             android:id="@+id/city_map_view"              android:layout_width="fill_parent"             android:layout_height="fill_parent"              android:enabled="true"              android:clickable="true"                          android:apikey="0dueiin35xtmc6vk1jkfef74kwkujgb7hrumkfa"/>      <linearlayout   xmlns:android="http://schemas.android.com/apk/res/android"                      android:layout_width="fill_parent"                      android:layout_height="fill_parent"                     android:orientation="vertical"                     android:gravity="bottom"                     android:paddingleft="5px"                     android:paddingtop="5px"                     android:paddingright="5px">          <com.pocketjourney.view.transparentpanel                 android:id="@+id/transparent_panel"                  android:layout_width="fill_parent"                 android:layout_height="wrap_content"                 android:paddingtop="5px"                 android:paddingleft="5px"                 android:paddingbottom="5px"                 android:paddingright="5px">              <button android:id="@+id/button_click_me"             android:layout_width="wrap_content"              android:layout_height="wrap_content"             android:text="click me!"/>          </com.pocketjourney.view.transparentpanel>      </linearlayout> </framelayout> 

thanks

logcat

07-04 00:14:09.874: debug/ddm-heap(3005): got feature list request 07-04 00:14:09.974: debug/dalvikvm(55): gc freed 315 objects / 12176 bytes in 264ms 07-04 00:14:10.004: warn/dalvikvm(101): disablegcforexternalalloc: false 07-04 00:14:10.084: warn/dalvikvm(3005): unable resolve superclass of lcom/droidnova/android/howto/optionmenu/controlmenu; (69) 07-04 00:14:10.084: warn/dalvikvm(3005): link of class 'lcom/droidnova/android/howto/optionmenu/controlmenu;' failed 07-04 00:14:10.094: debug/androidruntime(3005): shutting down vm 07-04 00:14:10.094: warn/dalvikvm(3005): threadid=3: thread exiting uncaught exception (group=0x4001e390) 07-04 00:14:10.104: error/androidruntime(3005): uncaught handler: thread main exiting due uncaught exception 07-04 00:14:10.124: error/androidruntime(3005): java.lang.runtimeexception: unable instantiate activity componentinfo{com.droidnova.android.howto.optionmenu/com.droidnova.android.howto.optionmenu.controlmenu}: java.lang.classnotfoundexception: com.droidnova.android.howto.optionmenu.controlmenu in loader dalvik.system.pathclassloader@448a0d70 07-04 00:14:10.124: error/androidruntime(3005):     @ android.app.activitythread.performlaunchactivity(activitythread.java:2497) 07-04 00:14:10.124: error/androidruntime(3005):     @ android.app.activitythread.handlelaunchactivity(activitythread.java:2621) 07-04 00:14:10.124: error/androidruntime(3005):     @ android.app.activitythread.access$2200(activitythread.java:126) 07-04 00:14:10.124: error/androidruntime(3005):     @ android.app.activitythread$h.handlemessage(activitythread.java:1932) 07-04 00:14:10.124: error/androidruntime(3005):     @ android.os.handler.dispatchmessage(handler.java:99) 07-04 00:14:10.124: error/androidruntime(3005):     @ android.os.looper.loop(looper.java:123) 07-04 00:14:10.124: error/androidruntime(3005):     @ android.app.activitythread.main(activitythread.java:4595) 07-04 00:14:10.124: error/androidruntime(3005):     @ java.lang.reflect.method.invokenative(native method) 07-04 00:14:10.124: error/androidruntime(3005):     @ java.lang.reflect.method.invoke(method.java:521) 07-04 00:14:10.124: error/androidruntime(3005):     @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:860) 07-04 00:14:10.124: error/androidruntime(3005):     @ com.android.internal.os.zygoteinit.main(zygoteinit.java:618) 07-04 00:14:10.124: error/androidruntime(3005):     @ dalvik.system.nativestart.main(native method) 07-04 00:14:10.124: error/androidruntime(3005): caused by: java.lang.classnotfoundexception: com.droidnova.android.howto.optionmenu.controlmenu in loader dalvik.system.pathclassloader@448a0d70 07-04 00:14:10.124: error/androidruntime(3005):     @ dalvik.system.pathclassloader.findclass(pathclassloader.java:243) 07-04 00:14:10.124: error/androidruntime(3005):     @ java.lang.classloader.loadclass(classloader.java:573) 07-04 00:14:10.124: error/androidruntime(3005):     @ java.lang.classloader.loadclass(classloader.java:532) 07-04 00:14:10.124: error/androidruntime(3005):     @ android.app.instrumentation.newactivity(instrumentation.java:1021) 07-04 00:14:10.124: error/androidruntime(3005):     @ android.app.activitythread.performlaunchactivity(activitythread.java:2489) 

and getting

07-04 00:28:31.914: error/activitymanager(101): fail set top app changed! 

the xml declaration

is saying in packages com/pocketjourney/view there class called transparentpanel

so assume package isn't that, have named need update xml

com.your.package.transparentpanel


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -