add sample and some utils

This commit is contained in:
weiyixiong 2015-11-16 17:22:05 +08:00
parent 15726fe9a9
commit e4ad6b558f
765 changed files with 51101 additions and 48 deletions

View File

@ -0,0 +1 @@
#Mon Nov 16 17:19:28 CST 2015

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

19
.idea/gradle.xml Normal file
View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="gradleJvm" value="1.8" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/PdfView" />
<option value="$PROJECT_DIR$/pdfviewsample" />
</set>
</option>
</GradleProjectSettings>
</option>
</component>
</project>

View File

@ -1,9 +0,0 @@
<component name="libraryTable">
<library name="PdfViewer">
<CLASSES>
<root url="jar://$PROJECT_DIR$/PdfViewer.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

View File

@ -0,0 +1,15 @@
<component name="libraryTable">
<library name="appcompat-v7-23.1.1">
<ANNOTATIONS>
<root url="jar://$PROJECT_DIR$/pdfviewsample/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.1.1/annotations.zip!/" />
</ANNOTATIONS>
<CLASSES>
<root url="file://$PROJECT_DIR$/pdfviewsample/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.1.1/res" />
<root url="jar://$PROJECT_DIR$/pdfviewsample/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.1.1/jars/classes.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/Documents/android-sdk-macosx/extras/android/m2repository/com/android/support/appcompat-v7/23.1.1/appcompat-v7-23.1.1-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,11 @@
<component name="libraryTable">
<library name="support-annotations-23.1.1">
<CLASSES>
<root url="jar://$USER_HOME$/Documents/android-sdk-macosx/extras/android/m2repository/com/android/support/support-annotations/23.1.1/support-annotations-23.1.1.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/Documents/android-sdk-macosx/extras/android/m2repository/com/android/support/support-annotations/23.1.1/support-annotations-23.1.1-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,16 @@
<component name="libraryTable">
<library name="support-v4-23.1.1">
<ANNOTATIONS>
<root url="jar://$PROJECT_DIR$/pdfviewsample/build/intermediates/exploded-aar/com.android.support/support-v4/23.1.1/annotations.zip!/" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$PROJECT_DIR$/pdfviewsample/build/intermediates/exploded-aar/com.android.support/support-v4/23.1.1/jars/libs/internal_impl-23.1.1.jar!/" />
<root url="file://$PROJECT_DIR$/pdfviewsample/build/intermediates/exploded-aar/com.android.support/support-v4/23.1.1/res" />
<root url="jar://$PROJECT_DIR$/pdfviewsample/build/intermediates/exploded-aar/com.android.support/support-v4/23.1.1/jars/classes.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/Documents/android-sdk-macosx/extras/android/m2repository/com/android/support/support-v4/23.1.1/support-v4-23.1.1-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -30,8 +30,11 @@
<ConfirmationsSetting value="0" id="Add" />
<ConfirmationsSetting value="0" id="Remove" />
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
<option name="id" value="Android" />
</component>
<component name="SvnConfiguration">
<configuration>$USER_HOME$/.subversion</configuration>

View File

@ -3,6 +3,8 @@
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/Android-Pdf-Viewer-Library.iml" filepath="$PROJECT_DIR$/Android-Pdf-Viewer-Library.iml" />
<module fileurl="file://$PROJECT_DIR$/PdfView/PdfView.iml" filepath="$PROJECT_DIR$/PdfView/PdfView.iml" />
<module fileurl="file://$PROJECT_DIR$/pdfviewsample/pdfviewsample.iml" filepath="$PROJECT_DIR$/pdfviewsample/pdfviewsample.iml" />
</modules>
</component>
</project>

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RunConfigurationProducerService">
<option name="ignoredProducers">
<set>
<option value="org.jetbrains.plugins.gradle.execution.test.runner.AllInPackageGradleConfigurationProducer" />
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestClassGradleConfigurationProducer" />
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestMethodGradleConfigurationProducer" />
</set>
</option>
</component>
</project>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
<mapping directory="" vcs="" />
</component>
</project>

File diff suppressed because it is too large Load Diff

View File

@ -1,20 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<module external.linked.project.id="Android-Pdf-Viewer-Library" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android" name="Android">
<facet type="java-gradle" name="Java-Gradle">
<configuration>
<option name="LIBRARY_PROJECT" value="true" />
<option name="BUILD_FOLDER_PATH" value="$MODULE_DIR$/build" />
<option name="BUILDABLE" value="false" />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="true">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/crypto-src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" generated="true" />
<excludeFolder url="file://$MODULE_DIR$/.gradle" />
</content>
<orderEntry type="jdk" jdkName="Android API 19 Platform" jdkType="Android SDK" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

