Android Question [Solved] Issues in AS Chips 1.14

asales

Expert
Licensed User
Longtime User
I update the lib but now I get this behaviour in the chips (it works fine in version 1.13):
1.14
1749132480913.png
1.13 (OK)
1749132490696.png

(I tried to post the code but I get an error in the forum)

How to fix it?
Thanks in advance.
 

asales

Expert
Licensed User
Longtime User
Here is the code:
B4X:
Private Sub AS_Chips1_CustomDrawChip(Item As ASChips_CustomDraw)
    Item.Views.RemoveIconLabel.Visible = False

    Item.Views.BackgroundPanel.Width = Item.Views.BackgroundPanel.Width - 16dip
        
    Item.Views.BackgroundPanel.SetColorAndBorder(xui.Color_RGB(175,225,225),2dip,xui.Color_RGB(24,110,244),18dip)
        
    If Item.Views.IconImageView.Visible = False Then
        Item.Views.TextLabel.Left = 12dip
    End If
End Sub
 
Upvote 0

asales

Expert
Licensed User
Longtime User
the zip cannot exceed 500kb.

Most probably you have to create a new small example showing the problem.
No. I didn't create a project.

I tried to put the code only in the first post, but it gives an error (even if I reload the page and start over to put the topic).
1749143713483.png


But I managed to put the code, separately, in the second post.

Thanks!
 
Upvote 0
Top