<** PDFApp [C:\Users\dell\AndroidStudioProjects\PDFApp] - ...\app\src\main\java\com\blogspot\atifsoftwares\pdfapp\MamActivity.java [app] - Android Studio File Edit View Navigate £ode Anały^e Refactor guild Ryn Tools VCS Window Help
y M O 4/ * |
& 0 fl 0, |
a. | o |
\ n%app ^ |
►. + fc nt tn G ■ a Q | i 1 ? |
Android Emulator - Nexus_5X_API_25:5554 | |
PDFApp app src |
main java |
com |
blogspot atifsoftwares pdfapp ę MainActivity |
e A |
'a D 6.02 | |
j Android |
- O * |
1- |
activity_main.xml |
<J MainActivity.java app | ||
v app |
-1- |
> manifest* v M java
^ EU com.blogspot.atifsoftwares.pdfapp c MainActivity
> com.blogspot.atifsoftwares.pdfapp androidTe
> com.blogspot.atifsoftwares.pdfapp test)
^ assets
7 pdfexample.pdf v res
> Cl drawable v B layout
o*: activity_main.xml
> mipmap
> Bi values (•) Gradle Scripts
(•) build.gradle Project: PDFApp)
(•) build.gradle Module: app) tf|| gradle.propcrties ,1 gradle-wrapper.properties ,1 local.properties
? proguard-rules.pro (ProGuard Rules for app)
(•> settings.gradle Project Settings)
0Override
protected void onCreate(Bundle savedInstanceState) {
stiper.onCreate (savedInstanceState) ; setContentView(R.layout.activity main) ;
//PDF Viev
.enableSwipe(true) // allows to błock cha . swipeHorizontal (true:)
.enableDoubletap(true)
.defaultPage(0)
.enableAnnotationRendering(false) rond
.password(nuli)
.scrollHandle(nuli)
. enableAntialiasing (true) // iirprov-- rond // spacing bettfeen pages in dp. To define .spacing(0)
-pageFitPolicy (FitPolicy.TflDTB)
.load();
/*lets add pdf support llbarary
* addlng layout
* create assets folder and place a pdf In it MainActivity > onCreateO
^ GooglcPIay
Nr pi //pUy cwujl* ■ <i.VMi*^/łKii/<*v-’-t)-68685J76?i 11SJ15530 https //aUsoftMres.l>bgspot.cofr/ htrpi //ecynlwulrodbtogtf^t <etnf http; //u* youtubc
(d Gradle V Flutter Outline Flutter Inspector O Device File Explorer
'■'Jl
★
OH Terminal Build ł 6: Logcat r7i Profiler 4: Run % TODO |
4 Event Log |
□ Gradle build finished in 4s 723ms (9 minutes ago) |
24:32 CRLF: UTF-8: Contc-t: • no ccnte t • 1j @ |
fp /S <& ENG 6:02 PM £]
W i.