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
先看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
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
inline-block 的元素既具有 block 元素可以设置宽高的特性,同时又具有 inline 元素默认不换行的特性。当然不仅仅是这些特性,比如 inline-block 元素也可以设置 vertical-align 属性。 HTML 中的换行符、空格符、...
分类:
其他好文 时间:
2015-01-30 06:47:13
阅读次数:
192
题目: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
LinearLayout(线性布局) 一.android:orientation 这个属性代表方向的意思,值有两个 vertical(以线性垂直排列),horizontal(以线性水平排列) 1.vertical2.horizontal 二.android:gravity ="top"(b...
分类:
其他好文 时间:
2015-01-29 14:27:11
阅读次数:
194
题目链接: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
“后台首页”、“官网管理”、“运营管理”文字前的图标在同一张图片上纵向排列,排列时,每个小图间隔3、4px,当IE下vertical-align失效时,通过background-position: 0 -22px;_background-position: 0 -23px;*background-p...
分类:
其他好文 时间:
2015-01-29 01:20:13
阅读次数:
224