工作内容(按时间先后顺序)闪惠详情页增加“联系客服”button商户页闪惠popup==>修复debug面板huihui agent保存至waimai agent的bug开发过程中的要点使用Dialog做出仿iOS的popup。因Android原生的AlertDialog是跟随系统样式(居中、宽度固...
分类:
其他好文 时间:
2014-10-16 17:08:22
阅读次数:
335
1在代码中添加文字阴影TextView 有一个方法/** * Gives the text a shadow of the specified radius and color, the specified * distance from its normal position. * * @...
分类:
移动开发 时间:
2014-10-16 16:58:52
阅读次数:
197
效果图:
public class Login extends Activity {
private Button btn_login;
private ProgressDialog pd;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstan...
分类:
其他好文 时间:
2014-10-16 16:36:42
阅读次数:
213
1.新建....xml
android:drawable="@drawable/ic_launcher" />
android:drawable="@drawable/btn"/>
2,
android:id="@+id/btn_l...
分类:
其他好文 时间:
2014-10-16 14:17:22
阅读次数:
168
ArrayList w_position = new ArrayList(); void OnGUI() { if (GUILayout.Button("Open")) { if (allowMove) { ...
分类:
编程语言 时间:
2014-10-16 13:56:22
阅读次数:
259
以android中的Button的setOnClickListener这个回调为例;
Button button = (Button)this.findViewById(R.id.button);
button.setOnClickListener(new Button.OnClickListener() {
//回调函数
@override
publicvoid onClic...
分类:
编程语言 时间:
2014-10-16 11:05:12
阅读次数:
170
transition click EaseEase-inEase-outEase-in-outLinearCubic-bezier点击更新后自动生成的如上,完全乱掉。textare 和input button的写法如下:textarea里面的html如下:transitionclick Eas...
分类:
Web程序 时间:
2014-10-15 20:19:01
阅读次数:
227
常用坐标转换谷歌(lng,lat)baidu" type="button" onclick="ggxy()" />GPS(lng,lat)baidu" type="button" onclick="gpsxy()" />百度(lng,lat)
分类:
其他好文 时间:
2014-10-15 18:31:21
阅读次数:
168
设置权限,在AndroidManifest.xml加入public class MainActivity extends Activity { private EditText address; private Button getbutton; private TextView ...
分类:
移动开发 时间:
2014-10-14 18:09:43
阅读次数:
161
用过codeblocks的wxsmith进行wxwidgets开发的可能都遇到过一个问题,那就是中文控件乱码。我尝试过把button控件的声明中的"_"(不含两侧引号)机械的替换为"wxT"(不含两侧引号),虽然可以暂时解决问题,但是wxsmith又会把之前进行的替换毁于一旦。面对这个问题,我有一个...
分类:
其他好文 时间:
2014-10-14 15:52:38
阅读次数:
294