摘要:
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 阅读全文
摘要:
class A{ 外面不能访问里边 class B extends C{ 里面能访问外边's method and variable }} 阅读全文
摘要:
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="" 在图像中的权重,跟占有的空间有关系。 阅读全文
摘要:
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 阅读全文
摘要:
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: 阅读全文