Ранее я использовал обычные расширения AppActivity для открытого класса MainActivity. все хорошо, и отображение приложения действительно полноэкранное, но после того, как я использую AppCompatActivity на расширяет, происходит то, что приложение, которое я сделал внезапно, с черным пустым пространством внизу, это очень раздражает. https://i.stack.imgur.com/FyPNh.png
Следующий код находится в main.xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:gravity="center"
android:background="#FFFFFF">
<WebView
android:id="@+id/webView"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:visibility="visible" />
<TextView
android:layout_height="wrap_content"
android:text="WebView SplashScreen"
android:textAppearance="?android:attr/textAppearanceLarge"
android:layout_width="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:textSize="45sp"
android:textColor="#01A1FC"
android:id="@+id/splash"
android:visibility="gone" />
</RelativeLayout>
затем, styles.xml для res / values
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>item>
</style>
<style name="NoActionBar" parent="Theme.AppCompat.Light.NoActionBar">
</style>
</resources>
, и это то, что я написалв AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.sdev.nillacollection" >
<uses-permission
android:name="android.permission.INTERNET" />
<uses-permission
android:name="android.permission.ACCESS_NETWORK_STATE" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/NoActionBar">
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:screenOrientation="portrait" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
, пожалуйста, помогите мне и большое спасибо:)