首頁 收藏 QQ群
 網(wǎng)站導(dǎo)航

ZNDS智能電視網(wǎng) 推薦當(dāng)貝市場

TV應(yīng)用下載 / 資源分享區(qū)

軟件下載 | 游戲 | 討論 | 電視計算器

綜合交流 / 評測 / 活動區(qū)

交流區(qū) | 測硬件 | 網(wǎng)站活動 | Z幣中心

新手入門 / 進(jìn)階 / 社區(qū)互助

新手 | 你問我答 | 免費刷機救磚 | ROM固件

查看: 12560|回復(fù): 0
上一主題 下一主題
[案例]

listview 中內(nèi)容覆蓋了屏幕底部 Tab選項

[復(fù)制鏈接]
跳轉(zhuǎn)到指定樓層
樓主
發(fā)表于 2013-8-28 16:29 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
2<TabHost android:id="@+id/tabhost" xmlns:android="http://schemas.android.com/apk/res/android"   
    android:orientation="vertical"   
     android:layout_width="fill_parent"   
    android:layout_height="fill_parent"   
   
    >   
    <RelativeLayout   
        android:orientation="vertical"   
        android:layout_width="fill_parent"   
        android:layout_height="fill_parent"   
   
        >   
        <TabWidget android:id="@android:id/tabs"   
            android:layout_width="fill_parent"   
             android:layout_height="wrap_content"   
            android:layout_alignParentBOTTom="true"   
   
   
            />   
        <FrameLayout android:id="@android:id/tabcontent"   
            android:layout_width="fill_parent"   
             android:layout_height="fill_parent"   
   
             >   
            <LinearLayout android:id="@+id/tab1"   
                android:layout_width="fill_parent"   
                android:layout_height="fill_parent"   
   
               android:orientation="vertical">   
   
   
                                       
                                        <ListView   
                                android:id="@+id/datalist"   
                                android:layout_width="fill_parent"   
                                android:stackFromBottom="true"   
                                android:transcriptMode="alwaysScroll"   
                                android:layout_height="wrap_content"/>   
                     
   
   
   
            </LinearLayout>   
            <LinearLayout android:id="@+id/tab2"   
                android:layout_width="fill_parent"   
                android:layout_height="fill_parent"   
                android:orientation="vertical">   
                                 
                            <ListView   
                                android:id="@+id/xmxxdatalist"   
                                android:transcriptMode="alwaysScroll"   
                                android:stackFromBottom="true"   
                                android:layout_width="fill_parent"   
                                android:layout_height="wrap_content"/>   
   
            </LinearLayout>   
                           
   
            <LinearLayout android:id="@+id/tab3"   
                android:layout_width="fill_parent"   
                android:layout_height="fill_parent"   
                                  android:layout_weight="1"   
                android:orientation="vertical">   
   
                <ListView   
   
                                android:id="@+id/zxxxdatalist"   
                           
                                android:transcriptMode="alwaysScroll"   
                                android:layout_width="fill_parent"   
                           
                  
                                android:layout_height="wrap_content"/>   
   
   
   
            </LinearLayout>   
            <LinearLayout android:id="@+id/tab4"   
                android:layout_width="fill_parent"   
                android:layout_height="fill_parent"   
   
                android:orientation="vertical">   
   
                <ListView   
                                android:id="@+id/qtxxdatalist"   
                                android:transcriptMode="alwaysScroll"   
                                   
                           
                                android:layout_width="fill_parent"   
                                   
                                android:layout_height="wrap_content"/>   
   
            </LinearLayout>   
        </FrameLayout>   
    </RelativeLayout>   
</TabHost>   
   
悲劇的效果如下:   
   
     
   
   
   

上一篇:Android騰訊微薄客戶端開發(fā)十三:提及篇(與我有關(guān)的微博)
下一篇:Android對話框dialog大全(代碼直接可用).docx
您需要登錄后才可以回帖 登錄 | 立即注冊

本版積分規(guī)則

Archiver|新帖|標(biāo)簽|軟件|Sitemap|ZNDS智能電視網(wǎng) ( 蘇ICP備2023012627號 )

網(wǎng)絡(luò)信息服務(wù)信用承諾書 | 增值電信業(yè)務(wù)經(jīng)營許可證:蘇B2-20221768 丨 蘇公網(wǎng)安備 32011402011373號

GMT+8, 2024-10-21 03:10 , Processed in 0.050822 second(s), 13 queries , Redis On.

Powered by Discuz!

監(jiān)督舉報:report#znds.com (請將#替換為@)

© 2007-2024 ZNDS.Com

快速回復(fù) 返回頂部 返回列表