<?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 How to set a round corner for text symbol style? in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-set-a-round-corner-for-text-symbol-style/m-p/1249809#M5951</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The SDK version is &lt;A href="https://developers.arcgis.com/android/api-reference/reference/index.html" target="_self"&gt;100.15.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Here is my java code for create a text symbol with background color. And the requirement is setting a round corner for the style. Is there any way to implement it by the SDK now?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="java"&gt;TextSymbol textSymbol = new TextSymbol();
textSymbol.setHorizontalAlignment(TextSymbol.HorizontalAlignment.LEFT);
textSymbol.setFontWeight(TextSymbol.FontWeight.BOLD);
textSymbol.setSize(14);
textSymbol.setColor(0xFFFFFFFF);
textSymbol.setBackgroundColor(backgroundColor);

textSymbol.setText(information);
textSymbol.setOffsetX(offsetX);
textSymbol.setOffsetY(offsetY);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the style now.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LeoDeng_0-1674195105479.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/60813i3ACF498A2E302BBE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LeoDeng_0-1674195105479.png" alt="LeoDeng_0-1674195105479.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Bests,&lt;BR /&gt;Leo&lt;/P&gt;</description>
    <pubDate>Fri, 20 Jan 2023 06:13:57 GMT</pubDate>
    <dc:creator>LeoDeng</dc:creator>
    <dc:date>2023-01-20T06:13:57Z</dc:date>
    <item>
      <title>How to set a round corner for text symbol style?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-set-a-round-corner-for-text-symbol-style/m-p/1249809#M5951</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The SDK version is &lt;A href="https://developers.arcgis.com/android/api-reference/reference/index.html" target="_self"&gt;100.15.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Here is my java code for create a text symbol with background color. And the requirement is setting a round corner for the style. Is there any way to implement it by the SDK now?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="java"&gt;TextSymbol textSymbol = new TextSymbol();
textSymbol.setHorizontalAlignment(TextSymbol.HorizontalAlignment.LEFT);
textSymbol.setFontWeight(TextSymbol.FontWeight.BOLD);
textSymbol.setSize(14);
textSymbol.setColor(0xFFFFFFFF);
textSymbol.setBackgroundColor(backgroundColor);

textSymbol.setText(information);
textSymbol.setOffsetX(offsetX);
textSymbol.setOffsetY(offsetY);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the style now.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LeoDeng_0-1674195105479.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/60813i3ACF498A2E302BBE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LeoDeng_0-1674195105479.png" alt="LeoDeng_0-1674195105479.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Bests,&lt;BR /&gt;Leo&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 06:13:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-set-a-round-corner-for-text-symbol-style/m-p/1249809#M5951</guid>
      <dc:creator>LeoDeng</dc:creator>
      <dc:date>2023-01-20T06:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a round corner for text symbol style?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-set-a-round-corner-for-text-symbol-style/m-p/1251077#M5953</link>
      <description>&lt;P&gt;Hi Leo,&lt;BR /&gt;You mention, you need a round corner added to the text symbol. Or the text symbol background?&lt;BR /&gt;Do you have an image if how you want your text to look like?&lt;BR /&gt;&lt;BR /&gt;As far as I see from the API documentation, we have no property to add corners to the text symbol background.&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/java/api-reference/reference/com.esri.arcgisruntime/com/esri/arcgisruntime/symbology/TextSymbol.html" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/java/api-reference/reference/com.esri.arcgisruntime/com/esri/arcgisruntime/symbology/TextSymbol.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 23:42:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-set-a-round-corner-for-text-symbol-style/m-p/1251077#M5953</guid>
      <dc:creator>PriyankaRupani</dc:creator>
      <dc:date>2023-01-24T23:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a round corner for text symbol style?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-set-a-round-corner-for-text-symbol-style/m-p/1251096#M5954</link>
      <description>&lt;P&gt;Currently,&lt;SPAN&gt;&amp;nbsp;we don't support adding rounded corners to text symbol background. Is it important for your workflow to have rounded corners to the text symbol background?&lt;BR /&gt;You could alternatively use a `Callout` which does have rounded corners.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 00:15:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-set-a-round-corner-for-text-symbol-style/m-p/1251096#M5954</guid>
      <dc:creator>PriyankaRupani</dc:creator>
      <dc:date>2023-01-25T00:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a round corner for text symbol style?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-set-a-round-corner-for-text-symbol-style/m-p/1251783#M5955</link>
      <description>&lt;P&gt;Hi Priyanka,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sorry for the confusion. As you see in the image, there is a rectangle background for the text symbol. My target is to &lt;U&gt;&lt;STRONG&gt;create a text symbol with round corner background.&lt;/STRONG&gt;&lt;/U&gt; I didn't find any clues in the API document or demos either.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Leo&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 08:55:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-set-a-round-corner-for-text-symbol-style/m-p/1251783#M5955</guid>
      <dc:creator>LeoDeng</dc:creator>
      <dc:date>2023-01-26T08:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a round corner for text symbol style?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-set-a-round-corner-for-text-symbol-style/m-p/1251785#M5956</link>
      <description>&lt;P&gt;Yes. The target style is similar to the defalut callout demo. Howerver, in the callout style I met another &lt;A href="https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-set-a-round-corner-for-text-symbol-style/m-p/1249809" target="_self"&gt;trouble&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;The callout‘s behavior is worse than the text symbol when user pan the map. Is there any&amp;nbsp;symbolization solution for the callout style?&lt;BR /&gt;&lt;BR /&gt;I appreciate your comments.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 08:56:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-set-a-round-corner-for-text-symbol-style/m-p/1251785#M5956</guid>
      <dc:creator>LeoDeng</dc:creator>
      <dc:date>2023-01-26T08:56:02Z</dc:date>
    </item>
  </channel>
</rss>

