一、 1 public class CountriesActivity extends Activity { 2 protected void onCreate(Bundle icicle) { 3 super.onCreate(icicle); 4 setContentView(R.layout.
分类:
移动开发 时间:
2016-02-12 17:31:23
阅读次数:
368
1.strings.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <resources> 3 4 <string name="app_name">S02_E01_SpinnerEtc</string> 5 <string name="hello_wor
分类:
移动开发 时间:
2016-02-12 16:19:54
阅读次数:
243
1.xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="
分类:
移动开发 时间:
2016-02-12 14:01:11
阅读次数:
253
1.xml 1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 xmlns:tools="http://schemas.android.com/tools" 3 android:layout_w
分类:
移动开发 时间:
2016-02-12 14:00:54
阅读次数:
150
1.xml 1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 xmlns:tools="http://schemas.android.com/tools" 3 android:layout_w
分类:
移动开发 时间:
2016-02-12 12:52:33
阅读次数:
335
1. 1 <?xml version="1.0" encoding="utf-8"?> 2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:layout_width="match
分类:
移动开发 时间:
2016-02-11 18:00:57
阅读次数:
258
一、介绍 二、1.linear_layout.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 andro
分类:
移动开发 时间:
2016-02-08 21:24:42
阅读次数:
281
一、ImageView介绍 设置scalType Must be one of the following constant values. ConstantValueDescription matrix 0 Scale using the image matrix when drawing. Se
分类:
移动开发 时间:
2016-02-08 21:21:59
阅读次数:
235
一、 1.checkbox_layout.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android
分类:
移动开发 时间:
2016-02-08 17:21:55
阅读次数:
245
一、dpi、dp介绍 sp会随着用户在手机中设置字体大小而改变,而dp不会 二、1.dpsp_layout.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.andro
分类:
移动开发 时间:
2016-02-08 17:19:49
阅读次数:
176