android 特效
在奋斗的大道
程序发烧友
展开
-
android 弹出式对话框实现自定义菜单栏
第一步:创建菜单项实体类(Menu) /** * 菜单栏选项类 */ public class Menu { //标题 private String title; //Id(图片Id) private int iconID; public Menu(String title, int iconID) { super(); this.titl原创 2013-09-04 15:27:20 · 4111 阅读 · 0 评论 -
android 自定义标题栏
近日 需要在android的标题栏上添加返回按钮,所以对android的标题栏进行了一下简单的研究~ 第一步: 向实现自定义标题栏的Activity的onCreate方法里这样写 public void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCre原创 2013-09-04 11:29:30 · 868 阅读 · 0 评论 -
android 底部菜单栏(仿微信顶部菜单栏)
效果截图: 布局文件: tabhost.xml <TabHost xmlns:android="http://schemas.android.com/apk/res/android" android:id="@android:id/tabhost" android:layout_width="fill_parent" android:layout_hei原创 2013-09-04 14:18:07 · 3079 阅读 · 1 评论