summaryrefslogtreecommitdiff
path: root/platform/android/example/app/src/main/res/layout
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-07-14 00:56:37 +0200
committerTor Andersson <tor.andersson@artifex.com>2016-07-14 01:04:27 +0200
commitde4a540efee75970a7ff7949ada2304c786b1da8 (patch)
tree0d9375e02015f20f7290a4423dd9731bfff3ebd2 /platform/android/example/app/src/main/res/layout
parentb8aeced92d5a3576e9bc5fbd87656dc97e380c52 (diff)
downloadmupdf-de4a540efee75970a7ff7949ada2304c786b1da8.tar.xz
Fix whitespace and indentation.
Diffstat (limited to 'platform/android/example/app/src/main/res/layout')
-rw-r--r--platform/android/example/app/src/main/res/layout/activity_doc_view.xml16
-rw-r--r--platform/android/example/app/src/main/res/layout/activity_main.xml7
-rw-r--r--platform/android/example/app/src/main/res/layout/choose_doc.xml48
-rw-r--r--platform/android/example/app/src/main/res/layout/picker_entry.xml38
4 files changed, 53 insertions, 56 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>