一个布局问题 看图说话:以前的新闻1,新闻2 ,新闻3 就是一个tab 现在加了一个右侧的返回按钮请问这个怎么加? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 我用tabAcitivity的 怎么相对? 就这个啊<?xml version="1.0" encoding="UTF-8"?><FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" > <ImageView android:id="@+id/tab_imageview_icon" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="18dip" android:scaleType="fitCenter" /></FrameLayout> 这个只能用FrameLayout 才能搞定 在FrameLayout 外面再套一层布局 抱歉,我还是没有实现,能否给一个demo QQ:250495378 这个貌似2个方法一个重写TAB的类,第二个就是全部做成button类型的布局 感觉各位的回答,一天的时间,还是没有搞出结果来但也得到点经验1,如果布局里面强制加一个BUTTON 是可以的 但tab是自成一体的 so 整个界面就成了两部分,一tab左边 button右边 见图片 显然不能结果2,把返回按钮 当着tab的第四个标签,通过调整每个tab间距 可以做到图片上的效果 但因为没有tab绑定了一个activity,这个就有点瑕疵了: 点击返回的的瞬间,先进入绑定的这个activity中,然后再退出 我目前接受第二种或者改BUTTON 实现 撸主有没有试过用 ActivityGroup来模拟TabActivity,我做的一个项目目前就用到了这个 现在上3.0已经有fragments了,可以代替activitygroup,你可以试一下 Android新手,初来乍到,有问题请教各位。 程序无操作自动退出 Android GridView问题 多客户端通过服务器相互通信该怎样实现 请问移动应用的广告盈利模式问题 使用mrdir建立文件夹时为何出现readonly错误。 新手上路,等待明人之路! 自定义进度条相关问题 新手发问,android studio 自动import怎么清除默认值 统计arraylist数据遇到的问题 eclipse上android开发时 debug问题 HttpURLConnection用post上传大文件的问题
我用tabAcitivity的 怎么相对?
就这个啊<?xml version="1.0" encoding="UTF-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical" > <ImageView
android:id="@+id/tab_imageview_icon"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="18dip"
android:scaleType="fitCenter" /></FrameLayout>
抱歉,我还是没有实现,能否给一个demo
QQ:250495378
但也得到点经验
1,如果布局里面强制加一个BUTTON 是可以的
但tab是自成一体的 so 整个界面就成了两部分,一tab左边 button右边 见图片
显然不能结果2,把返回按钮 当着tab的第四个标签,通过调整每个tab间距 可以做到图片上的效果
但因为没有tab绑定了一个activity,这个就有点瑕疵了:
点击返回的的瞬间,先进入绑定的这个activity中,然后再退出 我目前接受第二种或者改BUTTON 实现