Select to view content in your preferred language

Legend info display error with unique value

258
0
01-11-2020 11:12 PM
nafotoisrael
Emerging Contributor

 Hello, when trying to display a LegendInfo of a FeatureLayer we've come across a problem:

unique value

normally, this doesn't display the huge gap between the layer name to the symbology

this happens when we have a unique value in the layer

code for display:

inal LegendInfo legendInfo = mLegendInfoList.get(position);
holder.legendName.setText(legendInfo.getName().trim());

oddly enough, if we do not take the legendInfo.getName() the gap disappears

sincerely.

0 Kudos
0 Replies