-
超绚的圆形菜单
安卓屏幕上超酷超炫的圆形滑动菜单,以圆形轨迹替换以往的直线排列的控件拜访方式,可以自适应屏幕大小和分辨率。
- 2023-03-13 21:35:03下载
- 积分:1
-
android联系人带字母检索源码
android联系人带字母检索源码/** * 联系人列表适配器。 * * @author guolin */public class ContactAdapter extends ArrayAdapter { /** * 需要渲染的item布局文件 */ private int resource; /** * 字母表分组工具 */ private SectionIndexer mIndexer; public ContactAdapter(Context context, int textViewResourceId, List objects) { super(context, textViewResourceId, objects); resource = textViewResourceId; } @Override public View getView(int position, View convertView, ViewGroup parent) { Contact contact = getItem(position); LinearLayout layout = null; if (convertView == null) { layout = (LinearLayout) LayoutInflater.from(getContext()).inflate(resource, null); } else { layout = (LinearLayout) convertView; } TextView name = (TextView) layout.findViewById(R.id.name); LinearLayout sortKeyLayout = (LinearLayout) layout.findViewById(R.id.sort_key_layout); TextView sortKey = (TextView) layout.findViewById(R.id.sort_key); name.setText(contact.getName()); int section = mIndexer.getSectionForPosition(position); if (position == mIndexer.getPositionForSection(section)) { sortKey.setText(contact.getSortKey()); sortKeyLayout.setVisibility(View.VISIBLE); } else { sortKeyLayout.setVisibility(View.GONE); } return layout; } /** * 给当前适配器传入一个分组工具。 * * @param indexer */ public void setIndexer(SectionIndexer indexer) { mIndexer = indexer; }}
- 2014-04-13下载
- 积分:1
-
Android 毛玻璃 登录框特效
Android 制作毛玻璃效果的手机界面例子,完美实现毛玻璃登录框,当用户单击按钮时,弹出用户登录框,背景变为毛玻璃特效,实际上这种效果是把一张图片模糊处理了,这种效果在Android手机中还是挺常见的,有种艺术效果,将图像Blur模糊化是本源码实现的核心,运行效果请参见测试截图。
- 2022-03-18 03:50:06下载
- 积分:1
-
视频压缩
视频压缩
- 2013-11-03下载
- 积分:1
-
android h264 编码
android 用新api mediacodec硬编码h264, 发送到vlc播放。
- 2022-09-12 20:00:04下载
- 积分:1
-
java 绘制图形 示例代码
java 绘制图形 示例代码
- 2014-12-18下载
- 积分:1
-
订餐服务
Android 项目排序菜单在任何餐厅或书一张桌子等。Android 操作系统项目,而不必直接命令菜单、 付账等用来书表中任何一家餐馆。
- 2022-08-23 18:00:44下载
- 积分:1
-
Android事件总线
Android事件总线。简化组件间的通信,使代码更简单。体积小,便于安装部署。
- 2022-01-25 23:24:30下载
- 积分: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
-
WebRTC视频源码demo
WebRTC视频源码demo,可以编译运行,要求Android4.0以上版本运行。
- 2022-05-24 08:29:04下载
- 积分:1