ActivityGroup_Tab.rar

  • 算法搞得头大
    了解作者
  • Java
    开发工具
  • 60KB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • 1 积分
    下载积分
  • 17
    下载次数
  • 2012-10-13 20:12
    上传日期
Android 手机程序中,关于利用ActivityGroup实现Tab的分页标签。
ActivityGroup_Tab.rar
  • ActivityGroup_Tab.docx
    85.8KB
内容介绍
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <meta name="generator" content="pdf2htmlEX"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css"> <link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css"> <link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/622b8e6115da9b288b162337/raw.css"> <script src="https://static.pudn.com/base/js/compatibility.min.js"></script> <script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script> <script> try{ pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({}); }catch(e){} </script> <title></title> </head> <body> <div id="sidebar" style="display: none"> <div id="outline"> </div> </div> <div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/622b8e6115da9b288b162337/bg1.jpg"><div class="c x0 y1 w2 h2"><div class="t m0 x1 h3 y2 ff1 fs0 fc0 sc0 ls0 ws0">&#21033;&#29992;<span class="_ _0"> </span><span class="ff2 sc1">ActivityGroup<span class="_ _0"> </span></span>&#23454;&#29616;<span class="_ _0"> </span><span class="ff2 sc1">Tab<span class="_ _0"> </span></span>&#20998;&#39029;&#26631;&#31614;</div><div class="t m0 x1 h3 y3 ff3 fs0 fc1 sc1 ls0 ws0">1 <span class="ff1 sc2">&#20160;&#20040;&#26159;<span class="_ _0"> </span></span>ActivityGroup<span class="ff1 sc2">&#65311;</span></div><div class="t m0 x1 h4 y4 ff1 fs1 fc2 sc1 ls0 ws0">&#35753;<span class="_ _1"></span>&#25105;<span class="_ _1"></span>&#20204;<span class="_ _1"></span>&#20808;&#30475;<span class="_ _1"></span>&#30475;<span class="_ _1"></span>&#23448;<span class="_ _1"></span>&#26041;<span class="_ _1"></span>&#30340;<span class="_ _1"></span>&#25991;<span class="_ _1"></span>&#26723;<span class="_ _1"></span>&#37324;&#26159;<span class="_ _1"></span>&#24590;<span class="_ _1"></span>&#20040;<span class="_ _1"></span>&#35828;<span class="_ _1"></span>&#30340;<span class="_ _1"></span>&#12290;&#65288;<span class="_ _2"> </span><span class="ff4">PS:<span class="_ _1"></span></span>&#25105;<span class="_ _1"></span>&#20204;&#19979;<span class="_ _1"></span>&#36733;<span class="_ _1"></span>&#30340;<span class="_ _0"> </span><span class="ff4">SD<span class="_ _1"></span>K<span class="_ _0"> </span></span>&#37324;&#38754;<span class="_ _1"></span>&#23601;<span class="_ _1"></span>&#26377;<span class="_ _1"></span>&#65292;<span class="_ _1"></span>&#25171;<span class="_ _1"></span>&#24320;</div><div class="t m0 x1 h4 y5 ff4 fs1 fc2 sc1 ls0 ws0">docs<span class="_ _3"> </span><span class="ff1">&#25991;&#20214;&#22841;&#65292;&#20351;&#29992;&#27983;&#35272;&#22120;&#26597;&#30475;<span class="_ _3"> </span></span>index.html<span class="ff1">&#12290;&#65289;</span></div><div class="t m0 x1 h5 y6 ff4 fs1 fc2 sc1 ls0 ws0">java.lang.Object</div><div class="t m0 x1 h5 y7 ff5 fs1 fc2 sc1 ls0 ws0">&#8627;<span class="ff4">android.content.Context</span></div><div class="t m0 x1 h5 y8 ff5 fs1 fc2 sc1 ls0 ws0">&#8627;<span class="ff4">android.content.ContextWrapper</span></div><div class="t m0 x1 h5 y9 ff5 fs1 fc2 sc1 ls0 ws0">&#8627;<span class="ff4">android.view.ContextThemeWrapper</span></div><div class="t m0 x1 h5 ya ff5 fs1 fc2 sc1 ls0 ws0">&#8627;<span class="ff4">android.app.Activity</span></div><div class="t m0 x1 h5 yb ff5 fs1 fc2 sc1 ls0 ws0">&#8627;<span class="ff4">android.app.ActivityGroup</span></div><div class="t m0 x1 h5 yc ff4 fs1 fc2 sc1 ls0 ws0">Class Overview</div><div class="t m0 x1 h5 yd ff4 fs1 fc2 sc1 ls0 ws0">A screen that contains and runs multiple embedded activities.</div><div class="t m0 x1 h4 ye ff1 fs1 fc2 sc1 ls0 ws0">&#25551;&#36848;&#30340;&#24456;&#31616;<span class="_ _1"></span>&#21333;&#65292;&#23601;&#26159;&#22312;&#19968;&#20010;&#23631;<span class="_ _1"></span>&#24149;&#37324;&#21253;&#21547;&#21450;&#36816;&#34892;&#22810;&#20010;&#23884;<span class="_ _1"></span>&#20837;&#30340;<span class="_ _3"> </span><span class="ff4">Activity<span class="_ _1"></span></span>&#12290;&#20174;&#31867;&#30340;&#32487;&#25215;&#32467;</div><div class="t m0 x1 h4 yf ff1 fs1 fc2 sc1 ls0 ws0">&#26500;&#21487;&#20197;&#30475;&#20986;&#65292;<span class="ff4">ActivityGroup<span class="_ _3"> </span></span>&#20063;&#26159;&#19968;&#20010;<span class="_ _3"> </span><span class="ff4">Activity</span>&#65292;&#20351;&#29992;&#26041;&#27861;&#36319;<span class="_ _3"> </span><span class="ff4">Activity<span class="_ _3"> </span></span>&#31867;&#20284;&#12290;</div><div class="t m0 x1 h3 y10 ff3 fs0 fc1 sc1 ls0 ws0">2 ActivityGroup<span class="_ _0"> </span><span class="ff1 sc2">&#22914;&#20309;&#20351;&#29992;&#65311;</span></div><div class="t m0 x1 h4 y11 ff1 fs1 fc2 sc1 ls0 ws0">&#20026;&#20102;&#20415;&#20110;&#22823;&#23478;&#29702;&#35299;&#65292;&#32473;&#20986;&#23454;&#29616;<span class="_ _3"> </span><span class="ff4">Tab<span class="_ _3"> </span></span>&#20998;&#39029;&#26631;&#31614;&#30340;&#31616;&#21333;&#27969;&#31243;&#22270;&#12290;&#32467;&#26500;&#22914;&#19979;&#65306;</div><div class="t m0 x1 h4 y12 ff1 fs1 fc2 sc1 ls0 ws0">&#39318;&#20808;&#26032;&#24314;&#19968;<span class="_ _1"></span>&#20010;<span class="_ _3"> </span><span class="ff4">Class</span>&#65292;&#20551;&#22914;<span class="_ _1"></span>&#35828;&#21629;&#21517;&#20026;<span class="_ _3"> </span><span class="ff4">TestA<span class="_ _1"></span>ctivity</span>&#65292;&#32487;&#25215;&#33258;<span class="_ _3"> </span><span class="ff4">ActivityGroup<span class="_ _1"></span></span>&#65292;&#37325;&#36733;</div><div class="t m0 x1 h4 y13 ff4 fs1 fc2 sc1 ls0 ws0">protected <span class="_ _1"></span>void<span class="_ _1"></span> onCreate(Bundle <span class="_ _1"></span>savedInstanceState)<span class="_ _4"></span><span class="ff1">&#26041;<span class="_ _1"></span>&#27861;<span class="_ _1"></span>&#65292;<span class="_ _1"></span>&#19979;<span class="_ _1"></span>&#21015;<span class="_ _1"></span>&#20195;<span class="_ _1"></span>&#30721;<span class="_ _1"></span>&#24517;<span class="_ _1"></span>&#19981;</span></div><div class="t m0 x1 h4 y14 ff1 fs1 fc2 sc1 ls0 ws0">&#21487;&#23569;&#65306;</div><div class="t m0 x1 h6 y15 ff6 fs2 fc3 sc1 ls0 ws0"> 1:<span class="fc4"> <span class="fc5">super</span>.onCreate(savedInstanceState);</span></div><div class="t m0 x1 h6 y16 ff6 fs2 fc3 sc1 ls0 ws0"> 2:<span class="fc4"> setContentView(R.layout.main);</span></div><div class="t m0 x1 h4 y17 ff1 fs1 fc2 sc1 ls0 ws0">&#25509;&#19979;&#26469;&#38656;&#35201;&#30475;&#30475;<span class="_ _3"> </span><span class="ff4">main.xml<span class="_ _3"> </span></span>&#35813;&#24590;&#20040;&#20889;&#12290;</div><div class="t m0 x1 h6 y18 ff6 fs2 fc3 sc1 ls0 ws0"> 1:<span class="fc4"> <span class="fc5">&lt;?<span class="fc6">xml</span></span> <span class="fc7">version<span class="fc5">="1.0"</span></span> <span class="fc7">encoding<span class="fc5">="utf-8"</span></span>?<span class="fc5">&gt;</span></span></div></div></div><div class="pi" data-data='{"ctm":[1.611850,0.000000,0.000000,1.611850,0.000000,0.000000]}'></div></div> </body> </html>
评论
    相关推荐
    • Android ScrollableTabHost tab控件.rar
      Android ScrollableTabHost tab控件,辅助类库、实际项目框架参考、比赛练习案例,学习实例,开箱即用。适用于实际项目开发参考、教学案例、毕业设计、出书项目实例、学生面试前能力提升、开发辅助。
    • Android tab 实现子Activity跳转
      项目中需要实现iphone中tabBar效果, 参考了网上大虾们的例子,实现了tab 中的子Activity跳转,...tab bar 的外观可以自己定制,将自带的tab隐藏,控制自定义的view调用tab的动作就可以,代码很简单,这里没有给出。
    • Android Gallery+ActivityGroup实现滑动TAB独立Activity
      Gallery+ActivityGroup实现滑动tab独立的Activity
    • android tab 实现
      NULL 博文链接:https://wenzongliang.iteye.com/blog/2178499
    • android tab切换
      我之前做分页都是用GridView和ActivityGroup实现的 因为觉得TabHost不好用 还有就是自己水平差的原因吧 如果帮的话 重写view任何问题都可以解决 呵呵 下面请看实现过程 其实很简单
    • Android ScrollableTabHost tab控件
      Android ScrollableTabHost tab控件
    • androidtab例子
      androidtab例子,动态tab例子
    • AndroidActivityGroup + GridView 实现Tab分页标签
      很多客户端软件和浏览器软件都喜欢用Tab分页标签来搭建界面框架。读者也许会马上想到使用TabHost 与 TabActivity的组合,其实最常用的不是它们,而是由GridView与ActivityGroup的组合。每当用户在GridView选中一项,...
    • android Tab自定义
      Android下实现对TabHost的重写,并实现tab位于底端。很不错的。
    • AndroidActivityGroup实现Tab分页标签
      ActivityGroup 使用实现tab分页标签,保存Activity状态、使用子Activity的Menu