码迷,mamicode.com
首页 >  
搜索关键字:vertical    ( 1534个结果)
GrideView 网格控件
1,xml布局<?xmlversion="1.0"encoding="utf-8"?><LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"android:layout_width="match_parent"android:layout_height="match_parent"android:orientation="vertical"><GridViewandroid:id="@+i..
分类:其他好文   时间:2015-02-03 07:07:40    阅读次数:152
人品计算机
1,主界面<RelativeLayoutxmlns: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:paddingBottom="@dimen/activity_vertical_margin"..
分类:其他好文   时间:2015-02-01 20:34:03    阅读次数:168
Android-LinearLayout布局技巧(一)
先看2张图一、5.1寸二、3.7寸三、代码 1 2 8 9 14 15 21 22 29 30 42 43 这里主要是LinearLayout 和 android:gravity="center" android:orientation="vertical"
分类:移动开发   时间:2015-02-01 13:27:37    阅读次数:215
学生管理系统初步实现增加功能
1,创建主界面<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:context=".MainActi..
分类:其他好文   时间:2015-02-01 07:25:09    阅读次数:174
Android Service中判断系统全屏
1. 空layout <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical...
分类:移动开发   时间:2015-01-31 12:32:00    阅读次数:172
display:inline-block作用解释
inline-block 的元素既具有 block 元素可以设置宽高的特性,同时又具有 inline 元素默认不换行的特性。当然不仅仅是这些特性,比如 inline-block 元素也可以设置 vertical-align 属性。 HTML 中的换行符、空格符、...
分类:其他好文   时间:2015-01-30 06:47:13    阅读次数:192
leetcode.11---------Container With Most Water
题目: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 endpoints of line i is at (i, ai) and (i, 0). ...
分类:其他好文   时间:2015-01-29 17:48:28    阅读次数:180
Andriod线性布局LinearLayout
LinearLayout(线性布局) 一.android:orientation 这个属性代表方向的意思,值有两个 vertical(以线性垂直排列),horizontal(以线性水平排列) 1.vertical2.horizontal 二.android:gravity ="top"(b...
分类:其他好文   时间:2015-01-29 14:27:11    阅读次数:194
LeetCode --- 11. Container With Most Water
题目链接:Container With Most Water 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 endpoints of line i is ...
分类:其他好文   时间:2015-01-29 12:48:22    阅读次数:226
【技术】文字和图片用vertical-align调整水平高度,在ie下失效
“后台首页”、“官网管理”、“运营管理”文字前的图标在同一张图片上纵向排列,排列时,每个小图间隔3、4px,当IE下vertical-align失效时,通过background-position: 0 -22px;_background-position: 0 -23px;*background-p...
分类:其他好文   时间:2015-01-29 01:20:13    阅读次数:224
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!