Android 选项卡(TabHost)例子(2)

android:layout_width="wrap_content"
                                           

android:layout_height="wrap_content"
                                           

android:layout_gravity="center"
                                            android:src="@drawable/home"/>
                            </LinearLayout>
                            <LinearLayout
                                    android:id="@+id/tab2"
                                    android:orientation="vertical"
                                    android:layout_width="fill_parent"
                                    android:layout_height="fill_parent"
                                    android:paddingTop="20dip">
                                    <ImageView
                                           

android:layout_width="wrap_content"
                                           

android:layout_height="wrap_content"
                                           

android:layout_gravity="center"
                                           

android:src="@drawable/garbage"/>
                                    </LinearLayout>
                            <LinearLayout
                                    android:id="@+id/tab3"
                                    android:orientation="vertical"
                                    android:layout_width="fill_parent"
                                    android:layout_height="fill_parent"
                                    android:paddingTop="20dip">
                                    <ImageView
                                           

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wwgyjf.html