比如这个Button 必须用LinearLayout包起来,然后设置:android:layout_weight="0.1"android:gravity="bottom"android:orientation="vertical"
分类:
其他好文 时间:
2014-10-18 13:58:17
阅读次数:
298
AlertDialog Dialog = new AlertDialog.Builder(Huntinfo.this).create();Dialog.show();Dialog.getWindow().setGravity(Gravity.BOTTOM);Dialog.getWindow().se...
分类:
移动开发 时间:
2014-10-18 13:47:58
阅读次数:
248
控件模仿winform中的button,可以支持图片和文字。可以选择执行服务器端程序还是客户端程序,还有一些简单的设置。不足的是不支持样式,下次希望可以写一个工具条。以下就是代码以下为引用的内容:using System;using System.Collections.Generic;using ...
分类:
Web程序 时间:
2014-10-17 23:19:55
阅读次数:
288
this.settings.upload_url = SWFUpload.completeURL(this.settings.upload_url);this.settings.button_image_url = SWFUpload.completeURL(this.settings.button...
分类:
Web程序 时间:
2014-10-17 18:14:13
阅读次数:
184
一、form表单中有 type是submit类型的button,点击 submit,从而会post数据,引发回传。 二、获取一个form对象,将其用js提交 三、jquery提交
分类:
其他好文 时间:
2014-10-17 13:35:57
阅读次数:
152
============问题描述============ 就是类似于QQ中聊天界面的哪种效果,listview的item没有选中效果,但是item中的textview可以被选中,这个怎么实现??求助。。。 =========...
分类:
其他好文 时间:
2014-10-17 11:50:43
阅读次数:
169
int countSecond = 5; private void Button_Click(object sender, RoutedEventArgs e) { DispatcherTimer disTimer = new DispatcherTimer(); dis...
分类:
其他好文 时间:
2014-10-17 11:43:52
阅读次数:
167
<!DOCTYPEhtml>
<html>
<head>
<metacharset="UTF-8">
<title>Inserttitlehere</title>
<scripttype="text/javascript"src="js/jquery-1.7.2.js"></script>
<scripttype="text/javascript">
$(function(){//相当于wind..
分类:
Web程序 时间:
2014-10-16 22:25:03
阅读次数:
241
点击TreeView的事件,添加一个MouseDown事件privatevoidtreeView1_MouseDown(objectsender,MouseEventArgse){if(e.Button==MouseButtons.Right){PointClick=newPoint(e.X,e.Y);TreeNodeCurrentNode=treeView1.GetNodeAt(Click);nameStr=CurrentNode.Text.ToString();Tagnum=Con..
红色框框是一个uibutton_priceValueLabel是他的父视图, 必须要把button的父视图设置userInteractionEnabled = YES, button的监听才会生效!
分类:
其他好文 时间:
2014-10-16 20:40:13
阅读次数:
198