diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-07-14 00:56:37 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-07-14 01:04:27 +0200 |
commit | de4a540efee75970a7ff7949ada2304c786b1da8 (patch) | |
tree | 0d9375e02015f20f7290a4423dd9731bfff3ebd2 /platform/android/example | |
parent | b8aeced92d5a3576e9bc5fbd87656dc97e380c52 (diff) | |
download | mupdf-de4a540efee75970a7ff7949ada2304c786b1da8.tar.xz |
Fix whitespace and indentation.
Diffstat (limited to 'platform/android/example')
8 files changed, 68 insertions, 79 deletions
diff --git a/platform/android/example/app/src/main/res/layout/activity_doc_view.xml b/platform/android/example/app/src/main/res/layout/activity_doc_view.xml index 7f5ece24..36761615 100644 --- a/platform/android/example/app/src/main/res/layout/activity_doc_view.xml +++ b/platform/android/example/app/src/main/res/layout/activity_doc_view.xml @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical"> + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"> - <com.artifex.mupdf.android.DocView - android:id="@+id/doc_view" - android:layout_width="match_parent" - android:layout_height="match_parent"> - </com.artifex.mupdf.android.DocView> + <com.artifex.mupdf.android.DocView + android:id="@+id/doc_view" + android:layout_width="match_parent" + android:layout_height="match_parent"> + </com.artifex.mupdf.android.DocView> </LinearLayout> diff --git a/platform/android/example/app/src/main/res/layout/activity_main.xml b/platform/android/example/app/src/main/res/layout/activity_main.xml index 24f3d6ba..3d1efc88 100644 --- a/platform/android/example/app/src/main/res/layout/activity_main.xml +++ b/platform/android/example/app/src/main/res/layout/activity_main.xml @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent"> - -</RelativeLayout>
\ No newline at end of file + android:layout_width="match_parent" + android:layout_height="match_parent"> +</RelativeLayout> diff --git a/platform/android/example/app/src/main/res/layout/choose_doc.xml b/platform/android/example/app/src/main/res/layout/choose_doc.xml index 48e63b8c..bbccc496 100644 --- a/platform/android/example/app/src/main/res/layout/choose_doc.xml +++ b/platform/android/example/app/src/main/res/layout/choose_doc.xml @@ -1,32 +1,30 @@ <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent"> + android:layout_width="match_parent" + android:layout_height="match_parent"> - <LinearLayout - android:orientation="vertical" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:layout_gravity="center_horizontal" - android:id="@+id/device_files_wrapper"> + <LinearLayout + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_gravity="center_horizontal" + android:id="@+id/device_files_wrapper"> - <LinearLayout - android:orientation="vertical" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:layout_gravity="center_horizontal" - android:id="@+id/file_list_wrpper"> + <LinearLayout + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_gravity="center_horizontal" + android:id="@+id/file_list_wrpper"> - <ListView - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:id="@+id/fileListView" - android:layout_gravity="center_horizontal" - android:choiceMode="singleChoice" - android:background="#ffffff"/> - - </LinearLayout> - - </LinearLayout> + <ListView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:id="@+id/fileListView" + android:layout_gravity="center_horizontal" + android:choiceMode="singleChoice" + android:background="#ffffff"/> + </LinearLayout> + </LinearLayout> </LinearLayout> diff --git a/platform/android/example/app/src/main/res/layout/picker_entry.xml b/platform/android/example/app/src/main/res/layout/picker_entry.xml index 98ede7d6..5dead12f 100644 --- a/platform/android/example/app/src/main/res/layout/picker_entry.xml +++ b/platform/android/example/app/src/main/res/layout/picker_entry.xml @@ -1,25 +1,25 @@ <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:paddingLeft="4dp" > + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingLeft="4dp" > - <ImageView - android:id="@+id/icon" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_alignParentLeft="true" /> + <ImageView + android:id="@+id/icon" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerVertical="true" + android:layout_alignParentLeft="true" /> - <TextView - android:id="@+id/name" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_toRightOf="@+id/icon" - android:paddingBottom="4dp" - android:paddingLeft="10dp" - android:paddingRight="4dp" - android:paddingTop="4dp" - android:textAppearance="?android:attr/textAppearanceMedium" /> + <TextView + android:id="@+id/name" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_toRightOf="@+id/icon" + android:paddingBottom="4dp" + android:paddingLeft="10dp" + android:paddingRight="4dp" + android:paddingTop="4dp" + android:textAppearance="?android:attr/textAppearanceMedium" /> </RelativeLayout> diff --git a/platform/android/example/app/src/main/res/values/colors.xml b/platform/android/example/app/src/main/res/values/colors.xml index b8acf28a..47c6eb22 100644 --- a/platform/android/example/app/src/main/res/values/colors.xml +++ b/platform/android/example/app/src/main/res/values/colors.xml @@ -1,4 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> <resources> - <color name="white">#FFFFFFFF</color> + <color name="white">#FFFFFFFF</color> </resources> diff --git a/platform/android/example/app/src/main/res/values/styles.xml b/platform/android/example/app/src/main/res/values/styles.xml index 3d804574..97e54a45 100644 --- a/platform/android/example/app/src/main/res/values/styles.xml +++ b/platform/android/example/app/src/main/res/values/styles.xml @@ -1,8 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <resources> - - <!-- Base application theme. --> - <style name="AppBaseTheme" parent="@android:style/Theme.NoTitleBar.Fullscreen"> - </style> - -</resources>
\ No newline at end of file + <!-- Base application theme. --> + <style name="AppBaseTheme" parent="@android:style/Theme.NoTitleBar.Fullscreen"> + </style> +</resources> diff --git a/platform/android/example/mupdf/src/main/AndroidManifest.xml b/platform/android/example/mupdf/src/main/AndroidManifest.xml index af5dbc58..4065d7fd 100644 --- a/platform/android/example/mupdf/src/main/AndroidManifest.xml +++ b/platform/android/example/mupdf/src/main/AndroidManifest.xml @@ -1,16 +1,10 @@ -<manifest package="com.artifex.mupdf.mupdf" - xmlns:android="http://schemas.android.com/apk/res/android"> - - package="com.artifex.mupdf.fitz"> - <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> - <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> - <uses-permission android:name="android.permission.INTERNET" /> - - <application android:allowBackup="true" - android:label="@string/app_name" - android:supportsRtl="true" - > - - </application> - +<manifest package="com.artifex.mupdf.fitz" xmlns:android="http://schemas.android.com/apk/res/android"> + <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> + <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> + <uses-permission android:name="android.permission.INTERNET" /> + <application android:allowBackup="true" + android:label="@string/app_name" + android:supportsRtl="true" + > + </application> </manifest> diff --git a/platform/android/example/mupdf/src/main/res/values/strings.xml b/platform/android/example/mupdf/src/main/res/values/strings.xml index 0f541156..28af5d41 100644 --- a/platform/android/example/mupdf/src/main/res/values/strings.xml +++ b/platform/android/example/mupdf/src/main/res/values/strings.xml @@ -1,3 +1,3 @@ <resources> - <string name="app_name">mupdf</string> + <string name="app_name">mupdf</string> </resources> |