1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2024-11-16 17:32:08 +01:00

Removed animation from customTab

This commit is contained in:
vanitasvitae 2016-09-20 20:09:30 +02:00
parent 504f7cd434
commit 4a135e50d6

View file

@ -49,8 +49,6 @@ public class OpenExternalLinkReceiver extends BroadcastReceiver {
// Setup Chrome Custom Tab // Setup Chrome Custom Tab
CustomTabsIntent.Builder customTab = new CustomTabsIntent.Builder(); CustomTabsIntent.Builder customTab = new CustomTabsIntent.Builder();
customTab.setToolbarColor(Helpers.getColorFromRessource(c, R.color.colorPrimary)); customTab.setToolbarColor(Helpers.getColorFromRessource(c, R.color.colorPrimary));
customTab.setStartAnimations(c, android.R.anim.slide_in_left, android.R.anim.fade_out);
customTab.setExitAnimations(c, android.R.anim.fade_in, android.R.anim.slide_out_right);
customTab.addDefaultShareMenuItem(); customTab.addDefaultShareMenuItem();
Bitmap backButtonIcon = BitmapFactory.decodeResource(c.getResources(), R.drawable.chrome_custom_tab__back); Bitmap backButtonIcon = BitmapFactory.decodeResource(c.getResources(), R.drawable.chrome_custom_tab__back);