activity_main.xml布局如下: <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.
分类:
移动开发 时间:
2016-02-20 18:55:25
阅读次数:
310
一、代码 1.xml(1)activity_main.xml 1 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> 2 <uses-permission android:name="android.pe
分类:
移动开发 时间:
2016-02-20 17:20:56
阅读次数:
258
一、代码 1.xml(1)activity_main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 3
分类:
移动开发 时间:
2016-02-19 20:33:40
阅读次数:
242
一、简介 二、代码1.xml(1)activity_main.xml 1 <ListView 2 android:id="@id/android:list" 3 android:layout_width="wrap_content" 4 android:layout_height="wrap_con
分类:
移动开发 时间:
2016-02-19 18:39:49
阅读次数:
260
一、简介 二、代码1.xml(1)activity_main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/androi
分类:
移动开发 时间:
2016-02-19 15:54:55
阅读次数:
262
所有原始代码由这个大神写的--http://www.cnblogs.com/zhangs1986/archive/2013/01/17/2864237.html layout/activity_main下 <LinearLayout xmlns:android="http://schemas.and
分类:
其他好文 时间:
2016-02-16 23:26:35
阅读次数:
260
我们在activity_main中编写的框架,会被fragment_main中的取代掉,是因为新版的ADT为了配合平板Android3.0开发 起作用的代码在MainActivity.java中 1 package com.myprogram.text_two; 2 3 import android
分类:
其他好文 时间:
2016-02-16 21:57:44
阅读次数:
243
一、代码 1.xml(1)activity_main.xml 1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 xmlns:tools="http://schemas.android.com/
分类:
移动开发 时间:
2016-02-16 18:34:13
阅读次数:
190
一、代码1.xml(1)activity_main.xml 1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 xmlns:tools="http://schemas.android.com/t
分类:
移动开发 时间:
2016-02-16 18:27:54
阅读次数:
181
1 隐藏系统的图标栏在 setContentView(R.layout.activity_main); 之前增加: 1 getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParam
分类:
其他好文 时间:
2016-02-16 13:26:18
阅读次数:
242