摘要:
1 package com.example.adaptertest.gallery; 2 3 import android.app.Activity; 4 import android.os.Bundle; 5 import android.os.Handler; 6 import android.os.Handler.Callback; 7 import android.os.Message; 8 import android.view.View; 9 import android.widget.AdapterView;10 import android.widget.AdapterVi.. 阅读全文
摘要:
1 package com.example.autotextview; 2 3 import android.app.Activity; 4 import android.os.Bundle; 5 import android.widget.ArrayAdapter; 6 import android.widget.AutoCompleteTextView; 7 8 import com.example.adaptertest.R; 9 10 public class AutoTextActivity extends Activity {11 @Override12 pr... 阅读全文
摘要:
1 package com.example.adaptertest.doubleadapter; 2 3 import android.app.Activity; 4 import android.os.Bundle; 5 import android.widget.ExpandableListView; 6 7 import com.example.adaptertest.R; 8 9 public class ExpandListViewActivity extends Activity {10 private String[] groupStrings = { "家人" 阅读全文
摘要:
1 package com.example.adaptertest; 2 3 import java.util.ArrayList; 4 import java.util.List; 5 6 import android.app.Activity; 7 import android.os.Bundle; 8 import android.view.Menu; 9 import android.view.View;10 import android.view.View.OnClickListener;11 import android.widget.Button;12 import and... 阅读全文
摘要:
1 package com.example.adaptertest.homework; 2 3 import java.util.ArrayList; 4 import java.util.Calendar; 5 import java.util.List; 6 7 import android.app.Activity; 8 import android.os.Bundle; 9 import android.view.View;10 import android.view.View.OnClickListener;11 import android.widget.Button;12 ... 阅读全文
摘要:
1 package com.example.classtest; 2 3 import android.app.Activity; 4 import android.graphics.Bitmap; 5 import android.graphics.BitmapFactory; 6 import android.graphics.Matrix; 7 import android.os.Bundle; 8 import android.view.View; 9 import android.view.View.OnClickListener;10 import android.widget.. 阅读全文
摘要:
1 package com.example.classtest; 2 3 import android.app.Activity; 4 import android.os.Bundle; 5 import android.widget.CheckBox; 6 import android.widget.CompoundButton; 7 import android.widget.RadioButton; 8 import android.widget.R... 阅读全文
摘要:
1 2 6 7 13 14 15 22 23 24 32 33 1 2 阅读全文
摘要:
1 2 6 7 8 9 10 20 21 22 28 29 30 36 37 38 44 45 46 57 58 实现跑马灯的主要属性:android:ellipsize="marquee"android:focusable="true" android:focusableInTouchMode="true"android:marqueeRepeatLimit="marquee_forever"android:singleLine="true"TextView超出部分的省略号属性:android 阅读全文
摘要:
1 package com.example.classtest; 2 3 import android.app.Activity; 4 import android.os.Bundle; 5 import android.view.View; 6 import android.view.View.OnClickListener; 7 import android.widget.TextView; 8 9 public class MainActivity extends Activity implements OnClickListener { 10 priva... 阅读全文