摘要: 使div像纸一样的样式 阅读全文
posted @ 2016-11-07 21:42 极品草草 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 用html5模拟书的翻页 阅读全文
posted @ 2016-11-03 21:41 极品草草 阅读(681) 评论(0) 推荐(0) 编辑
摘要: var ref = null;var c = document.createElement('canvas');//添加一个canvas模块c.width = 500;c.height = 300;c.id = "aaaaa";var parent = document.getElementById 阅读全文
posted @ 2016-11-02 21:35 极品草草 阅读(158) 评论(0) 推荐(0) 编辑
摘要: toast 阅读全文
posted @ 2016-10-10 20:52 极品草草 阅读(632) 评论(0) 推荐(0) 编辑
摘要: private void doVolley(){ RequestQueue mRequestQueue = Volley.newRequestQueue(getActivity()); StringRequest mStringRequest = new StringRequest( "http:/ 阅读全文
posted @ 2016-09-21 22:29 极品草草 阅读(869) 评论(0) 推荐(0) 编辑
摘要: public class HomeHotSpotFragment extends Fragment { WebView mWebView; Button mButton; TextView mTextView; public HomeHotSpotFragment() { // Required e 阅读全文
posted @ 2016-09-20 16:30 极品草草 阅读(420) 评论(0) 推荐(0) 编辑
摘要: SharedPreferences mSharedPreferences; SharedPreferences.Editor mEditor; 阅读全文
posted @ 2016-09-19 09:36 极品草草 阅读(357) 评论(0) 推荐(0) 编辑
摘要: //定义类 package com.jredu.ch.Package001;public class LvYou { public String name; public int age; public void menpiao(){ if (age>18) { System.out.println 阅读全文
posted @ 2016-08-03 08:31 极品草草 阅读(149) 评论(0) 推荐(1) 编辑
摘要: 当定义 时 char i = '+'; System.out.println(i); System.out.println(1+i+1); System.out.println(1+""+i+""+1); System.out.println(1+b+1); 输出为 +451+1 1+1 在第二个中 阅读全文
posted @ 2016-07-28 12:54 极品草草 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 标识符以大小写字母(区分大小写),$中文居然是¥,不过都行,下划线_开头,内容可以加入数字。 System.out.println("左手的牌"+left);加号表示拼接,结果为:左手的牌8。 阅读全文
posted @ 2016-07-27 08:32 极品草草 阅读(177) 评论(0) 推荐(0) 编辑