B4A Library Dialogs library

Status
Not open for further replies.

alimanam3386

Active Member
Licensed User
Hi

how can we change the Title typeface ( also buttons typeface ) in this lib ? I used CSBuilder but nothing changed. thanks
 

Erel

Administrator
Staff member
Licensed User
You can't. You can see that the button text is String and not CharSequence so it is not possible to style it.
 

Marek Brezina

Member
Licensed User
Hello,
would you be able to do something with ColorDialog when you use it in Landscape mode? In this case, it does not appear as a whole, it is not possible to set the color. See picture. Can elements shrink somewhat? Or do the slider dial items?
Thank you,
Marek
 

Attachments

JTmartins

Active Member
Licensed User
I have several problems with this lib.

No way to have more than 4 digits displayed in number dialog.

Wrong display in Date dialog and time dialog in landscape, as shown.

Does anyone have the same problems ?

I'm using the demo files, for the attached shots
 

Attachments

jimmyF

Active Member
Licensed User
** Activity (splash) Pause, UserClosed = true **
** Activity (main) Resume **
Activity_Resume
No Intent
3
Error occurred on line: 2202 (Main)
java.lang.RuntimeException: Path ''does not exist
at anywheresoftware.b4a.agraham.dialogs.InputDialog$FileDialog.loadFileList(InputDialog.java:2030)
at anywheresoftware.b4a.agraham.dialogs.InputDialog$FileDialog.createFileDialog(InputDialog.java:2128)
at anywheresoftware.b4a.agraham.dialogs.InputDialog$FileDialog.Show(InputDialog.java:2054)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runVoidMethod(Shell.java:755)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:345)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:249)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:139)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:170)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:166)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:5646)
at android.view.View$PerformClick.run(View.java:22554)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6157)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:926)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:788)
Using Android 7.1.1
Not an issue with older versions.
B4X:
Dim fd As FileDialog
fd.FileFilter=("*.*")
fd.TextColor = Colors.Black
                 
Line 2202 --> fd.Show("Open Text File","Yes","No","",Null)
If fd.Response = DialogResponse.POSITIVE Then
 

jimmyF

Active Member
Licensed User
Very good question. :confused:
I just figured it out as you were typing. Great minds think alike! ;)
I had never set it.
This works:
B4X:
fd.FilePath= File.DirRootExternal
Funny, though, that it was never an issue on previous phones.
 
Status
Not open for further replies.
Top