Je n'arrive pas à comprendre pourquoi la couleur blanche est visible en bas de la mise en page. J'utilise view pager contenant diverses pages.Layout contient l'image de fond de mise en page et deux affichage de texte. Le problème est que la couleur blanche apparaît sur certaines pages.Couleur blanche en bas de la mise en page
Ma mise en page
<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 pour une vue Déclaration pager
<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>
Afficher xml pour afficher la déclaration du téléavertisseur. Télécharger également la capture d'écran de l'écran qui montre la couleur blanche. –
première chose que vous devriez faire est que vous devriez faire la mise en forme correcte avec votre vue, c'est une vue désordonnée ... utiliser ctrl + shift + f si vous utilisez Windows –
Xml pour voir la déclaration pager ajouté – Rims