I am trying to show arabic language in BBListitem but the text doesn't shows properly letters arent connected..
I have created an example and placed the correct arabic text in a label and its shows correctly in the label , but in BBListItem letters shows separated from each other.
example attached
The problem is present when you add "ـ" to make the letter longer. Same, there is a problem with the letter "ئ". Otherwise, it works correctly.
So if you change your ( Label1.Text = " فزيــــاء" ) to
B4X:
Label1.Text = "فزياء"
without adding "ـ" , it works
As for the letter "ئ", may be other members can provide help.
Regards
The problem is present when you add "ـ" to make the letter longer. Same, there is a problem with the letter "ئ". Otherwise, it works correctly.
So if you change your ( Label1.Text = " فزيــــاء" ) to
B4X:
Label1.Text = "فزياء"
without adding "ـ" , it works
As for the letter "ئ", may be other members can provide help.
Regards
This is not a solution. And i am not complaining about the format that writes the Arabic word. As you see in label1 any of that symbols will show normally.. And that's how it should be in Bblistitem.
Thank you very much Erel when ever i find any related issue with Arabic text i will report it. I already use b4xpages in the main project I have just created this example for testing purposes
also in this word printed correctly but only one letter still not connected
B4X:
'this word printed correctly but only one letter is not conected which is : لا
' example can be سلا صلا هلا
' they aren't connected
Label1.Text = " الــــسلام ئياد"
'Even More words can be
'ٱلُــُغُة
'ٱلُـ‘ـُعُــُدل
'أمُــُةّ
I want to add Managing the scrollchange event that way makes the List Veryfast without any lag noticed.
B4X:
Private Sub clv_ScrollChanged (Offset As Int)
Try
' Loop through Visible items only
For i = clv.FirstVisibleIndex To clv.LastVisibleIndex
Dim BB As BBListItem = clv.GetPanel(i).GetView(BBListItemIndexInItems).Tag
BB.ParentScrolled(Offset, clv.AsView.Height, 29dip)
Next
Catch
Log(LastException)
End Try
End Sub
Thank you Erel for such great Library its extends the xclv power and makes me avoid using webviews in my projects