This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
textViewAnimator | |
.typewrite("Android animation library") | |
.then(waitFor = 1000) { | |
imageViewAnimator.flipAndSetImage(Axis.X, R.drawable.ic_love, 300) | |
textViewAnimator.typewrite("ViewAnimator") | |
.then(waitFor = 1000) { | |
var heartBeat = 0 | |
imageViewAnimator.loop({ viewAnimator, callback -> | |
viewAnimator.scale(2F, 100).then { | |
it.scale(1F, 100).then { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require('express'); | |
var port = process.env.PORT || 3000; | |
var app = express(); | |
app.get('/', function (req, res) { | |
res.send(JSON.stringify({ identity: 'Mockpress'})); | |
}); | |
app.listen(port, function () { | |
console.log('Mockpress is listning...'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require('express'); | |
var port = process.env.PORT || 3000; | |
var app = express(); | |
app.get('/', function (req, res) { | |
res.send(JSON.stringify({ identity: 'Mockpress'})); | |
}); | |
app.listen(port, function () { | |
console.log('Mockpress is listning...'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The application does not send any user specific data to any remote server. All of them are kept in the local phone. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"contents" : [ | |
{ | |
"type" : "text", | |
"content" : "SimplyPdf developer, Soumya Kanti Kar", | |
"properties" : { | |
"size" : 24, | |
"color" : "#000000", | |
"underline" : true, | |
"strikethrough" : false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TextProperties textProperties = new TextProperties(); | |
textProperties.textSize = 24; | |
textProperties.typeface = Typeface.create(Typeface.DEFAULT, Typeface.BOLD); | |
textProperties.alignment = Layout.Alignment.ALIGN_CENTER; | |
TextComposer textComposer = new TextComposer(simplyPdfDocument); | |
textComposer.write("SimplyPDF", textProperties); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
simplyPdfDocument = SimplyPdf.with(this, new File(Environment.getExternalStorageDirectory().getAbsolutePath() + "/test.pdf")) | |
.colorMode(DocumentInfo.ColorMode.COLOR) | |
.paperSize(PrintAttributes.MediaSize.ISO_A4) | |
.margin(DocumentInfo.Margins.DEFAULT) | |
.paperOrientation(DocumentInfo.Orientation.PORTRAIT) | |
.build(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
textComposer = simplyPdfDocument.getTextComposer(); | |
TextComposer.Properties textProperties = new TextComposer.Properties(); | |
textProperties.textSize = 24; | |
textProperties.typeface = Typeface.create(Typeface.DEFAULT, Typeface.BOLD); | |
textProperties.alignment = Layout.Alignment.ALIGN_CENTER; | |
textComposer.write("SimplyPDF", textProperties); | |
textProperties.typeface = null; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
simplyPdfDocument = SimplyPdf.with(this, new File(Environment.getExternalStorageDirectory().getAbsolutePath() + "/test.pdf")) | |
.colorMode(DocumentInfo.ColorMode.COLOR) | |
.paperSize(PrintAttributes.MediaSize.ISO_A4) | |
.margin(DocumentInfo.Margins.DEFAULT) | |
.paperOrientation(DocumentInfo.Orientation.PORTRAIT) | |
.build(); |
NewerOlder