I'm trying to create a ViewPager that takes up the entire screen. Inside each fragment of the ViewPager, I have an ImageView that displays a semi-transparent picture.
For some reason, when I try my solution on a Galaxy Nexus (4.0.4), it leaves a border on the left and right side of the ViewPager, as shown below:
I've tried this on the following devices and it does not give that problem:
- Nexus S (4.1.1)
- Nexus One (2.3.6)
- Evo 4G (CM7.2, 2.3.7)
- Android emulator
Would anyone be able to take a look at the simplified source code and help me out (especially if you have a Galaxy Nexus)? Thanks!
Btw, this is an attempt to solve an earlier question myself, for which I couldn't get a proper answer.