自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(19)
  • 收藏
  • 关注

转载 Intent

src 中的 MainActivity:public class MainActivity extends Activity implements View.OnClickListener { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState

2016-01-21 16:45:02 390

转载 Menu键_switch中设置

src 中的 MainActivity:public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.act

2016-01-11 10:07:04 1522

转载 Menu键_subMenu设置

src 中的 MainActivity:public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.act

2016-01-11 10:03:09 705

转载 ContextMenu_BaseAdapter

以下是src:src 中的 MainActivity:public class MainActivity extends Activity { private ListView lvContacts; private List contacts; private ContactAdapter adapter; @Override protected void onC

2016-01-11 09:58:26 545

转载 ContextMenu

src 中的 MainActivity:public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.act

2016-01-11 09:54:11 297

转载 AlertDialog_弹出式对话框

src 中的 MainActivity:public class MainActivity extends Activity implements View.OnClickListener { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState

2016-01-11 09:45:02 492

转载 自定义登陆界面样式

src 中的 MainActivity:public class MainActivity extends Activity { private EditText etUsername; private EditText etPassword; private Button btnSubmit; public static final int MIN_USERNAME_LENGTH =

2016-01-08 18:53:15 537

转载 RadioButton 底部菜单制作

src 中的 MainActivity:public class MainActivity extends Activity { private Button btnMenuDeal; private Button btnMenuNearby; private Button btnMenuMy; private Button btnMenuMore; private TextView t

2016-01-08 18:38:06 366

转载 CheckBox_选择框控件(2)

src 中的 MainActivity:public class MainActivity extends Activity { private CheckBox cbMovie; private CheckBox cbMusic; private CheckBox cbTravel; private Button btnSubmit; @Override protected voi

2016-01-08 18:30:55 463

转载 CheckBox_选择框控件(1)

src 中的 MainActivity:public class CheckBoxSampleActivity extends Activity { private CheckBox cbAgree; private Button btnNext; @Override protected void onCreate(Bundle savedInstanceState) { super

2016-01-08 18:26:38 388

转载 SeekBar_显示进度的控件的监听

src 中的 : src 中的 MainActivity:public class MainActivity extends Activity implements View.OnClickListener { private ProgressBar progressBar; private Button button; private SeekBar seekbar; @O

2016-01-08 18:19:35 2933

转载 seek bar 显示进度的控件

src 中的 MainActivity:public class MainActivity extends Activity implements View.OnClickListener { private ProgressBar progressBar; private Button button; @Override protected void onCreate(Bundle

2016-01-08 18:11:11 746

转载 使用子线程和runOnUiThread 显示时间

src中的 MainActivity :public class MainActivity extends Activity { /** * 显示时间的控件 */ private TextView tvTime; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(save

2016-01-08 16:59:35 376

转载 GridView

src 中的 MainActivity:public class MainActivity extends Activity { /** * GridView控件 */ private GridView gvContact; /** * GridView的数据源 */ private List contacts; /** * GridView的Adapter */

2016-01-08 16:35:04 536

转载 ListView 右侧导航

public class CityAdapter extends BaseAdapter implements SectionIndexer { /** * 上下文对象 */ private Context context; /** * 数据源 */ private List data; /** * 将XML布局加载为View对象的工具 */ private L

2016-01-08 14:16:17 640

转载 BaseAdapter + Item点击监听

src 中的 MainActivity:public class MainActivity extends Activity { private ListView lvContact; private List contacts; private BaseAdapter adapter; @Override protected void onCreate(Bundle sav

2016-01-08 11:23:45 1503

转载 BaseAdapter + 同时显示文字和图片

src 中的 MainActivity:public class MainActivity extends Activity { private ListView lvContact; private BaseAdapter adapter; @Override protected void onCreate(Bundle savedInstanceState) { supe

2016-01-07 16:35:46 1124

转载 SimpleAdapter

src 中的 MainActivity:public class MainActivity extends Activity { private ListView lvContact; private SimpleAdapter adapter; @Override protected void onCreate(Bundle savedInstanceState) { su

2016-01-07 13:56:58 329

转载 ArrayAdapter

src 的 MainActivity 部分:public class MainActivity extends Activity { private ListView lvContacts; private ArrayAdapter adapter; @Override protected void onCreate(Bundle savedInstanceState) { su

2016-01-06 22:58:39 397

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除