<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hiding the browser header and footer in AppStudio BrowserView in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/hiding-the-browser-header-and-footer-in-appstudio/m-p/1074607#M3964</link>
    <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;One of the requirements for an app we are developing is that we include the ability for a user to access an existing webpage from within the app. This is a fault reporting webpage and may require that the user upload an image from their device.&lt;/P&gt;&lt;P&gt;For this reason we are unable to use the WebView component as, according to the documentation:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;- "Note that WebView&amp;nbsp;doesn't support loading content through the Qt Resource system"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We have tested this and it certainly holds true for Android devices, although the iPad we tested on did allow us to load content through the WebView.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Anyway, for consistency sake, our only option is then to use a BrowserView, but the question I have is - is there any way of getting rid or hiding the 'furniture' around the web page that displays. We don't want the users to navigate away from the fault reporting page or from the app itself.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Essentially, we want to hide the blocks highlighted in red at the top and bottom of the page:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TerryRichards1_1-1625131390235.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/17468i7731D8E74644AF45/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TerryRichards1_1-1625131390235.png" alt="TerryRichards1_1-1625131390235.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Terry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jul 2021 09:26:00 GMT</pubDate>
    <dc:creator>TerryRichards1</dc:creator>
    <dc:date>2021-07-01T09:26:00Z</dc:date>
    <item>
      <title>Hiding the browser header and footer in AppStudio BrowserView</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/hiding-the-browser-header-and-footer-in-appstudio/m-p/1074607#M3964</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;One of the requirements for an app we are developing is that we include the ability for a user to access an existing webpage from within the app. This is a fault reporting webpage and may require that the user upload an image from their device.&lt;/P&gt;&lt;P&gt;For this reason we are unable to use the WebView component as, according to the documentation:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;- "Note that WebView&amp;nbsp;doesn't support loading content through the Qt Resource system"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We have tested this and it certainly holds true for Android devices, although the iPad we tested on did allow us to load content through the WebView.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Anyway, for consistency sake, our only option is then to use a BrowserView, but the question I have is - is there any way of getting rid or hiding the 'furniture' around the web page that displays. We don't want the users to navigate away from the fault reporting page or from the app itself.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Essentially, we want to hide the blocks highlighted in red at the top and bottom of the page:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TerryRichards1_1-1625131390235.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/17468i7731D8E74644AF45/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TerryRichards1_1-1625131390235.png" alt="TerryRichards1_1-1625131390235.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Terry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 09:26:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/hiding-the-browser-header-and-footer-in-appstudio/m-p/1074607#M3964</guid>
      <dc:creator>TerryRichards1</dc:creator>
      <dc:date>2021-07-01T09:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding the browser header and footer in AppStudio BrowserView</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/hiding-the-browser-header-and-footer-in-appstudio/m-p/1079815#M3980</link>
      <description>&lt;P&gt;Terry,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a great suggestion, but I don't think we have special properties for it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I think you can achieve this by adding anchors.topMargin and anchors.bottomMargin to negative value to workaround it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;BrowserView {
             id: browserView
             anchors.fill: parent
             anchors.topMargin: -40
             anchors.bottomMargin: -40
             primaryColor:"#8f499c"
             foregroundColor: "#f7d4f4"
             url: "https://www.esri.com/en-us/arcgis/products/appstudio-for-arcgis"
              }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Erwin&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 19:00:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/hiding-the-browser-header-and-footer-in-appstudio/m-p/1079815#M3980</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2021-07-16T19:00:44Z</dc:date>
    </item>
  </channel>
</rss>

