摘要: I have two android projects, ProjA requires ProjB (in Eclipse Properties > Java Build Path > Projects > Add > ProjB). Every thing compiles ok in Eclipse, but when I run ProjA I get an error:Could not find method XXX, referenced from method YYY.Where XXX - is the method from ProjB.How can 阅读全文
posted @ 2012-07-25 09:21 Epirus 阅读(6048) 评论(0) 推荐(0) 编辑
摘要: class A{ 外面不能访问里边 class B extends C{ 里面能访问外边's method and variable }} 阅读全文
posted @ 2012-07-21 10:26 Epirus 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 1、layout_width=" " eg. fill_parent save as match_parent another properity is wrap_content layout_height=" " same2、orientation="" eg. horizontal vertical3、layout_gravity="" 居中4、layout_weight="" 在图像中的权重,跟占有的空间有关系。 阅读全文
posted @ 2012-07-20 14:51 Epirus 阅读(113) 评论(0) 推荐(0) 编辑
摘要: TimeTrackerBaseAdapterpackage com.example.timerecord;import java.util.ArrayList;import java.util.zip.Inflater;import android.content.Context;import android.view.LayoutInflater;import android.view.View;import android.view.ViewGroup;import android.webkit.WebView.FindListener;import android.widget.Base 阅读全文
posted @ 2012-07-20 14:18 Epirus 阅读(326) 评论(0) 推荐(0) 编辑
摘要: View Code <?xml version="1.0" encoding="utf-8"?> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/scrollView1" android:layout_width="match_parent" android:layout_height="wrap_content" android: 阅读全文
posted @ 2012-07-07 11:08 Epirus 阅读(318) 评论(0) 推荐(0) 编辑