<?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 Re: MapView overdraw + fix in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-overdraw-fix/m-p/491582#M3406</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;There some really simple drawing optimizations that can be implemented on MapView. Just sharing them.&lt;BR /&gt;&lt;BR /&gt;For example, take &lt;SPAN style="font-style:italic;"&gt;com.esri.arcgis.android.samples.helloworld&lt;/SPAN&gt;. Set target android:targetSdkVersion="18" in manifest and target=android-18 in project.properties (actually, anything above android-10 will work). Now go to device Settings -&amp;gt; Developer options and enable "Show GPU overdraw" option. Start the sample. As you can see, map now has green overlay on it, meaning that there are 2 things overdrawing on the area the map is in.&lt;BR /&gt;&lt;BR /&gt;1) Window background. It can be removed by calling &lt;STRONG&gt;getWindow().setBackgroundDrawable(null);&lt;/STRONG&gt; somewhere in activity. This optmization might not be suitable for apps that don't have MapView covering their whole window.&lt;BR /&gt;&lt;BR /&gt;2) MapView background drawable. Why does the MapView need background drawable? Who knows... but you can remove it by calling &lt;STRONG&gt;mMapView.setBackgroundDrawable(null);&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Hierarchy Viewer shows ~3ms decrease in drawing time.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for sharing Chirrup!.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 28 Sep 2013 16:34:01 GMT</pubDate>
    <dc:creator>ThomasBinu</dc:creator>
    <dc:date>2013-09-28T16:34:01Z</dc:date>
    <item>
      <title>MapView overdraw + fix</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-overdraw-fix/m-p/491581#M3405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There some really simple drawing optimizations that can be implemented on MapView. Just sharing them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, take &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;com.esri.arcgis.android.samples.helloworld&lt;/SPAN&gt;&lt;SPAN&gt;. Set target android:targetSdkVersion="18" in manifest and target=android-18 in project.properties (actually, anything above android-10 will work). Now go to device Settings -&amp;gt; Developer options and enable "Show GPU overdraw" option. Start the sample. As you can see, map now has green overlay on it, meaning that there are 2 things overdrawing on the area the map is in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Window background. It can be removed by calling &lt;/SPAN&gt;&lt;STRONG&gt;getWindow().setBackgroundDrawable(null);&lt;/STRONG&gt;&lt;SPAN&gt; somewhere in activity. This optmization might not be suitable for apps that don't have MapView covering their whole window.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) MapView background drawable. Why does the MapView need background drawable? Who knows... but you can remove it by calling &lt;/SPAN&gt;&lt;STRONG&gt;mMapView.setBackgroundDrawable(null);&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hierarchy Viewer shows ~3ms decrease in drawing time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 07:00:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-overdraw-fix/m-p/491581#M3405</guid>
      <dc:creator>JuliusBagdonas</dc:creator>
      <dc:date>2013-09-26T07:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: MapView overdraw + fix</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-overdraw-fix/m-p/491582#M3406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;There some really simple drawing optimizations that can be implemented on MapView. Just sharing them.&lt;BR /&gt;&lt;BR /&gt;For example, take &lt;SPAN style="font-style:italic;"&gt;com.esri.arcgis.android.samples.helloworld&lt;/SPAN&gt;. Set target android:targetSdkVersion="18" in manifest and target=android-18 in project.properties (actually, anything above android-10 will work). Now go to device Settings -&amp;gt; Developer options and enable "Show GPU overdraw" option. Start the sample. As you can see, map now has green overlay on it, meaning that there are 2 things overdrawing on the area the map is in.&lt;BR /&gt;&lt;BR /&gt;1) Window background. It can be removed by calling &lt;STRONG&gt;getWindow().setBackgroundDrawable(null);&lt;/STRONG&gt; somewhere in activity. This optmization might not be suitable for apps that don't have MapView covering their whole window.&lt;BR /&gt;&lt;BR /&gt;2) MapView background drawable. Why does the MapView need background drawable? Who knows... but you can remove it by calling &lt;STRONG&gt;mMapView.setBackgroundDrawable(null);&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Hierarchy Viewer shows ~3ms decrease in drawing time.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for sharing Chirrup!.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Sep 2013 16:34:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-overdraw-fix/m-p/491582#M3406</guid>
      <dc:creator>ThomasBinu</dc:creator>
      <dc:date>2013-09-28T16:34:01Z</dc:date>
    </item>
  </channel>
</rss>

