ITeye博客

Android

共 6 篇文章

Android 各种布局技术-五大布局对象

android:layout_width只能设置fill_parent(横向填充整个屏幕)或wrap_content(横向填充控件本身大小) android:width设置具体控件的横向大小 单位是像素 FrameLayout, LinearLayout , AbsoluteLayout, RelativeLayout, TableLayout. ----- FrameLayout----- Demo1: activity_main.xml ok <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" x…

2012-11-22 15:04 · Android

Android Component 简介

android:layout_width只能设置fill_parent(横向填充整个屏幕)或wrap_content(横向填充控件本身大小) android:width设置具体控件的横向大小 单位是像素 -------------

2012-11-22 15:03 · Android · Android

Android 短信发送

activity_main.xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="wrap_content" android:layout_height="match_parent" > <DigitalClock android:id="@+id/digitalClock1" android:layout_width="wrap_content" an…

2012-11-13 15:57 · Android

android中The connection to adb is down 解决方法

运行eclipse执行android应用,控制台报错: [2012-11-13 13:37:07 - DemoSong] The connection to adb is down, and a severe error has occured. [2012-11-13 13:37:07 - DemoSong] You must restart adb and Eclipse. [2012-11-13 13:37:07 - DemoSong] Please ensure that adb is correctly located at 'C:\android-sdks\android-sdk…

2012-11-13 13:38 · Android

Android - Eclipse 基础修改

1:更改APP的icon图标: APP的icon在Project/AndroidManifest.xml文件中 e.g. <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="cn.itcast.app" android:versionCode="1" android:versionName="1.0"> <application android:icon="@drawable/donkeysmall" andro…

2012-11-08 23:05 · Android · Eclipse · Android

android环境搭建 ADT(jdk+eclipse+android sdk)

android环境搭建 ADT(jdk+eclipse+android sdk) (1) java JDK 安装,略,我本机装的是1.6.0_37; (2)下载Android sdk. 官网: http://developer.android.com/sdk/index.html 我这里下载的是 android-sdk_r20.0.3-windows.zip 后,解压缩到c盘android-sdk-windows目录下。 (3) 根据andro官网推荐,下载Eclipse classic版本的eclipse (4)Eclipse 插件ADT安装。 参加android官网提示: Downloa…

2012-11-06 23:56 · Android