Я не могу понять, почему белый цвет отображается в нижней части макета. Я использую просмотр пейджера, содержащего различные страницы. Вкладка содержит макет фонового изображения и два текстовых вида. Проблема в том, что на некоторых страницах отображается белый цвет.Белый цвет в нижней части макета
Мой Компоновка
<Relative Layout
android:id="@+id/layouts"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<Scroll View
android:layout_width="fill_parent"
android:layout_height="wrap_content"
>
<Linear Layout
android:id="@+id/images"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
>
<Text View
android:id="@+id/text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
/>
<Text View
android:id="@+id/footer"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="bottom"
android:layout_gravity="center_horizontal"
/>
</Linear Layout>
</Scroll View>
</Relative Layout>
XML для зрения пейджера декларации
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<android.support.v4.view.ViewPager
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/mypager"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<!-- The main content view -->
<FrameLayout
android:id="@+id/content_frame"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<!-- The navigation drawer -->
<ListView
android:id="@+id/drawer_list"
android:layout_width="260dp"
android:layout_height="match_parent"
android:layout_gravity="start"
android:background="#111"
android:choiceMode="singleChoice"
android:divider="#FFCC00"
android:dividerHeight="1dp" />
</android.support.v4.widget.DrawerLayout>
Показать xml для представления объявления пейджера. Также загрузите снимок экрана, который показывает белый цвет. –
Первое, что вам нужно сделать, это то, что вы должны сделать правильное форматирование с помощью своего вида, его беспорядочный вид ... использовать ctrl + shift + f, если вы используете окна –
Xml для просмотра объявления пейджера добавлено – Rims