Android Question NumberDialog only 4 digits

wroyw

Member
Licensed User
Hi,
I have a problem with the NumberDialog.
It only shows 4 digits ...
B4X:
    Dim nd As NumberDialog
    nd.Decimal = 1
    nd.Digits = 6
    nd.Number = 123456
    If  (nd.Show ("Set value :","Set","cancel","",Null) = DialogResponse.POSITIVE) Then

    End If

My orientation is portrait ...
Is there a minimum width of the buttons ?
 

Mahares

Expert
Licensed User
Longtime User
I have a problem with the NumberDialog.
It only shows 4 digits ...
If you have to show more than 4 digits, and need to get out of a bind, and do not mind an Android 2.0 theme , then set the target SDK in the manifest editir to 10. You will get 8 or 9 digits.
I know @Erel is going to chew me up for answering you this way as he advises against older themes, but sometimes, you got to do what you have to do.
 
Upvote 0

wroyw

Member
Licensed User
If you have to show more than 4 digits, and need to get out of a bind, and do not mind an Android 2.0 theme , then set the target SDK in the manifest editir to 10. You will get 8 or 9 digits.
I know @Erel is going to chew me up for answering you this way as he advises against older themes, but sometimes, you got to do what you have to do.

Thank you it works !
 
Upvote 0
Top