alert_dialog.Xml代码
xml version="1.0" encoding="utf-8"?>
RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
a...
分类:
移动开发 时间:
2016-05-07 08:19:23
阅读次数:
247
使用FragmentTabhost+Fragment实现一个底部导航栏
主布局: //放置Fragment
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_weight="1"...
分类:
其他好文 时间:
2016-05-07 07:58:07
阅读次数:
139
#一天一道LeetCode系列(一)题目
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much >water it is able to trap after raining.
For example,
Give...
分类:
移动开发 时间:
2016-05-07 07:33:42
阅读次数:
171
1、jQuery的Ajax与Java交互带加载图片
1.1 html代码
Ajax获取数据
1.2 style代码
#main {
margin: 0 auto;
width: 400px;
}
#container {
width: 400px;
height: 300px;
border: 1px dashed #666...
分类:
编程语言 时间:
2016-05-07 07:08:23
阅读次数:
144
公司网络烂,自己又不想findview写很多遍,所以自己写了个小工具,自动findview,生成代码到剪贴版.
test:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
a...
分类:
移动开发 时间:
2016-05-07 06:59:28
阅读次数:
275
支持的图像格式:
BMP ,GIF , JPG , JPEG, PNG, PBM, PGM, PPM, XBM, XPM
//使用给定的大小和格式构造图像
QImage(const QSize &size, Format format)
//使用给定的大小和格式构造图像
QImage(int width, int height, Format format)
...
分类:
其他好文 时间:
2016-05-07 06:57:24
阅读次数:
1568
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_pa...
分类:
其他好文 时间:
2016-05-07 01:10:11
阅读次数:
191
(1)属性: //height,width; a=document.documentElement.clientHeight; //文档可视高度,由浏览器决定 b=document.documentElement.scrollHeight; //文档可滚动高度,由文档内容决定 c=document. ...
分类:
Web程序 时间:
2016-05-07 00:43:54
阅读次数:
301
CSS3动画在Style里面就实现了以往我们用JQ写的动画效果,着实简便了不少~ 简单Demo: html代码: <div id="dv1"></div> CSS3代码: <style type="text/css"> #dv1{width:100px;height:100px;border:1px ...
分类:
Web程序 时间:
2016-05-06 21:58:44
阅读次数:
268
1.常见控件的使用: TextView Button EditText ImageView 1.TextView <TextView android:id="@+id/text_view" android:layout_width="match_parent" android:layout_heig ...
分类:
移动开发 时间:
2016-05-06 20:31:39
阅读次数:
196