上一页 1 2 3 4 5 6 7 ··· 41 下一页
摘要: package com.pingyijinren.helloworld.model; /** * Created by Administrator on 2016/6/2 0002. */ public class Fruit { private String name; private int imageId; ... 阅读全文
posted @ 2016-06-02 14:08 zqxLonely 阅读(219) 评论(0) 推荐(0) 编辑
摘要: package com.pingyijinren.helloworld; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Point; impo... 阅读全文
posted @ 2016-06-02 12:07 zqxLonely 阅读(193) 评论(0) 推荐(0) 编辑
摘要: HelloWorld 北京 上海 广州 深圳 package com.pingyijinren.helloworld; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; i... 阅读全文
posted @ 2016-06-02 11:19 zqxLonely 阅读(213) 评论(0) 推荐(0) 编辑
摘要: package com.pingyijinren.helloworld; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widg... 阅读全文
posted @ 2016-06-01 18:40 zqxLonely 阅读(203) 评论(0) 推荐(0) 编辑
摘要: Toast toast=new Toast(MainActivity.this); toast.setView(getLayoutInflater().inflate(R.layout.toast,null)); toast.show(); 阅读全文
posted @ 2016-06-01 18:15 zqxLonely 阅读(127) 评论(0) 推荐(0) 编辑
摘要: editText.addTextChangedListener(new TextWatcher() { @Override public void beforeTextChanged(CharSequence s, int start, int count, int after) { } @Over... 阅读全文
posted @ 2016-06-01 17:34 zqxLonely 阅读(333) 评论(0) 推荐(0) 编辑
摘要: 关键在于指定activity的action属性 然后直接通过action的值跳转 阅读全文
posted @ 2016-06-01 15:36 zqxLonely 阅读(436) 评论(0) 推荐(0) 编辑
摘要: package com.pingyijinren.helloworld; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.text.method.HideReturnsTransformationMethod; imp... 阅读全文
posted @ 2016-06-01 14:59 zqxLonely 阅读(1065) 评论(0) 推荐(0) 编辑
摘要: public class MainActivity extends AppCompatActivity { ProgressDialog progressDialog=null; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstan... 阅读全文
posted @ 2016-06-01 12:34 zqxLonely 阅读(127) 评论(0) 推荐(0) 编辑
摘要: @Override public boolean onCreateOptionsMenu(Menu menu) { menu.add(0,0,0,"关于"); menu.add(0,1,1,"退出"); return super.onCreateOptionsMenu(menu); } @Override publ... 阅读全文
posted @ 2016-06-01 12:25 zqxLonely 阅读(163) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 41 下一页