首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 安卓标签的定制实现

安卓标签的定制实现

  • 资源大小:212.33 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: 安卓 标签 定制 实现

资 源 简 介

Custom implementation of android tabs, that overcomes some of the shortcoming of build in tabs. Due to limitation of Android Tab component I created a custom TabWidget that I am using in couple different projects already. The widget allows us to add custom background and use custom icons, tabs can be Top/Bottom aligned. Currently tabs can launch new Activity and Dialog , when starting new Activity we can use "startActivityForResult" so our tab will get a notification when other activity have finished. This is not a perfect solution as there are some drawbacks to it but it suits me well so I will stick to it till something better comes along; Hint Android gurus we need to be able to start new activities inside existing tab with more customization. Creating a Tab There a two thing that a tab needs con: either R.drawable.id or Drawable Object n Activity set via Intent or Dialog Tab h

文 件 列 表

TabWidgetDemo
.classpath
.project
AndroidManifest.xml
assets
bin
default.properties
gen
lib
res
src

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP