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/app | |
parent | b8aeced92d5a3576e9bc5fbd87656dc97e380c52 (diff) | |
download | mupdf-de4a540efee75970a7ff7949ada2304c786b1da8.tar.xz |
Fix whitespace and indentation.
Diffstat (limited to 'platform/android/example/app')
6 files changed, 58 insertions, 63 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> |