Skip to content

Instantly share code, notes, and snippets.

View wwdablu's full-sized avatar
:octocat:
Looking for other developers to create open source android libraries.

Soumya wwdablu

:octocat:
Looking for other developers to create open source android libraries.
View GitHub Profile
public Camera FirstPersonCamera;
public GameObject DetectedPlanePrefab;
public GameObject DiabloGameObject;
void Update () {
_UpdateApplicationLifecycle();
// Hide snackbar when currently tracking at least one plane.
Session.GetTrackables<DetectedPlane>(m_AllPlanes);
This application by default does not track or record anything of the user explicitly.
This application by default does not track or record anything of the user explicitly.
@wwdablu
wwdablu / lottie_menu_item.xml
Created December 3, 2018 21:43
This is the layout of the menu item which is displayed in the lottiebottomnav
<?xml version="1.0" encoding="utf-8"?>
<layout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/menu_container"
android:background="@android:color/transparent"
android:orientation="vertical">
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();
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;
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();
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);
{
"contents" : [
{
"type" : "text",
"content" : "SimplyPdf developer, Soumya Kanti Kar",
"properties" : {
"size" : 24,
"color" : "#000000",
"underline" : true,
"strikethrough" : false
The application does not send any user specific data to any remote server. All of them are kept in the local phone.