码迷,mamicode.com
首页 >  
搜索关键字:activity_main    ( 863个结果
android.support.v4.widget.DrawerLayout使用
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
ANDROID_MARS学习笔记_S03_004_getAllProviders、LOCATIONLISTENER、getBestProvider
一、代码 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
ANDROID_MARS学习笔记_S02_012_ANIMATION_利用AnimationListener在动画结束时删除或添加组件
一、代码 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
ANDROID_MARS学习笔记_S02_011_ANIMATION_LayoutAnimationController
一、简介 二、代码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
ANDROID_MARS学习笔记_S02_007_Animation第一种使用方式:代码
一、简介 二、代码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
寒假学干货之------LinearLayout.layout.weight
所有原始代码由这个大神写的--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
寒假学干货之------ 初学者关于fragment_main(碎片的困扰)
我们在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
ANDROID_MARS学习笔记_S01原始版_018_SERVICE之Parcel
一、代码 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
ANDROID_MARS学习笔记_S01原始版_017_绑定SERVICE
一、代码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
隐藏各 Activity 中的标题栏和系统的图标栏
1 隐藏系统的图标栏在 setContentView(R.layout.activity_main); 之前增加: 1 getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParam
分类:其他好文   时间:2016-02-16 13:26:18    阅读次数:242
863条   上一页 1 ... 35 36 37 38 39 ... 87 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!