5

enter image description hereHi i am new to custom tabs i just want to hide action bar. Is there any way to do this any link, code and concept will be appreciated thanks in advance!

Here is the code!

CustomTabsIntent.Builder intentBuilder = new CustomTabsIntent.Builder();
    intentBuilder.setStartAnimations(this, R.anim.slide_in_right, R.anim.slide_out_left);
    intentBuilder.setExitAnimations(this, android.R.anim.slide_in_left,
        android.R.anim.slide_out_right);

    //Open the Custom Tab        
    intentBuilder.build().launchUrl(context, Uri.parse("https://developer.chrome.com/"));    
Umer Khan
  • 486
  • 2
  • 11

1 Answers1

-3

You can hide Acton Bar in your Acitivity like this

getSupportActionBar().hide();

Hope this helps.

Mayank Bhatnagar
  • 2,120
  • 1
  • 12
  • 20