随笔分类 -  安卓

摘要:只有三步 1、创建一个Java类CircleImageView把下面的代码复制过去,报错的导包 package de.hdodenhof.circleimageview; import edu.njupt.zhb.main.R; import android.content.Context; imp 阅读全文
posted @ 2017-06-22 10:39 博了个客。 阅读(294) 评论(0) 推荐(0)
摘要:<?xml version="1.0" encoding="utf-8"?><FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android 阅读全文
posted @ 2017-05-18 19:12 博了个客。 阅读(155) 评论(0) 推荐(0)
摘要:<ImageButton android:layout_height="fill_parent" android:layout_width="wrap_content" android:src="@drawable/a" > </ImageButton> <TimePicker android:id 阅读全文
posted @ 2017-05-18 17:58 博了个客。 阅读(374) 评论(0) 推荐(0)
摘要:<RadioGroup android:layout_width="fill_parent" android:layout_height="wrap_content" android:checkedButton="@+id/rb2" > <RadioButton android:id="@+id/r 阅读全文
posted @ 2017-05-18 17:56 博了个客。 阅读(545) 评论(0) 推荐(0)
摘要:<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android 阅读全文
posted @ 2017-05-18 17:42 博了个客。 阅读(135) 评论(0) 推荐(0)
摘要:1.开发Activity步骤 第一步:写一个类继承Activity 第二步:重写oncreate方法 第三步:在主配置文件中注册Activity <activity android:name=".类名" android:label="@string/app_name"> <intent-filter 阅读全文
posted @ 2017-05-18 17:38 博了个客。 阅读(130) 评论(0) 推荐(0)