Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo...
分类:
编程语言 时间:
2015-04-28 22:28:27
阅读次数:
202
效果展示布局文件的书写
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_wi...
分类:
其他好文 时间:
2015-04-28 21:09:51
阅读次数:
782
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" ? ? xmlns:wen=http://schemas.android.com/apk/res/com.iteye.googlers ? ? android:orientation="vertical" android:layout_wi...
分类:
移动开发 时间:
2015-04-27 18:36:28
阅读次数:
196
1、LinearLayout(线性布局):可以分为水平线性:android:orientation= " horizontal "和垂直线性:android:orientation= "vertical"2、RealtiveLayout(相对布局):(1)在相对布局中属性值为true或false的有...
分类:
移动开发 时间:
2015-04-27 16:47:39
阅读次数:
241
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo...
分类:
其他好文 时间:
2015-04-25 01:41:00
阅读次数:
133
题目如下:Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two ...
分类:
其他好文 时间:
2015-04-25 00:11:21
阅读次数:
130
Declare some constants:private const int WM_SCROLL = 276; // Horizontal scrollprivate const int WM_VSCROLL = 277; // Vertical scrollprivate const int ...
布局文件layout背景色里:
<LinearLayout
android:layout_width="130dp"
android:layout_height="104dp"
android:background="@drawable/bg_frame"
android:orientation="vertical">
drawable/bg_frame.xml内容如下
<?xmlversion="1.0"encoding="UTF-8"?>
<laye..
分类:
移动开发 时间:
2015-04-24 16:45:31
阅读次数:
519
原文来自于:http://www.kuqin.com/shuoit/20150227/344958.html方法一这个方法把一些 div 的显示方式设置为表格,因此我们可以使用表格的 vertical-align property 属性。Content goes here#wrapper {disp...
分类:
Web程序 时间:
2015-04-24 15:42:00
阅读次数:
171
今天在写网页的时候遇到多行文字垂直居中问题。试的多种方法,其中最好用的当然是table了,但我写的这块用table不太好,我使用的是在上一级块元素上加display:table;文字包的行内元素使用display:table-cell; vertical-align:middle;如:.div{di...
分类:
其他好文 时间:
2015-04-23 23:14:14
阅读次数:
178