// 主布局文件 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width= ...
分类:
其他好文 时间:
2016-10-13 21:30:30
阅读次数:
184
1. TextView控件是文本表示控件,主要功能是向用户展示文本的内容,它是不可编辑的,如设置标题;EditText控件是编辑文本控件,主要功能是让用户输入文本的内容,它是可以编辑的。每一个控件都有着与之相应的属性,通过选择不同的属性,给予其值,能够实现不同的效果。2. layout_width属 ...
分类:
移动开发 时间:
2016-10-10 14:16:12
阅读次数:
243
xml布局: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_par ...
分类:
移动开发 时间:
2016-09-28 22:39:20
阅读次数:
299
<?xml
version="1.0"encoding="utf-8"?>-<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"android:orientation="vertical"android:layout_width="match_parent"android:layout_height="match_parent">-<LinearLayoutandroid:orientati..
分类:
其他好文 时间:
2016-09-28 19:58:03
阅读次数:
163
<TableLayoutxmlns: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:stretchColumns="1"tools:context=".MainActivity"><Tabl..
分类:
移动开发 时间:
2016-09-26 18:11:21
阅读次数:
177
做之前需要导入XListview的文件,此是用第三方的xListview实现的,东西没写全。此是在Fragment中实现的 // XListView的布局 <me.XListView android:layout_width="fill_parent" android:layout_height=" ...
分类:
其他好文 时间:
2016-09-23 16:32:14
阅读次数:
161
1 <WebView 2 android:id="@+id/webView" 3 android:layout_width="match_parent" 4 android:layout_height="wrap_content"></WebView> ...
分类:
Web程序 时间:
2016-09-20 18:07:47
阅读次数:
139
注意要导入组件: 属性# onLayout function # 当元素挂载或者布局改变的时候调用,参数为:{nativeEvent: {layout: {x, y, width, height}}}. onLoad function # 加载成功完成时调用此回调函数。 onLoadEnd func ...
分类:
其他好文 时间:
2016-09-16 14:08:14
阅读次数:
166
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_ ...
分类:
其他好文 时间:
2016-09-09 20:30:28
阅读次数:
211
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitCenter"
android:adjustViewBounds="true"/>
分类:
其他好文 时间:
2016-09-09 18:56:49
阅读次数:
122