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
| FloatingActionButton fab = new FloatingActionButton(context); | |
| fab.setId(View.generateViewId()); | |
| fab.setOnClickListener(new View.OnClickListener() { | |
| @Override | |
| public void onClick(View v) { | |
| Log.d("DEBUG", "onFabFoo"); | |
| }}); | |
| fab.setImageResource(R.drawable.btn_plus); | |
| fab.setElevation(2); | |
| fab.setSize(FloatingActionButton.SIZE_MINI); |
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
| function doGet() { | |
| getAdReports(); | |
| } | |
| function getAdReports() { | |
| var start = "today-6d"; //one week ago | |
| var end = "today"; | |
| var clients = AdSense.Adclients.list().getItems(); |
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
| // Copyright 2017-2018 Pavitra, All rights reserved | |
| // Released under the Apache License, Version 2.0 | |
| // http://www.apache.org/licenses/LICENSE-2.0 | |
| package com.pavitra; | |
| import android.content.Context; | |
| import android.util.Log; | |
| import com.physicaloid.lib.*; |
NewerOlder