84
PdfView/PdfView.iml Normal file
View File

@ -0,0 +1,84 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.id=":PdfView" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="Android-Pdf-Viewer-Library" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android-gradle" name="Android-Gradle">
<configuration>
<option name="GRADLE_PROJECT_PATH" value=":PdfView" />
</configuration>
</facet>
<facet type="android" name="Android">
<configuration>
<option name="SELECTED_BUILD_VARIANT" value="debug" />
<option name="SELECTED_TEST_ARTIFACT" value="_android_test_" />
<option name="ASSEMBLE_TASK_NAME" value="assembleDebug" />
<option name="COMPILE_JAVA_TASK_NAME" value="compileDebugSources" />
<option name="ASSEMBLE_TEST_TASK_NAME" value="assembleDebugAndroidTest" />
<option name="COMPILE_JAVA_TEST_TASK_NAME" value="compileDebugAndroidTestSources" />
<afterSyncTasks>
<task>generateDebugAndroidTestSources</task>
<task>generateDebugSources</task>
</afterSyncTasks>
<option name="ALLOW_USER_CONFIGURATION" value="false" />
<option name="MANIFEST_FILE_RELATIVE_PATH" value="/src/main/AndroidManifest.xml" />
<option name="RES_FOLDER_RELATIVE_PATH" value="/src/main/res" />
<option name="RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/src/main/res" />
<option name="ASSETS_FOLDER_RELATIVE_PATH" value="/src/main/assets" />
<option name="LIBRARY_PROJECT" value="true" />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/build/intermediates/classes/debug" />
<output-test url="file://$MODULE_DIR$/build/intermediates/classes/androidTest/debug" />
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/debug" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/resValues/debug" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/androidTest/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/androidTest/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/androidTest/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/androidTest/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/androidTest/debug" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/resValues/androidTest/debug" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/res" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/assets" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/aidl" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/jni" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/rs" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/res" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/main/assets" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/main/aidl" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/jni" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/rs" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/res" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/assets" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/aidl" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/jni" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/rs" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/assets" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/bundles" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/classes" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/dependency-cache" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/javaResources" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/lint" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/res" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/rs" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/symbols" />
<excludeFolder url="file://$MODULE_DIR$/build/outputs" />
<excludeFolder url="file://$MODULE_DIR$/build/tmp" />
</content>
<orderEntry type="jdk" jdkName="Android API 21 Platform" jdkType="Android SDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

18
PdfView/build.gradle Normal file
View File

