1

In Landscape mode video view is covering 3/4 part of screen . how to make it full screen?

Thanks

XXX
  • 8,996
  • 7
  • 44
  • 53
user609289
  • 15
  • 1
  • 3

1 Answers1

0

If you want to play video in full screen, then just add these changes in your Androidmanifest.xml file. Just add these two lines in android manifest file:

 android:theme="@android:style/Theme.NoTitleBar.Fullscreen" 
 android:configChanges="orientation|screenSize"

Like in my androidmanifest.xml file i have added it

  <activity
        android:name="com.appliconic.straminglivevideo.MainActivity"
        android:theme="@android:style/Theme.NoTitleBar.Fullscreen" 
        android:configChanges="orientation|screenSize"
        android:label="@string/app_name" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
Pir Fahim Shah
  • 10,505
  • 1
  • 82
  • 81