use of org.horaapps.leafpic.util.CustomTabService in project LeafPic by HoraApps.
the class DonateActivity method onPostCreate.
@Override
protected void onPostCreate(Bundle savedInstanceState) {
super.onPostCreate(savedInstanceState);
setContentView(R.layout.activity_donate);
toolbar = (Toolbar) findViewById(R.id.toolbar);
setNavBarColor();
cts = new CustomTabService(org.horaapps.leafpic.activities.DonateActivity.this, getPrimaryColor());
scr = (ScrollView) findViewById(R.id.donateAct_scrollView);
}
use of org.horaapps.leafpic.util.CustomTabService in project LeafPic by HoraApps.
the class AboutActivity method onPostCreate.
@Override
protected void onPostCreate(Bundle savedInstanceState) {
super.onPostCreate(savedInstanceState);
setContentView(org.horaapps.leafpic.R.layout.activity_about);
toolbar = (Toolbar) findViewById(org.horaapps.leafpic.R.id.toolbar);
setNavBarColor();
cts = new CustomTabService(AboutActivity.this, getPrimaryColor());
scr = (ScrollView) findViewById(org.horaapps.leafpic.R.id.aboutAct_scrollView);
}
use of org.horaapps.leafpic.util.CustomTabService in project LeafPic by HoraApps.
the class DonateActivity method onCreate.
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(org.horaapps.leafpic.R.layout.activity_donate);
toolbar = (Toolbar) findViewById(org.horaapps.leafpic.R.id.toolbar);
bar = (SeekBar) findViewById(R.id.seek_bar_donations);
setNavBarColor();
cts = new CustomTabService(DonateActivity.this, getPrimaryColor());
scr = (ScrollView) findViewById(org.horaapps.leafpic.R.id.donateAct_scrollView);
mHelper = new IabHelper(this, SecretConstants.getBase64EncodedPublicKey(getApplicationContext()));
mHelper.startSetup(new IabHelper.OnIabSetupFinishedListener() {
public void onIabSetupFinished(IabResult result) {
if (!result.isSuccess()) {
// Oh no, there was a problem.
Log.d("donateAct", "Problem setting up In-app Billing: " + result);
}
// Hooray, IAB is fully set up!
}
});
}
Aggregations