-
自定义TextView
解决textView的换行问题
- 2021-03-13 18:19:24下载
- 积分:1
-
TestMap
android testmap
在android手机上实现基础的googlemap功能(the android phone android testmap based googlemap functions to achieve)
- 2011-05-23 13:46:46下载
- 积分:1
-
Cards-UI-master
卡片式View,支持单个卡片,item为卡片的ListView
使用:
CardListView list = ...
list.setCardTheme(CardTheme.Dark)
CardAdapter adapter = new CardAdapter(this, android.R.color.holo_blue_dark)
list.setAdapter(adapter)
// Alternatively, you can pass a context and string resources in place of strings
// CardHeader has an optional second parameter for a subtitle
CardHeader header = new CardHeader( I m a header )
// You can optionally set an action to the header
// Specifying no action title will default to See More
header.setAction( See More , new CardHeader.ActionListener() {
@Override
public void onHeaderActionClick(CardHeader header) {
// Do whatever you want
}
})
// Add the header to the adapter, automatically notifies the list
adapter.add(header)
// Again, you can pass a context and string resources in place of strings
Card card = new Card( Hello , My name is Aidan )
adapter.add(card) (This library is no longer maintained, as this implementation is generally frowned upon in the new Google Material design guidelines, excluding certain situations (like Google Keep type UI). See the new CardView APIs in the Support Library.)
- 2015-01-24 15:06:35下载
- 积分:1
-
android 异步加载网络图片 例子 附完整源码
android 异步加载网络图片 例子 附完整源码
- 2013-07-04下载
- 积分:1
-
Android TextView 文字片点击特效、点击事件监听
应用背景实现了TextView 文字片段 点击/长按 事件监听 以及点击特效关键技术
在自定义Span中对TextPaint的color、bgcolor等属性设置选中时的文字颜色,背景色、
在自定义MovementMethod中对touchevent,分别对action_down,action_move,action_up进行处理
- 2022-12-08 01:00:03下载
- 积分:1
-
Android 创建备忘录及闹铃提醒的例子
Android 创建备忘录的例子,可自定义备忘录内容,自定义时间和自定义提醒闹钟的类型、铃声等。相关代码:
c.setTimeInMillis(System.currentTimeMillis());//设置当前时间
c.set(Calendar.HOUR_OF_DAY, hourOfDay);//设置小时
c.set(Calendar.MINUTE, minute);//设置分钟
c.set(Calendar.SECOND, 0);//设置秒
c.set(Calendar.MILLISECOND, 0);//设置毫秒
Intent intent=new Intent(Sample6_12_Activity.this,AlarmReceiver.class);//运行AlarmReceiver类
PendingIntent pi=PendingIntent.getBroadcast(//创建PendingIntent对象
Sample6_12_Activity.this, 0, intent, 0);
AlarmManager alarm=(AlarmManager)Sample6_12_Activity.this.getSystemService(ALARM_SERVICE);
alarm.set(AlarmManager.RTC_WAKEUP, c.getTimeInMillis(), pi);//设置闹钟提醒一次
alarm.setRepeating(AlarmManager.RTC_WAKEUP, c.getTimeInMillis(), 120000, pi);//每两分钟提醒一次
String tempHour=(hourOfDay+"").length()>1?hourOfDay+"":"0"+hourOfDay;
String tempMinute=(minute+"").length()>1?minute+"":"0"+minute;
- 2022-02-05 23:21:02下载
- 积分:1
-
AndroidGesturePassword
安卓手机的手势密码源码,用户可以设置九宫格密码并校验。(gesture password on android)
- 2013-12-14 20:35:19下载
- 积分:1
-
STM32F103RCT6最小系统板和原理图
STM32F103RCT6最小系统板和原理图,Altium designer16工程文件,实际测过可用
- 2019-04-15下载
- 积分:1
-
MPAndroidChart-master
android chart:MPAndroidChat
- 2014-12-24 10:45:46下载
- 积分:1
-
Android 手机联网对战 中国象棋 游戏源码
程序分为客户端和服务端客户端:android 程序服务端:Java语言实现,数据库为 MySQL用到了 Socket 和 多线程
- 2022-05-05 17:37:25下载
- 积分:1