Place an arrow in viewPager indicating to pass the photo

Asked

Viewed 107 times

0

I’m using this viewPager to make a kind of gallery

 <android.support.v4.view.ViewPager
    android:id="@+id/galeria"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_marginBottom="40dp"
    />

I’m wondering if have how I put this arrow to indicate that have more photos

inserir a descrição da imagem aqui

  • I believe the photos come in the form of a list of some Webservice, right? You can simply check the size of this list and show or not the next button

  • and I’m gonna do it

  • 1

    Ilgner, you would have to use Framelayout with a View above the Viewpager, take a look at my answer: http://answall.com/questions/48356/como-leave-imageview-behind the buttons/48365#48365 can help you.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.