diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-01-09 13:27:53 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-01-09 17:46:26 +0100 |
commit | c405c2fe7a442a720c869befeaafbeffc0aa3ae6 (patch) | |
tree | e3fa87c87d3f9ac886c160d3f0f2d7aa133cfb84 /platform/android/viewer/res/layout | |
parent | 9d96d035d3b7af53256ee64b5ddb0ad8bcf8df38 (diff) | |
download | mupdf-c405c2fe7a442a720c869befeaafbeffc0aa3ae6.tar.xz |
Remove platform/android/viewer directory.
The Android viewer has been moved to its own git repository.
Diffstat (limited to 'platform/android/viewer/res/layout')
-rw-r--r-- | platform/android/viewer/res/layout/buttons.xml | 408 | ||||
-rw-r--r-- | platform/android/viewer/res/layout/main.xml | 5 | ||||
-rw-r--r-- | platform/android/viewer/res/layout/outline_entry.xml | 27 | ||||
-rw-r--r-- | platform/android/viewer/res/layout/picker_entry.xml | 25 | ||||
-rw-r--r-- | platform/android/viewer/res/layout/print_dialog.xml | 9 | ||||
-rw-r--r-- | platform/android/viewer/res/layout/textentry.xml | 8 |
6 files changed, 0 insertions, 482 deletions
diff --git a/platform/android/viewer/res/layout/buttons.xml b/platform/android/viewer/res/layout/buttons.xml deleted file mode 100644 index 6c1620ba..00000000 --- a/platform/android/viewer/res/layout/buttons.xml +++ /dev/null @@ -1,408 +0,0 @@ -<?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" > - - <ViewAnimator - android:id="@+id/switcher" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_alignParentTop="true" - android:layout_centerHorizontal="true" > - - <RelativeLayout - android:id="@+id/topBar0Main" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:background="@color/toolbar" > - - <TextView - android:id="@+id/docNameText" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_toLeftOf="@+id/linkButton" - android:layout_alignParentLeft="true" - android:paddingLeft="16dp" - android:singleLine="true" - android:textColor="#FFFFFF" - android:textStyle="bold" - android:textAppearance="?android:attr/textAppearanceMedium" /> - - <ImageButton - android:id="@+id/sepsButton" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_alignParentRight="true" - android:contentDescription="Separations" - android:background="@drawable/button" - android:onClick="OnSepsButtonClick" - android:src="@drawable/ic_sep" /> - - <ImageButton - android:id="@+id/linkButton" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_toLeftOf="@+id/reflowButton" - android:contentDescription="@string/toggle_links" - android:background="@drawable/button" - android:src="@drawable/ic_link" /> - - <ImageButton - android:id="@+id/reflowButton" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_toLeftOf="@+id/outlineButton" - android:contentDescription="@string/toggle_reflow_mode" - android:background="@drawable/button" - android:src="@drawable/ic_reflow" /> - - <ImageButton - android:id="@+id/outlineButton" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_toLeftOf="@+id/searchButton" - android:contentDescription="@string/outline_title" - android:background="@drawable/button" - android:src="@drawable/ic_list" /> - - <ImageButton - android:id="@+id/searchButton" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_toLeftOf="@+id/moreButton" - android:contentDescription="@string/search_document" - android:background="@drawable/button" - android:src="@drawable/ic_magnifying_glass" /> - - <ImageButton - android:id="@+id/moreButton" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_alignParentRight="true" - android:contentDescription="@string/more" - android:background="@drawable/button" - android:onClick="OnMoreButtonClick" - android:src="@drawable/ic_more" /> - - </RelativeLayout> - - <RelativeLayout - android:id="@+id/topBar1Search" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:background="@color/toolbar" > - - <ImageButton - android:id="@+id/cancelSearch" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_alignParentLeft="true" - android:contentDescription="@string/cancel" - android:background="@drawable/button" - android:onClick="OnCancelSearchButtonClick" - android:src="@drawable/ic_cancel" /> - - <EditText - android:id="@+id/searchText" - android:background="@drawable/search" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_toRightOf="@+id/cancelSearch" - android:layout_toLeftOf="@+id/searchBack" - android:inputType="text" - android:hint="@string/search" - android:singleLine="true" /> - - <ImageButton - android:id="@+id/searchBack" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_toLeftOf="@+id/searchForward" - android:contentDescription="@string/search_backwards" - android:background="@drawable/button" - android:src="@drawable/ic_arrow_left" /> - - <ImageButton - android:id="@+id/searchForward" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_alignParentRight="true" - android:contentDescription="@string/search_forwards" - android:background="@drawable/button" - android:src="@drawable/ic_arrow_right" /> - - </RelativeLayout> - - <RelativeLayout - android:id="@+id/topBar2Annot" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:background="@color/toolbar" > - - <ImageButton - android:id="@+id/cancelAnnotButton" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_alignParentLeft="true" - android:contentDescription="@string/cancel" - android:background="@drawable/button" - android:onClick="OnCancelAnnotButtonClick" - android:src="@drawable/ic_cancel" /> - - <ImageButton - android:id="@+id/highlightButton" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_toLeftOf="@+id/underlineButton" - android:contentDescription="@string/highlight" - android:background="@drawable/button" - android:onClick="OnHighlightButtonClick" - android:src="@drawable/ic_highlight" /> - - <ImageButton - android:id="@+id/underlineButton" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_toLeftOf="@+id/strikeOutButton" - android:contentDescription="@string/underline" - android:background="@drawable/button" - android:onClick="OnUnderlineButtonClick" - android:src="@drawable/ic_underline" /> - - <ImageButton - android:id="@+id/strikeOutButton" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_toLeftOf="@+id/inkButton" - android:contentDescription="@string/strike_out" - android:background="@drawable/button" - android:onClick="OnStrikeOutButtonClick" - android:src="@drawable/ic_strike" /> - - <ImageButton - android:id="@+id/inkButton" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_alignParentRight="true" - android:contentDescription="@string/ink" - android:background="@drawable/button" - android:onClick="OnInkButtonClick" - android:src="@drawable/ic_pen" /> - - </RelativeLayout> - - <RelativeLayout - android:id="@+id/topBar3Delete" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:background="@color/toolbar" > - - <ImageButton - android:id="@+id/cancelDeleteButton" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_alignParentLeft="true" - android:contentDescription="@string/cancel" - android:background="@drawable/button" - android:onClick="OnCancelDeleteButtonClick" - android:src="@drawable/ic_cancel" /> - - <TextView - android:id="@+id/deleteLabel" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_toRightOf="@+id/cancelDeleteButton" - android:layout_toLeftOf="@+id/deleteButton" - android:gravity="center" - android:singleLine="true" - android:textColor="#FFFFFF" - android:textStyle="bold" - android:text="@string/delete" - android:textAppearance="?android:attr/textAppearanceMedium" /> - - <ImageButton - android:id="@+id/deleteButton" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_alignParentRight="true" - android:contentDescription="@string/delete" - android:background="@drawable/button" - android:onClick="OnDeleteButtonClick" - android:src="@drawable/ic_trash" /> - - </RelativeLayout> - - <RelativeLayout - android:id="@+id/topBar4More" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:background="@color/toolbar" > - - <ImageButton - android:id="@+id/cancelMoreButton" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_alignParentLeft="true" - android:contentDescription="@string/cancel" - android:background="@drawable/button" - android:onClick="OnCancelMoreButtonClick" - android:src="@drawable/ic_cancel" /> - - <ImageButton - android:id="@+id/proofButton" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_toLeftOf="@+id/printButton" - android:contentDescription="@string/proof" - android:background="@drawable/button" - android:onClick="OnProofButtonClick" - android:src="@drawable/ic_proof" /> - - <ImageButton - android:id="@+id/printButton" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_toLeftOf="@+id/copyTextButton" - android:contentDescription="@string/print" - android:background="@drawable/button" - android:onClick="OnPrintButtonClick" - android:src="@drawable/ic_print" /> - - <ImageButton - android:id="@+id/copyTextButton" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_toLeftOf="@+id/editAnnotButton" - android:layout_alignWithParentIfMissing="true" - android:contentDescription="@string/copy_text_to_the_clipboard" - android:background="@drawable/button" - android:onClick="OnCopyTextButtonClick" - android:src="@drawable/ic_clipboard" /> - - <ImageButton - android:id="@+id/editAnnotButton" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_alignParentRight="true" - android:contentDescription="@string/edit_annotations" - android:background="@drawable/button" - android:onClick="OnEditAnnotButtonClick" - android:src="@drawable/ic_annotation" /> - </RelativeLayout> - - <RelativeLayout - android:id="@+id/topBar5Accept" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:background="@color/toolbar" > - - <ImageButton - android:id="@+id/cancelAcceptButton" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_alignParentLeft="true" - android:contentDescription="@string/cancel" - android:background="@drawable/button" - android:onClick="OnCancelAcceptButtonClick" - android:src="@drawable/ic_cancel" /> - - <TextView - android:id="@+id/annotType" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_toRightOf="@+id/cancelAcceptButton" - android:layout_toLeftOf="@+id/acceptButton" - android:gravity="center" - android:singleLine="true" - android:textColor="#FFFFFF" - android:textStyle="bold" - android:textAppearance="?android:attr/textAppearanceMedium" /> - - <ImageButton - android:id="@+id/acceptButton" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_alignParentRight="true" - android:contentDescription="@string/accept" - android:background="@drawable/button" - android:onClick="OnAcceptButtonClick" - android:src="@drawable/ic_check" /> - </RelativeLayout> - </ViewAnimator> - - <RelativeLayout - android:id="@+id/lowerButtons" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_alignParentBottom="true" - android:layout_centerHorizontal="true" > - - <SeekBar - android:id="@+id/pageSlider" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_alignParentBottom="true" - android:layout_centerHorizontal="true" - android:layout_margin="0dp" - android:thumb="@drawable/seek_thumb" - android:progressDrawable="@drawable/seek_progress" - android:paddingLeft="16dp" - android:paddingRight="16dp" - android:paddingTop="12dp" - android:paddingBottom="8dp" - android:background="@color/toolbar" - /> - - <TextView - android:id="@+id/pageNumber" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_above="@+id/pageSlider" - android:layout_centerHorizontal="true" - android:layout_marginBottom="16dp" - android:background="@drawable/page_num" - android:textColor="#FFFFFF" - android:textAppearance="?android:attr/textAppearanceMedium" /> - - </RelativeLayout> - - <TextView - android:id="@+id/info" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_above="@+id/pageSlider" - android:layout_centerHorizontal="true" - android:layout_centerVertical="true" - android:background="@drawable/page_num" - android:textAppearance="?android:attr/textAppearanceMedium" - android:textColor="#FFFFFF" /> - -</RelativeLayout> diff --git a/platform/android/viewer/res/layout/main.xml b/platform/android/viewer/res/layout/main.xml deleted file mode 100644 index 50b4746b..00000000 --- a/platform/android/viewer/res/layout/main.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:orientation="vertical" - android:layout_width="fill_parent" - android:layout_height="fill_parent" /> diff --git a/platform/android/viewer/res/layout/outline_entry.xml b/platform/android/viewer/res/layout/outline_entry.xml deleted file mode 100644 index ea7912e4..00000000 --- a/platform/android/viewer/res/layout/outline_entry.xml +++ /dev/null @@ -1,27 +0,0 @@ -<?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" > - - <TextView - android:id="@+id/title" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_alignParentLeft="true" - android:layout_toLeftOf="@+id/page" - android:singleLine="true" - android:layout_centerVertical="true" - android:paddingLeft="8dp" - android:textAppearance="?android:attr/textAppearanceMedium" /> - - <TextView - android:id="@+id/page" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_alignBaseline="@+id/title" - android:layout_alignBottom="@+id/title" - android:layout_alignParentRight="true" - android:paddingRight="8dp" - android:textAppearance="?android:attr/textAppearanceMedium" /> - -</RelativeLayout> diff --git a/platform/android/viewer/res/layout/picker_entry.xml b/platform/android/viewer/res/layout/picker_entry.xml deleted file mode 100644 index 673a4724..00000000 --- a/platform/android/viewer/res/layout/picker_entry.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?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="8dp" > - - <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="8dp" - android:paddingLeft="12dp" - android:paddingRight="12dp" - android:paddingTop="8dp" - android:textAppearance="?android:attr/textAppearanceLarge" /> - -</RelativeLayout> diff --git a/platform/android/viewer/res/layout/print_dialog.xml b/platform/android/viewer/res/layout/print_dialog.xml deleted file mode 100644 index 1d54d22f..00000000 --- a/platform/android/viewer/res/layout/print_dialog.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> - -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="fill_parent" - android:layout_height="fill_parent"> - <WebView android:id="@+id/webview" - android:layout_width="fill_parent" - android:layout_height="fill_parent"/> -</RelativeLayout> diff --git a/platform/android/viewer/res/layout/textentry.xml b/platform/android/viewer/res/layout/textentry.xml deleted file mode 100644 index 08823df8..00000000 --- a/platform/android/viewer/res/layout/textentry.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<EditText xmlns:android="http://schemas.android.com/apk/res/android" - android:singleLine="false" - android:minLines="3" - android:inputType="textMultiLine" - android:layout_width="match_parent" - android:layout_height="wrap_content" > -</EditText> |