How can i get the pager view as a full screen in android? Please help.I already have a pager but it is not extending to full size.Its width is being covered, but not the height.
Asked
Active
Viewed 105 times
2 Answers
1
Add your manifest on your activity which you want to show full screen
<activity
android:name="com.your_package.YourActivity"
android:theme="@android:style/Theme.NoTitleBar" >
</activity>

Batuhan Coşkun
- 2,961
- 2
- 31
- 48
-
I want the title bar but it should cover up the entire screen – CoderDecoder Dec 11 '13 at 09:55
-
android:theme="@android:style/Theme.NoTitleBar.FullScreen" try that instead of above – Batuhan Coşkun Dec 11 '13 at 09:58
-
I wanted the full activity screen with TITLE BAR – CoderDecoder Dec 11 '13 at 10:00
-
So, you should change width and height of your activity's layout to fill_parent – Batuhan Coşkun Dec 11 '13 at 10:05
0
Are you using match_parent for layout_height and layout_width?
<android.support.v4.view.ViewPager
android:id="@+id/viewpager"
android:layout_width="match_parent"
android:layout_height="match_parent"/>

Shashika
- 1,151
- 1
- 9
- 21