![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android 组件
文章平均质量分 57
过瘾饺子
这个作者很懒,什么都没留下…
展开
-
自定义表盘
package com.paad.compass; import android.content.Context; import android.content.res.Resources; import android.graphics.Canvas; import android.graphics.Paint; import android.os.Handler; import androi原创 2015-04-10 17:16:35 · 712 阅读 · 0 评论 -
自定义textview
package com.paad.todolist; import android.content.Context; import android.content.res.Resources; import android.graphics.Canvas; import android.graphics.Paint; import android.util.AttributeSet; impor原创 2015-04-08 22:46:50 · 404 阅读 · 0 评论 -
EditText+Button组合自定义视图
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="wrap_content"> <EditText原创 2015-04-09 16:40:55 · 537 阅读 · 0 评论 -
android Fragment适配手机屏板
项目目录 1,适配手机480*800 density=240 2,适配平板 1280*800 density=160 package com.example.fragmentdemo; import android.os.Bundle; import android.app.Activity; import android.view.Menu; publ原创 2015-04-30 15:26:06 · 630 阅读 · 0 评论 -
android:clipChildren属性
android:layout_width="match_parent" android:layout_height="match_parent" android:clipChildren="false" android:orientation="vertical" > android:id="@+id/view_pager"转载 2015-01-15 15:09:52 · 1905 阅读 · 0 评论 -
Android ViewTreeObserver简介
Android ViewTreeObserver简介 一、结构 public final class ViewTreeObserver extends Object java.lang.Object android.view.ViewTreeObserver 二、概述 这是一个注册监听转载 2015-01-15 10:06:11 · 507 阅读 · 0 评论 -
教你自定义progressbar
通过其定义progressbar的背景和进度条颜色达到美化自己的progressbar的效果。 1,首先准备两张图片,一张做背景,一张做进度条颜色。 2,定义一个xml文件配置这两张图片 <item android:id="@android:id/background" android:drawable="@drawable/progressba原创 2013-06-05 10:40:18 · 711 阅读 · 2 评论