diff options
-rw-r--r-- | android/AndroidManifest.xml | 45 | ||||
-rw-r--r-- | android/res/layout/main.xml | 5 | ||||
-rw-r--r-- | android/res/layout/picker_entry.xml | 6 | ||||
-rw-r--r-- | android/res/values/theme.xml | 7 |
4 files changed, 29 insertions, 34 deletions
diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index f4c0bc7d..612086c4 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -1,28 +1,33 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" - package="com.artifex.mupdf" - android:versionCode="1" - android:versionName="@string/version"> + package="com.artifex.mupdf" + android:versionCode="1" + android:versionName="@string/version"> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> - <supports-screens android:smallScreens="true" - android:normalScreens="true" - android:largeScreens="true" - android:anyDensity="true" /> + <supports-screens + android:smallScreens="true" + android:normalScreens="true" + android:largeScreens="true" + android:anyDensity="true" /> <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="11"/> - <application android:label="@string/app_name" - android:icon="@drawable/icon" - android:debuggable="true" - android:hardwareAccelerated="true"> - <activity android:name="ChoosePDFActivity" - android:label="@string/app_name"> + <application + android:label="@string/app_name" + android:icon="@drawable/icon" + android:debuggable="true" + android:hardwareAccelerated="true"> + <activity + android:name="ChoosePDFActivity" + android:theme="@android:style/Theme.Light" + android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.LAUNCHER"/> </intent-filter> </activity> - <activity android:name="MuPDFActivity" - android:label="@string/app_name" - android:theme="@android:style/Theme.NoTitleBar"> + <activity + android:name="MuPDFActivity" + android:theme="@android:style/Theme.NoTitleBar.Fullscreen" + android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.VIEW"/> <category android:name="android.intent.category.DEFAULT"/> @@ -66,8 +71,10 @@ <data android:host="*"/> </intent-filter> </activity> - <activity android:name="OutlineActivity" - android:label="@string/outline_title"> - </activity> + <activity + android:name="OutlineActivity" + android:theme="@android:style/Theme.Light.NoTitleBar.Fullscreen" + android:label="@string/outline_title"> + </activity> </application> </manifest> diff --git a/android/res/layout/main.xml b/android/res/layout/main.xml index 0da95fc5..6ae2638d 100644 --- a/android/res/layout/main.xml +++ b/android/res/layout/main.xml @@ -2,7 +2,4 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" - android:layout_height="fill_parent" - > -</LinearLayout> - + android:layout_height="fill_parent" /> diff --git a/android/res/layout/picker_entry.xml b/android/res/layout/picker_entry.xml index 050bbbfd..2424630b 100644 --- a/android/res/layout/picker_entry.xml +++ b/android/res/layout/picker_entry.xml @@ -3,7 +3,5 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:padding="10dp" - android:textSize="20dp" > - - -</TextView>
\ No newline at end of file + android:textAppearance="?android:attr/textAppearanceMedium" > +</TextView> diff --git a/android/res/values/theme.xml b/android/res/values/theme.xml deleted file mode 100644 index 68c55644..00000000 --- a/android/res/values/theme.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <style name="Theme.NoBackground.NoTitle" parent="android:Theme"> - <item name="android:windowBackground">@null</item> - <item name="android:windowNoTitle">true</item> - </style> -</resources> |