732003684

导航

2013年1月7日 #

几种tabhost的总结(1)

摘要: 一,利用tabwidget切换的效果如图一。布局 main.xml<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation=" 阅读全文

posted @ 2013-01-07 11:51 732003684 阅读(284) 评论(0) 推荐(0)

2013年1月5日 #

将activity转化成view

摘要: package com.ct.views;import android.app.Activity;import android.app.ActivityGroup;import android.app.LocalActivityManager;import android.content.Context;import android.content.Intent;import android.os.Bundle;import android.view.View;import android.view.ViewGroup;import android.view.Window;public cla 阅读全文

posted @ 2013-01-05 17:58 732003684 阅读(4970) 评论(0) 推荐(0)

2012年12月27日 #

切换浏览示意图

摘要: 一:布局<?xml version="1.0" encoding="utf-8"?><FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > <androi 阅读全文

posted @ 2012-12-27 16:02 732003684 阅读(335) 评论(0) 推荐(0)

低栏的项目切换

摘要: 一;布局<?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/mainweixin" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orient 阅读全文

posted @ 2012-12-27 15:46 732003684 阅读(507) 评论(0) 推荐(0)

微信摇一摇

摘要: 一:布局:<?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" android:bac 阅读全文

posted @ 2012-12-27 15:40 732003684 阅读(520) 评论(0) 推荐(0)

iphone 式退出

摘要: 一:布局<?xml version="1.0" encoding="UTF-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" > <LinearLayout android:layout_width="fil 阅读全文

posted @ 2012-12-27 15:36 732003684 阅读(177) 评论(0) 推荐(0)

2012年12月25日 #

android edittext 限制文本框输入的长度和提示信息

摘要: package com.hwtt.android.oa.tool;import android.content.Context;import android.text.InputFilter;import android.text.Spanned;import android.widget.EditText;import android.widget.Toast;/** * 字符串处理 * @author Administrator * */public class StringUtils { /** * 提示输入内容超过规定长度 * @param contex... 阅读全文

posted @ 2012-12-25 16:56 732003684 阅读(5164) 评论(0) 推荐(1)

2012年12月13日 #

android如何调用dotnet编写的webservice

摘要: http://www.cnblogs.com/strayromeo/ 阅读全文

posted @ 2012-12-13 14:58 732003684 阅读(111) 评论(0) 推荐(0)

2012年12月12日 #

取消logcat输出

摘要: http://blog.sina.com.cn/s/blog_5de73d0b0100zxs5.html 阅读全文

posted @ 2012-12-12 16:55 732003684 阅读(192) 评论(0) 推荐(0)

2012年11月25日 #

等待的那个卷卷的

摘要: 主要是等待框加入到屏幕正中package com.ct.waiting;import android.app.Activity;import android.os.Bundle;import android.view.View;import android.view.View.OnClickListener;import android.widget.Button;public class MainActivity extends Activity implements OnClickListener { /** Called when the activity is first cre... 阅读全文

posted @ 2012-11-25 17:05 732003684 阅读(152) 评论(0) 推荐(0)