<?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 Apply transparency for graphics in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/apply-transparency-for-graphics/m-p/520601#M3547</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a list of feature layers, on selection of it [ multi-select ], I draw underlying geometries on the map as graphics.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using graphicOverlays.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mGraphicsOverlay.getGraphics().add(graphic);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My need is, I have a mapping for transparency attached to each layer and graphicOverlay should consider&amp;nbsp;it.&lt;/P&gt;&lt;P&gt;I am doing this way.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mGraphicsOverlay.setOpacity((float) transparency / 100);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is, when I select another layer, other&amp;nbsp;graphics's transparency changes to currently selected layer's transparency.&lt;/P&gt;&lt;P&gt;Do we have any solution for adding opacity to individual symbol/graphics, as we have for JS SDK.&amp;nbsp; &lt;STRONG&gt;markerSymbol.color.a&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can instantiate one graphic overlay for each selection, and remove when deselected, but this method is little weird.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know a good way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Sep 2019 19:27:41 GMT</pubDate>
    <dc:creator>DevendraKhatri</dc:creator>
    <dc:date>2019-09-23T19:27:41Z</dc:date>
    <item>
      <title>Apply transparency for graphics</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/apply-transparency-for-graphics/m-p/520601#M3547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a list of feature layers, on selection of it [ multi-select ], I draw underlying geometries on the map as graphics.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using graphicOverlays.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mGraphicsOverlay.getGraphics().add(graphic);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My need is, I have a mapping for transparency attached to each layer and graphicOverlay should consider&amp;nbsp;it.&lt;/P&gt;&lt;P&gt;I am doing this way.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mGraphicsOverlay.setOpacity((float) transparency / 100);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is, when I select another layer, other&amp;nbsp;graphics's transparency changes to currently selected layer's transparency.&lt;/P&gt;&lt;P&gt;Do we have any solution for adding opacity to individual symbol/graphics, as we have for JS SDK.&amp;nbsp; &lt;STRONG&gt;markerSymbol.color.a&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can instantiate one graphic overlay for each selection, and remove when deselected, but this method is little weird.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know a good way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2019 19:27:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/apply-transparency-for-graphics/m-p/520601#M3547</guid>
      <dc:creator>DevendraKhatri</dc:creator>
      <dc:date>2019-09-23T19:27:41Z</dc:date>
    </item>
  </channel>
</rss>