@ -0,0 +1,18 @@
apply plugin: 'com.android.library'
android {
compileSdkVersion 21
buildToolsVersion "23.0.2"
defaultConfig {
minSdkVersion 4
targetSdkVersion 4
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}

View File

@ -0,0 +1,13 @@
/**
* Automatically generated file. DO NOT MODIFY
*/
package net.sf.andpdf.pdfviewer.test;
public final class BuildConfig {
public static final boolean DEBUG = Boolean.parseBoolean("true");
public static final String APPLICATION_ID = "net.sf.andpdf.pdfviewer.test";
public static final String BUILD_TYPE = "debug";
public static final String FLAVOR = "";
public static final int VERSION_CODE = -1;
public static final String VERSION_NAME = "";
}

View File

@ -0,0 +1,13 @@
/**
* Automatically generated file. DO NOT MODIFY
*/
package net.sf.andpdf.pdfviewer;
public final class BuildConfig {
public static final boolean DEBUG = Boolean.parseBoolean("true");
public static final String APPLICATION_ID = "net.sf.andpdf.pdfviewer";
public static final String BUILD_TYPE = "debug";
public static final String FLAVOR = "";
public static final int VERSION_CODE = 1;
public static final String VERSION_NAME = "";
}

View File

@ -0,0 +1,13 @@
/**
* Automatically generated file. DO NOT MODIFY
*/
package net.sf.andpdf.pdfviewer;
public final class BuildConfig {
public static final boolean DEBUG = false;
public static final String APPLICATION_ID = "net.sf.andpdf.pdfviewer";
public static final String BUILD_TYPE = "release";
public static final String FLAVOR = "";
public static final int VERSION_CODE = 1;
public static final String VERSION_NAME = "";
}

View File

@ -0,0 +1,55 @@
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package net.sf.andpdf.pdfviewer;
public final class R {
public static final class anim {
public static final int slide_in = 0x7f040000;
public static final int slide_out = 0x7f040001;
}
public static final class drawable {
public static final int back01 = 0x7f020000;
public static final int back02 = 0x7f020001;
public static final int black = 0x7f02000a;
public static final int blue = 0x7f02000b;
public static final int doc = 0x7f020002;
public static final int folder = 0x7f020003;
public static final int icon = 0x7f020004;
public static final int left_arrow = 0x7f020005;
public static final int pdf = 0x7f020006;
public static final int right_arrow = 0x7f020007;
public static final int violet = 0x7f02000c;
public static final int white = 0x7f02000d;
public static final int zoom_in = 0x7f020008;
public static final int zoom_out = 0x7f020009;
}
public static final class id {
public static final int btExit = 0x7f060009;
public static final int btOK = 0x7f06000a;
public static final int etPassword = 0x7f060008;
public static final int navigation_next = 0x7f060007;
public static final int navigation_page_position_label = 0x7f060005;
public static final int navigation_previous = 0x7f060006;
public static final int pagenum_edit = 0x7f060001;
public static final int pdf_image = 0x7f060002;
public static final int username_view = 0x7f060000;
public static final int zoom_in = 0x7f060004;
public static final int zoom_out = 0x7f060003;
}
public static final class layout {
public static final int dialog_pagenumber = 0x7f030000;
public static final int graphics_view = 0x7f030001;
public static final int main = 0x7f030002;
public static final int navigation_overlay = 0x7f030003;
public static final int pdf_file_password = 0x7f030004;
public static final int scroll_layout = 0x7f030005;
}
public static final class string {
public static final int app_name = 0x7f050000;
public static final int hello = 0x7f050001;
}
}

View File

@ -0,0 +1,58 @@
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package net.sf.andpdf.pdfviewer.test;
public final class R {
public static final class anim {
public static final int slide_in=0x7f040000;
public static final int slide_out=0x7f040001;
}
public static final class attr {
}
public static final class drawable {
public static final int back01=0x7f020000;
public static final int back02=0x7f020001;
public static final int black=0x7f02000a;
public static final int blue=0x7f02000b;
public static final int doc=0x7f020002;
public static final int folder=0x7f020003;
public static final int icon=0x7f020004;
public static final int left_arrow=0x7f020005;
public static final int pdf=0x7f020006;
public static final int right_arrow=0x7f020007;
public static final int violet=0x7f02000c;
public static final int white=0x7f02000d;
public static final int zoom_in=0x7f020008;
public static final int zoom_out=0x7f020009;
}
public static final class id {
public static final int btExit=0x7f060009;
public static final int btOK=0x7f06000a;
public static final int etPassword=0x7f060008;
public static final int navigation_next=0x7f060007;
public static final int navigation_page_position_label=0x7f060005;
public static final int navigation_previous=0x7f060006;
public static final int pagenum_edit=0x7f060001;
public static final int pdf_image=0x7f060002;
public static final int username_view=0x7f060000;
public static final int zoom_in=0x7f060004;
public static final int zoom_out=0x7f060003;
}
public static final class layout {
public static final int dialog_pagenumber=0x7f030000;
public static final int graphics_view=0x7f030001;
public static final int main=0x7f030002;
public static final int navigation_overlay=0x7f030003;
public static final int pdf_file_password=0x7f030004;
public static final int scroll_layout=0x7f030005;
}
public static final class string {
public static final int app_name=0x7f050000;
public static final int hello=0x7f050001;
}
}

View File

@ -0,0 +1,58 @@
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package net.sf.andpdf.pdfviewer;
public final class R {
public static final class anim {
public static int slide_in=0x7f040000;
public static int slide_out=0x7f040001;
}
public static final class attr {
}
public static final class drawable {
public static int back01=0x7f020000;
public static int back02=0x7f020001;
public static int black=0x7f02000a;
public static int blue=0x7f02000b;
public static int doc=0x7f020002;
public static int folder=0x7f020003;
public static int icon=0x7f020004;
public static int left_arrow=0x7f020005;
public static int pdf=0x7f020006;
public static int right_arrow=0x7f020007;
public static int violet=0x7f02000c;
public static int white=0x7f02000d;
public static int zoom_in=0x7f020008;
public static int zoom_out=0x7f020009;
}
public static final class id {
public static int btExit=0x7f060009;
public static int btOK=0x7f06000a;
public static int etPassword=0x7f060008;
public static int navigation_next=0x7f060007;
public static int navigation_page_position_label=0x7f060005;
public static int navigation_previous=0x7f060006;
public static int pagenum_edit=0x7f060001;
public static int pdf_image=0x7f060002;
public static int username_view=0x7f060000;
public static int zoom_in=0x7f060004;
public static int zoom_out=0x7f060003;
}
public static final class layout {
public static int dialog_pagenumber=0x7f030000;
public static int graphics_view=0x7f030001;
public static int main=0x7f030002;
public static int navigation_overlay=0x7f030003;
public static int pdf_file_password=0x7f030004;
public static int scroll_layout=0x7f030005;
}
public static final class string {
public static int app_name=0x7f050000;
public static int hello=0x7f050001;
}
}

View File

@ -0,0 +1,58 @@
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package net.sf.andpdf.pdfviewer;
public final class R {
public static final class anim {
public static int slide_in=0x7f040000;
public static int slide_out=0x7f040001;
}
public static final class attr {
}
public static final class drawable {
public static int back01=0x7f020000;
public static int back02=0x7f020001;
public static int black=0x7f02000a;
public static int blue=0x7f02000b;
public static int doc=0x7f020002;
public static int folder=0x7f020003;
public static int icon=0x7f020004;
public static int left_arrow=0x7f020005;
public static int pdf=0x7f020006;
public static int right_arrow=0x7f020007;
public static int violet=0x7f02000c;
public static int white=0x7f02000d;
public static int zoom_in=0x7f020008;
public static int zoom_out=0x7f020009;
}
public static final class id {
public static int btExit=0x7f060009;
public static int btOK=0x7f06000a;
public static int etPassword=0x7f060008;
public static int navigation_next=0x7f060007;
public static int navigation_page_position_label=0x7f060005;
public static int navigation_previous=0x7f060006;
public static int pagenum_edit=0x7f060001;
public static int pdf_image=0x7f060002;
public static int username_view=0x7f060000;
public static int zoom_in=0x7f060004;
public static int zoom_out=0x7f060003;
}
public static final class layout {
public static int dialog_pagenumber=0x7f030000;
public static int graphics_view=0x7f030001;
public static int main=0x7f030002;
public static int navigation_overlay=0x7f030003;
public static int pdf_file_password=0x7f030004;
public static int scroll_layout=0x7f030005;
}
public static final class string {
public static int app_name=0x7f050000;
public static int hello=0x7f050001;
}
}

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="net.sf.andpdf.pdfviewer"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="4"
android:targetSdkVersion="4" />
<application />
</manifest>

View File

@ -0,0 +1,35 @@
int anim slide_in 0x7f040000
int anim slide_out 0x7f040001
int drawable back01 0x7f020000
int drawable back02 0x7f020001
int drawable black 0x7f02000a
int drawable blue 0x7f02000b
int drawable doc 0x7f020002
int drawable folder 0x7f020003
int drawable icon 0x7f020004
int drawable left_arrow 0x7f020005
int drawable pdf 0x7f020006
int drawable right_arrow 0x7f020007
int drawable violet 0x7f02000c
int drawable white 0x7f02000d
int drawable zoom_in 0x7f020008
int drawable zoom_out 0x7f020009
int id btExit 0x7f060009
int id btOK 0x7f06000a
int id etPassword 0x7f060008
int id navigation_next 0x7f060007
int id navigation_page_position_label 0x7f060005
int id navigation_previous 0x7f060006
int id pagenum_edit 0x7f060001
int id pdf_image 0x7f060002
int id username_view 0x7f060000
int id zoom_in 0x7f060004
int id zoom_out 0x7f060003
int layout dialog_pagenumber 0x7f030000
int layout graphics_view 0x7f030001
int layout main 0x7f030002
int layout navigation_overlay 0x7f030003
int layout pdf_file_password 0x7f030004
int layout scroll_layout 0x7f030005
int string app_name 0x7f050000
int string hello 0x7f050001

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="net.sf.andpdf.pdfviewer"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="4"
android:targetSdkVersion="4" />
<application />
</manifest>

Binary file not shown.

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2008 Romain Guy
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<set xmlns:android="http://schemas.android.com/apk/res/android">
<translate
android:duration="200"
android:fromYDelta="100%"
android:toYDelta="0%" />
<alpha
android:duration="200"
android:fromAlpha="0.0"
android:toAlpha="1.0" />
</set>
<!-- From: file:/Users/winney/git/Android-Pdf-Viewer-Library1/PdfView/src/main/res/anim/slide_in.xml -->

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2008 Romain Guy
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<set xmlns:android="http://schemas.android.com/apk/res/android">
<translate
android:duration="200"
android:fromYDelta="0%"
android:toYDelta="100%" />
<alpha
android:duration="200"
android:fromAlpha="1.0"
android:toAlpha="0.0" />
</set>
<!-- From: file:/Users/winney/git/Android-Pdf-Viewer-Library1/PdfView/src/main/res/anim/slide_out.xml -->

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 983 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 904 B

View File

@ -0,0 +1,47 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2008 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/username_view"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_marginLeft="20dip"
android:layout_marginRight="20dip"
android:text="Page number:"
android:inputType="number"
android:gravity="left"
android:textAppearance="?android:attr/textAppearanceMedium" />
<EditText
android:id="@+id/pagenum_edit"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:layout_marginLeft="20dip"
android:layout_marginRight="20dip"
android:scrollHorizontally="true"
android:autoText="false"
android:capitalize="none"
android:inputType="phone"
android:gravity="fill_horizontal"
android:textAppearance="?android:attr/textAppearanceMedium" />
</LinearLayout>
<!-- From: file:/Users/winney/git/Android-Pdf-Viewer-Library1/PdfView/src/main/res/layout/dialog_pagenumber.xml -->

View File

@ -0,0 +1,15 @@
<?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">
<ImageView android:id="@+id/pdf_image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:padding="5px"/>
</LinearLayout>
<!-- From: file:/Users/winney/git/Android-Pdf-Viewer-Library1/PdfView/src/main/res/layout/graphics_view.xml -->

View File

@ -0,0 +1,13 @@
<?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"
>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello"
/>
</LinearLayout>
<!-- From: file:/Users/winney/git/Android-Pdf-Viewer-Library1/PdfView/src/main/res/layout/main.xml -->

View File

@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingLeft="10dip"
android:paddingTop="5dip"
android:paddingRight="10dip"
android:paddingBottom="4dip"
android:background="#99000000" >
<ImageButton android:id="@+id/zoom_out"
android:text="Zoom Out"
android:src="@drawable/zoom_out"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="10" />
<ImageButton android:id="@+id/zoom_in"
android:text="Zoom In"
android:src="@drawable/zoom_in"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="10" />
<TextView android:id="@+id/navigation_page_position_label"
android:text="1/1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="60"
android:gravity="center"
android:layout_gravity="center" />
<ImageButton android:id="@+id/navigation_previous"
android:text="Previous"
android:src="@drawable/left_arrow"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="10" />
<ImageButton android:id="@+id/navigation_next"
android:text="Next"
android:src="@drawable/right_arrow"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="10" />
</LinearLayout>
<!-- From: file:/Users/winney/git/Android-Pdf-Viewer-Library1/PdfView/src/main/res/layout/navigation_overlay.xml -->

View File

@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2009 Ferenc Hechler - ferenc_hechler@users.sourceforge.net
This file is part of the Android PDF Viewer
The Android PDF Viewer is free software;
you can redistribute it and/or modify it under the terms of the GNU
General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version.
The Android PDF Viewer is distributed
in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with the Android PDF Viewer
if not, write to the Free Software Foundation, Inc.,
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<!-- filename -->
<TextView
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0"
android:paddingBottom="0dip"
android:text="Password protected PDF-File:"/>
<EditText
android:id="@+id/etPassword"
android:layout_width="fill_parent"
android:layout_height="60px"
android:text=""
android:layout_weight="10"
android:hint="please enter password for PDF">
<requestFocus />
</EditText>
<!-- Buttons 'OK' + 'Exit' -->
<LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="center_horizontal" android:orientation="horizontal" >
<Button android:id="@+id/btExit" android:layout_width="120px" android:layout_height="40px" android:text="Exit"></Button>
<Button android:id="@+id/btOK" android:layout_width="120px" android:layout_height="40px" android:text="OK"></Button>
</LinearLayout>
</LinearLayout>
<!-- From: file:/Users/winney/git/Android-Pdf-Viewer-Library1/PdfView/src/main/res/layout/pdf_file_password.xml -->

View File

@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2009 Ferenc Hechler - ferenc_hechler@users.sourceforge.net
This file is part of the Android PDF Viewer
The Android PDF Viewer is free software;
you can redistribute it and/or modify it under the terms of the GNU
General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version.
The Android PDF Viewer is distributed
in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with the Android PDF Viewer
if not, write to the Free Software Foundation, Inc.,
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
</LinearLayout>
</ScrollView>
</ScrollView>
<!-- From: file:/Users/winney/git/Android-Pdf-Viewer-Library1/PdfView/src/main/res/layout/scroll_layout.xml -->

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- From: file:/Users/winney/git/Android-Pdf-Viewer-Library1/PdfView/src/main/res/values/color.xml -->
<eat-comment/>
<drawable name="black">#000000</drawable>
<drawable name="blue">#000000FF</drawable>
<drawable name="violet">#9370DB</drawable>
<drawable name="white">#FFFFFFFF</drawable>
<!-- From: file:/Users/winney/git/Android-Pdf-Viewer-Library1/PdfView/src/main/res/values/strings.xml -->
<eat-comment/>
<string name="app_name">PdfViewer</string>
<string name="hello">Hello World, PdfViewerActivity!</string>
</resources>

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="net.sf.andpdf.pdfviewer"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="4"
android:targetSdkVersion="4" />
<application />
</manifest>

View File

@ -0,0 +1,35 @@
int anim slide_in 0x7f040000
int anim slide_out 0x7f040001
int drawable back01 0x7f020000
int drawable back02 0x7f020001
int drawable black 0x7f02000a
int drawable blue 0x7f02000b
int drawable doc 0x7f020002
int drawable folder 0x7f020003
int drawable icon 0x7f020004
int drawable left_arrow 0x7f020005
int drawable pdf 0x7f020006
int drawable right_arrow 0x7f020007
int drawable violet 0x7f02000c
int drawable white 0x7f02000d
int drawable zoom_in 0x7f020008
int drawable zoom_out 0x7f020009
int id btExit 0x7f060009
int id btOK 0x7f06000a
int id etPassword 0x7f060008
int id navigation_next 0x7f060007
int id navigation_page_position_label 0x7f060005
int id navigation_previous 0x7f060006
int id pagenum_edit 0x7f060001
int id pdf_image 0x7f060002
int id username_view 0x7f060000
int id zoom_in 0x7f060004
int id zoom_out 0x7f060003
int layout dialog_pagenumber 0x7f030000
int layout graphics_view 0x7f030001
int layout main 0x7f030002
int layout navigation_overlay 0x7f030003
int layout pdf_file_password 0x7f030004
int layout scroll_layout 0x7f030005
int string app_name 0x7f050000
int string hello 0x7f050001

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="net.sf.andpdf.pdfviewer"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="4"
android:targetSdkVersion="4" />
<application />
</manifest>

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2008 Romain Guy
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<set xmlns:android="http://schemas.android.com/apk/res/android">
<translate
android:duration="200"
android:fromYDelta="100%"
android:toYDelta="0%" />
<alpha
android:duration="200"
android:fromAlpha="0.0"
android:toAlpha="1.0" />
</set>
<!-- From: file:/Users/winney/git/Android-Pdf-Viewer-Library/PdfView/src/main/res/anim/slide_in.xml -->

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2008 Romain Guy
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<set xmlns:android="http://schemas.android.com/apk/res/android">
<translate
android:duration="200"
android:fromYDelta="0%"
android:toYDelta="100%" />
<alpha
android:duration="200"
android:fromAlpha="1.0"
android:toAlpha="0.0" />
</set>
<!-- From: file:/Users/winney/git/Android-Pdf-Viewer-Library/PdfView/src/main/res/anim/slide_out.xml -->

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 983 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 904 B

View File

@ -0,0 +1,47 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2008 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/username_view"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_marginLeft="20dip"
android:layout_marginRight="20dip"
android:text="Page number:"
android:inputType="number"
android:gravity="left"
android:textAppearance="?android:attr/textAppearanceMedium" />
<EditText
android:id="@+id/pagenum_edit"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:layout_marginLeft="20dip"
android:layout_marginRight="20dip"
android:scrollHorizontally="true"
android:autoText="false"
android:capitalize="none"
android:inputType="phone"
android:gravity="fill_horizontal"
android:textAppearance="?android:attr/textAppearanceMedium" />
</LinearLayout>
<!-- From: file:/Users/winney/git/Android-Pdf-Viewer-Library/PdfView/src/main/res/layout/dialog_pagenumber.xml -->

View File

@ -0,0 +1,15 @@
<?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">
<ImageView android:id="@+id/pdf_image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:padding="5px"/>
</LinearLayout>
<!-- From: file:/Users/winney/git/Android-Pdf-Viewer-Library/PdfView/src/main/res/layout/graphics_view.xml -->

View File

@ -0,0 +1,13 @@
<?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"
>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello"
/>
</LinearLayout>
<!-- From: file:/Users/winney/git/Android-Pdf-Viewer-Library/PdfView/src/main/res/layout/main.xml -->

View File

@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingLeft="10dip"
android:paddingTop="5dip"
android:paddingRight="10dip"
android:paddingBottom="4dip"
android:background="#99000000" >
<ImageButton android:id="@+id/zoom_out"
android:text="Zoom Out"
android:src="@drawable/zoom_out"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="10" />
<ImageButton android:id="@+id/zoom_in"
android:text="Zoom In"
android:src="@drawable/zoom_in"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="10" />
<TextView android:id="@+id/navigation_page_position_label"
android:text="1/1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="60"
android:gravity="center"
android:layout_gravity="center" />
<ImageButton android:id="@+id/navigation_previous"
android:text="Previous"
android:src="@drawable/left_arrow"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="10" />
<ImageButton android:id="@+id/navigation_next"
android:text="Next"
android:src="@drawable/right_arrow"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="10" />
</LinearLayout>
<!-- From: file:/Users/winney/git/Android-Pdf-Viewer-Library/PdfView/src/main/res/layout/navigation_overlay.xml -->

View File

@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2009 Ferenc Hechler - ferenc_hechler@users.sourceforge.net
This file is part of the Android PDF Viewer
The Android PDF Viewer is free software;
you can redistribute it and/or modify it under the terms of the GNU
General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version.
The Android PDF Viewer is distributed
in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with the Android PDF Viewer
if not, write to the Free Software Foundation, Inc.,
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<!-- filename -->
<TextView
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0"
android:paddingBottom="0dip"
android:text="Password protected PDF-File:"/>
<EditText
android:id="@+id/etPassword"
android:layout_width="fill_parent"
android:layout_height="60px"
android:text=""
android:layout_weight="10"
android:hint="please enter password for PDF">
<requestFocus />
</EditText>
<!-- Buttons 'OK' + 'Exit' -->
<LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="center_horizontal" android:orientation="horizontal" >
<Button android:id="@+id/btExit" android:layout_width="120px" android:layout_height="40px" android:text="Exit"></Button>
<Button android:id="@+id/btOK" android:layout_width="120px" android:layout_height="40px" android:text="OK"></Button>
</LinearLayout>
</LinearLayout>
<!-- From: file:/Users/winney/git/Android-Pdf-Viewer-Library/PdfView/src/main/res/layout/pdf_file_password.xml -->

View File

@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2009 Ferenc Hechler - ferenc_hechler@users.sourceforge.net
This file is part of the Android PDF Viewer
The Android PDF Viewer is free software;
you can redistribute it and/or modify it under the terms of the GNU
General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version.
The Android PDF Viewer is distributed
in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with the Android PDF Viewer
if not, write to the Free Software Foundation, Inc.,
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
</LinearLayout>
</ScrollView>
</ScrollView>
<!-- From: file:/Users/winney/git/Android-Pdf-Viewer-Library/PdfView/src/main/res/layout/scroll_layout.xml -->

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- From: file:/Users/winney/git/Android-Pdf-Viewer-Library/PdfView/src/main/res/values/color.xml -->
<eat-comment/>
<drawable name="black">#000000</drawable>
<drawable name="blue">#000000FF</drawable>
<drawable name="violet">#9370DB</drawable>
<drawable name="white">#FFFFFFFF</drawable>
<!-- From: file:/Users/winney/git/Android-Pdf-Viewer-Library/PdfView/src/main/res/values/strings.xml -->
<eat-comment/>
<string name="app_name">PdfViewer</string>
<string name="hello">Hello World, PdfViewerActivity!</string>
</resources>

Some files were not shown because too many files have changed in this diff Show More