<?xml?version="1.0"?encoding="UTF-8"?>
<beans?xmlns="http://www.springframework.org/schema/beans"?xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:util="http://www.springframework.o...
分类:
编程语言 时间:
2014-08-04 21:51:38
阅读次数:
489
先上图:
把这些表示观点的view放在一个LinearLayout里:
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/repost_vote_tag_list"
android:l...
分类:
移动开发 时间:
2014-08-04 08:19:46
阅读次数:
383
定义一个布局文件
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height=...
分类:
移动开发 时间:
2014-08-03 15:25:05
阅读次数:
204
spring 配置文件 <?xml?version="1.0"?encoding="UTF-8"?>
<beans?xmlns="http://www.springframework.org/schema/beans"
?????????????xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...
分类:
编程语言 时间:
2014-08-03 12:55:55
阅读次数:
244
布局文件中定义一下UI,虽然没什么UI.....
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
androi...
分类:
移动开发 时间:
2014-08-02 15:40:23
阅读次数:
301
先上效果图:
Layout文件:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
and...
分类:
移动开发 时间:
2014-08-01 23:18:22
阅读次数:
489
先上效果图:
验证码采用PHP返回的imageview来实现,xml如下:
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
andr...
分类:
移动开发 时间:
2014-08-01 19:40:42
阅读次数:
332
先看如下布局 : 上图中,按钮的大小为屏幕的一半,然后居中显示在布局中央,每个人心中都有自己的答案,看看我的方法吧,布局布局xml如下 :
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/main_layout"
android:layout_wi...
分类:
移动开发 时间:
2014-07-31 17:16:46
阅读次数:
224
<project xmlns="http://maven.apache.org/POM/4.0.0"?? ??? xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"?? ??? xsi:schemaLocation="http://maven.apache.org/POM/4.0.0?http://maven.ap...
分类:
其他好文 时间:
2014-07-30 15:07:34
阅读次数:
296
这是用的是SpringMVC-3.1.1、commons-fileupload-1.2.2和io-2.0.1 首先是web.xml <?xml?version="1.0"?encoding="UTF-8"?>??
<web-app?version="2.5"???
????xmlns="http://java.sun.com/xml/ns/jav...
分类:
编程语言 时间:
2014-07-30 12:38:14
阅读次数:
319