码迷,mamicode.com
首页 >  
搜索关键字:height    ( 24230个结果
css三角形
span.triangle { width: 0; height: 0; display: inline-block; border-top: 50px solid #e50303; border-right: 50px solid black;}
分类:Web程序   时间:2015-01-14 19:40:40    阅读次数:184
android基础一之AutoCompleteTextView和MultiAutoCompleteTextView
//activity_main.xml<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" tools:contex..
分类:移动开发   时间:2015-01-14 18:17:07    阅读次数:234
android基础二之ToggleButton
//activity_main.xml<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" tools:contex..
分类:移动开发   时间:2015-01-14 18:12:58    阅读次数:242
android基础三之CheckBox
//activity_main.xml<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context="com.vincentlin.checkbox.Main..
分类:移动开发   时间:2015-01-14 18:06:40    阅读次数:183
滑动更改ListView的标题
我们平时看到当滑动ListView时,标题的内容会不断的更改,并且标题会有一个推动的效果,下面与大家共享一个示例。 思路: 1.自定义ListView,给ListView绘画一个子标题(childView),将其位置设置为(0,0,width,height) 2.给ListView添加滑动监听事件。    当向下滑动时,当前第一个完全显示的item的标题内容和标题内容进行比较...
分类:其他好文   时间:2015-01-14 18:04:29    阅读次数:294
easyui datagrid height width =0的问题
对于一个页面中应用了datagrid的table控件来说,如在页面打开时为隐藏,在页面的应用中再动态显示,这样,显示出来的table数据则会隐藏不可见,table的标题,工具栏,分页栏则会压缩在一起,而需要显示的数据却未能正常显示出来.也就是宽度或高度为0;解决办法是:1、div加easyui-pa...
分类:其他好文   时间:2015-01-14 16:49:21    阅读次数:212
LeetCode--Convert Sorted Array to Binary Search Tree
Given an array where elements are sorted in ascending order, convert it to a height balanced BST. /** * Definition for binary tree * struct TreeNode { * int val; * TreeNode *left; * ...
分类:其他好文   时间:2015-01-14 15:35:32    阅读次数:178
【Android学习笔记】DatePickerDialog和TimePickerDialog日期选择器和时间选择器
(1)布局文件 <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...
分类:移动开发   时间:2015-01-14 15:33:34    阅读次数:316
LeetCode--Convert Sorted List to Binary Search Tree
Given an array where elements are sorted in ascending order, convert it to a height balanced BST. /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *nex...
分类:其他好文   时间:2015-01-14 15:33:27    阅读次数:169
LeetCode--Balanced Binary Tree
Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the two subtrees of every node never diffe...
分类:其他好文   时间:2015-01-14 15:33:12    阅读次数:141
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!