title: Is it possible to hide URL bar on Chrome Custom Tabs
body: <p>I'm looking for a way to, as the title says hide the url bar.</p>
  
  <p>I've got this so far but it hasn't changed anything.</p>
  
  <pre><code>CustomTabsIntent.Builder builder = new CustomTabsIntent.Builder();
          builder.setShowTitle(false);
          builder.enableUrlBarHiding();
          CustomTabsIntent customTabsIntent = builder.build();
          customTabsIntent.launchUrl(this, Uri.parse(url));
  </code></pre>
  
  <p>I've tried to use webviews but I've had endless problems with them with regards to file upload and certain css that isn't working well. The Custom Tab works well in all those aspects, and it seems faster.</p>
  
  <p>As per @113408 answer I'm trying to implement a TWA, I've got it working, added the link between the website and the app and the app to the website, but the URL bar is still viable. </p>
  
  <p>Here is the manifest file as it is the only coding I've done.</p>
  
  <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.app.comppanynme.twatest"&gt;
  
      &lt;application
          android:allowBackup="true"
          android:icon="@mipmap/ic_launcher"
          android:label="@string/app_name"
          android:roundIcon="@mipmap/ic_launcher_round"
          android:supportsRtl="true"
          android:theme="@style/AppTheme" &gt;
  
          &lt;meta-data
              android:name="asset_statements"
              android:resource="@string/asset_statements" /&gt;
  
          &lt;activity
              android:name="android.support.customtabs.trusted.LauncherActivity"&gt;
  
              &lt;!-- Edit android:value to change the url opened by the TWA --&gt;
              &lt;meta-data
                  android:name="android.support.customtabs.trusted.DEFAULT_URL"
                  android:value="http://192.168.8.46" /&gt;
  
              &lt;!-- This intent-filter adds the TWA to the Android Launcher --&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
  
              &lt;!--
                This intent-filter allows the TWA to handle Intents to open
                airhorner.com.
              --&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.VIEW"/&gt;
                  &lt;category android:name="android.intent.category.DEFAULT" /&gt;
                  &lt;category android:name="android.intent.category.BROWSABLE"/&gt;
  
                  &lt;!-- Edit android:host to handle links to the target URL--&gt;
                  &lt;data
                      android:scheme="http"
                      android:host="192.168.8.46"/&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
      &lt;/application&gt;
  &lt;/manifest&gt;
  </code></pre>
  
  <p>Here is my asset statement</p>
  
  <pre><code>&lt;string name="asset_statements"&gt;
          [{
              \"relation\": [\"delegate_permission/common.handle_all_urls\"],
              \"target\": {
                  \"namespace\": \"web\",
                  \"site\": \"http://192.168.8.46"}
          }]
      &lt;/string&gt;
  </code></pre>