Android New Dialog Control dialog text looks small

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • With the new object as part in MMF2 Build 258.2 called "Android New Dialog Control", the text produced from all the dialogs (with exception of the agreement) look really small on my device.

    If I was to compare this with an non-MMF2 Android application, the text look large enough to be comfortably read on a mobile device. Is this normal? A bug? Any plans on fixing/changing the font size? Specific to Android 4.x?

    This issue wasn't present prior to this 'new' extension, when I was using StephenL's beta extension called "Android Dialogs".

    For comparison, I've used the development settings warning as an example:

    Figure 1 - Development Tools in System Settings
    Please login to see this attachment.

    Figure 2 - Android Dialogs Beta Extension
    Please login to see this attachment.

    Figure 3 - Android New Dialog Control Extension
    Please login to see this attachment.

    I've tried all sort of combinations, the themes and dialog sizes, but none of them fix the size of the text. :(

    Is there a solution to this? Or some sort of bug?

    Edit: I think it might be a bug. I've reported it on the bug tracker. Please login to see this link.

    Please login to see this link. - The encyclopaedia written by clickers, for the community.
    Please login to see this link. | Please login to see this link.

  • It's been almost a month and it appears no progress has happened with this issue. :( I would appreciate if this will be confirmed a fix or not.

    Despite being told that:

    Quote from Fernando Vivolo

    it was like intentionally set to allow the same content in all devices


    That's not how it should of been implemented. If the system UI and StephenL's extension can display the text size properly [on my device at least], I don't see this as an excuse.

    Please login to see this link. - The encyclopaedia written by clickers, for the community.
    Please login to see this link. | Please login to see this link.

    Edited once, last by lh37 (December 7, 2013 at 4:48 PM).

  • All bugs reported via the BugTracker will be dealt with by their respective developers. Please allow time for the changes, atm Fernando not only has to deal with current Android bug list but also migrating Android over to 2.5... this could explain the time thus far.

    Game Launcher Creator V3 - Please login to see this link.
    Bespoke Software Development - Please login to see this link.
    Learn Clickteam Fusion 2.5 - Please login to see this link.

    Danny // Clickteam

  • That's very true Danny, thank you for the clarification. I'll patiently wait another month or so for a fix.

    I'm more concerned if this will be fixed or not from the sounds of it originally being 'intentionally' set like that. If I'm aware this won't be changed, I should abandon the extension in flavour of one that will work, which I wouldn't want to do.

    Please login to see this link. - The encyclopaedia written by clickers, for the community.
    Please login to see this link. | Please login to see this link.

  • indeed Stephen´s dialog object only do internal mode as you may see and not use theme, so one problem with all devices is that are truly theme dependent.

    in the last version fusion 2.5 the text should be bigger and adapted to all devices.

    please let me know if the text is bigger or is the same in your device.

    Regards,


    Fernando Vivolo

    ... new things are coming ...

  • I regret to inform that using the latest available build (R280.27) of Fusion 2.5, the dialogs produced by your extension still appear small then what they should be.

    For comparison, Android New Dialog Control Extension:
    Please login to see this attachment.

    Android Dialogs Beta Extension:
    Please login to see this attachment.

    (For the observant, it's not the stock Android font, it's one called Ubuntu)

    Android properties:
    Build API: 14
    Min. Android Version: 2.3/2.3.1/2.3.2
    Target Android Version: 4.1
    Require GPU: unchecked
    Display Mode: OpenGL ES 1.1
    Screen Orientation: Any (automatic)
    Display: Adjust window size

    I don't think these settings should affect much, but that's what I've got them set to for the purposes of this test and my actual app.

    Target phone:
    Model: Samsung Galaxy S Advance (GT-I9070P)
    Screen Resolution: 480x800
    Resolution from Android Object: 720x1035 (from another app using "Fit inside and adjust window size" mode)
    Android Version: 4.1.2

    I also tested this on an Android x86 tablet hybrid, which doesn't appear to have any problems.

    Please login to see this link. - The encyclopaedia written by clickers, for the community.
    Please login to see this link. | Please login to see this link.

    Edited 3 times, last by lh37: Added additional details (December 8, 2013 at 7:45 PM).

  • Quote from FVivolo

    yes because this setting depend on the dpi of the devices and is done thinking; to show the text in the same way in all dpi


    This is a bit vague for me to understand... I am aware that the DPI affects size and density, I've still got an app with a tiny sized font on the dialog boxes it produces, particularly on smartphones.

    I tried this again but setting the dialog theme to internal (under "Special Config") as you hinted at, with no difference.

    Quote from FVivolo

    indeed Stephen´s dialog object only do internal mode as you may see and not use theme, so one problem with all devices is that are truly theme dependent.

    The problem remains unresolved. This object is failing to adapt to my device's actual size, and possibly other similar smartphone devices. I'm looking for a solution, or a change in the object's behaviour.

    Please login to see this link. - The encyclopaedia written by clickers, for the community.
    Please login to see this link. | Please login to see this link.

  • This issue still hasn't cleared, despite it saying Please login to see this link..

    I've updated the API from 14 to 19 as well as all Fusion updates in the meantime and there is still tiny font for dialogs produced in the "New Android Dialog Object" on my smartphone ... very annoying.

    Some further testing with a simple app:
    - Android x86 Tablet -- Runs 4.0.4 -- Reports as runtime 15 -- 768x1293 -- No apparent issues.
    - Android x86 -- Runs 2.2 -- Reports as runtime 8 -- 600x750 -- No apparent issues.
    - Android x86 -- Runs 4.3 -- Reports as runtime 18 -- 600x707 -- No apparent issues.
    - Samsung Galaxy S Advance -- Runs 4.1.2 -- Reports as runtime 16 -- 480x724 -- The text is too damn small!

    I've built a simple app that output two dialogs. The first dialog is via the older, beta extension. The second dialog is using the newer, problematic object. [ATTACH]The APK is here.[/ATTACH]

    I've been reading up on Please login to see this link. but I do not fully understand what's causing this? I will guess its to do with DPI, but one object can do it but not the 'new' one?

    I hope we can get to a conclusion and fix for this.

    Files

    Please login to see this link. - The encyclopaedia written by clickers, for the community.
    Please login to see this link. | Please login to see this link.

  • Hi,

    this is an issue that depends on the device and not the runtime some devices have small font for a specific theme and in other devices they have another value.

    send me the apk does not help me here and does not help me to give you an appropriate answer, it runs OK, here in all the device i have.

    what i need to know, is how are setting your flags inside the android project (look in android tab and check if "use default text .." is checked or not), what align and size of dialog you are using.

    also send me a screen capture in your device using this

    Please login to see this link.

    thanks in advance

    Regards,


    Fernando Vivolo

    ... new things are coming ...

  • Hello again, thank you for the quick reply.

    Here attached is the MFA used for the previous APK in my last post.
    Please login to see this attachment.

    Most of the settings were left at the defaults, and it's the same with my other project. Dialogs I generally set to Best Width and centered.

    Also, here are the screenshots from the APK from your last post on the problematic device:
    Please login to see this attachment.Please login to see this attachment.

    Please login to see this link. - The encyclopaedia written by clickers, for the community.
    Please login to see this link. | Please login to see this link.

  • Sorry what version of fusion exporter are you using?

    Those joystick drawing are too big.

    Look something in your device, they have a dpi of 160 for each axis and for overall they use 240, am i correct? that is strange but depends on the OS, is this stock?

    did you change this value inside build.prop?

    Regards,


    Fernando Vivolo

    ... new things are coming ...

  • I'm using the 2.5 version of the Android Exporter, Fusion 2.5 Build 281.2. (This thread is that old it's in the wrong section)

    As far as I'm aware, this isn't the stock OS (it originally ran 2.3, with sequential updates to 2.3.6) and in the last couple of years [manually] flashed to an 'official' Samsung 4.1.2 ROM for this device. No other app has ever had notable difficulties with DPI or dialogs, so I'm confused why it's become an issue with Fusion's APKs.

    I haven't touched build.prop, should I try changing the DPI manually?

    Please login to see this link. - The encyclopaedia written by clickers, for the community.
    Please login to see this link. | Please login to see this link.

  • Just had a look at the specifications of it's predecessor, the Samsung Galaxy S, which has the same dimensions for the screen, but has a DPI at 224dpi. I did a bit of experimenting with changing the DPI with build.prop:

    224dpi (Predecessor's DPI) -- Appears to be match the rest of the system's font size, but overall system text is much smaller.
    235dpi -- Appears to be match the rest of the system's font size, but overall text is slightly smaller.
    240dpi (Default) -- Smaller then system's font size as known already.
    245dpi -- Starting to get a bit noticeably readable, but some apps crash*
    250dpi -- Better, clearly readable however many apps crash then usual*
    255dpi -- Better, clearly readable however many apps crash then usual*
    260dpi -- Better, clearly readable however many apps crash then usual*

    * Crashes include the Samsung Keyboard and the Messaging app and such which makes this infeasible for a production phone.

    I'm starting to think, and will make assumptions that: this phone has been designed at 240dpi for a reason, and that the New Android Dialog Object doesn't follow the same programming principles that other UI elements do, likewise with the previous extension (which as I say, hasn't outputted text as small as this.)

    Is there something I should know how the 'new' object works and produces dialogs? Can I trust this extension with other devices that are similar...? Could there be an option to make dialog object use the system's default font properties?

    ... I say this because I changed the font size to HUGE to see how the dialogs respond. The screenshots show that the dialog with HUGE font is better, but still smaller then expected at 240dpi.

    Screenshots set with Huge font:
    Please login to see this attachment.Please login to see this attachment.

    Please login to see this link. - The encyclopaedia written by clickers, for the community.
    Please login to see this link. | Please login to see this link.

  • please take a look of the dpi from axis and the dpi for overall, they are not even closer, normally, these values are close and not so different, unless this is a different android code.

    the dialog are made using the alertdialog builder as normal, do you have problem with the other dialog available in the object?.

    you did the test to bigger values, but, did you try 160 to 180? which should be normal values for this device.

    the joystick is too big, thsi is because your device is not original android and the dpi values is not correct to the size

    let me know your results

    Regards,


    Fernando Vivolo

    ... new things are coming ...

  • The last time I checked, the agreement dialog was the only dialog that displayed correctly, the other dialogs display small text. And of course, all other apps, system dialogs and other extension display dialogs properly.

    Here's the results along with a screenshot:
    160dpi -- Definitely not designed for this, the entire display is tiny! The lock screen did change to a laggy "ripple" effect usually seen on Samsung Galaxy S3 phones. Old & New dialog fonts appear to look similar.
    180dpi -- Again, it isn't designed for this, very small! The lock screen was also a "ripple" effect like the latter.
    240dpi (Default)
    300dpi -- I tried a much larger DPI as a test. Anything larger then 240dpi crashes with Samsung apps, which is a problem, but I got a screenshot anyway.

    As I say, this is an official 4.1.2 ROM for this device (I9070P), but was manually flashed. I don't personally believe it's the DPI setting (240dpi) that's the problem.

    About the joystick... I have built a game quite a long time ago (in MMF2 -- before the new dialog extension was around) and the joystick was of the correct size at the bottom... the only exception was that that game was in full screen (no status bars present) on this device ... No idea why the APK you provided sizes the joysticks as large as this.

    I've attached an image that contains all the screenshots from the tested DPIs.
    Please login to see this attachment.

    Please login to see this link. - The encyclopaedia written by clickers, for the community.
    Please login to see this link. | Please login to see this link.

  • because now the size of the joystick correctly depends on the size of the screen, so if the device have a screen lower than 5 inches it will draw it half inch and if bigger one inch. aprox.

    and that works correct in all device so far including samsung.

    Regards,


    Fernando Vivolo

    ... new things are coming ...

  • I wish we can resolve this. I'm now using a Samsung Galaxy S2 as my daily driver and this exact same problem still happens!

    I borrowed an Samsung Galaxy S3 as a third device to test and the dialog has a smaller font too.

    So I have come to the conclusion this definitely is not a device specific issue but rather I disagree with how this extension produces the font/size of these dialogs. As I say, this only occurs with the New Dialog Android Control Object and it's not what I expect, nor from any app on Android for that matter. As the text is smaller then the system's font, I do not see this as ideal for mobile users.


    This isn't consistent with other Android or System apps, like so:

    Dialog 1 vs Dialog 2:
    Please login to see this attachment.

    Comparing with some other system apps:
    Please login to see this attachment.


    If this isn't supposed to be like this, perhaps this was an Android SDK issue all this time? Here's the APK and source, if you wish to check that's the case:
    APK: Please login to see this attachment.
    Source: Please login to see this attachment.


    In the case where it was designed intentionally like this, I will request on the feature tracker for having the ability to specify the font size for the dialogs... which should fix the problem for good... but I will wait for your reply first.

    Please login to see this link. - The encyclopaedia written by clickers, for the community.
    Please login to see this link. | Please login to see this link.

  • I'm using the latest stable build of Fusion 2.5, which is build 281.2.

    Please login to see this link., seeing as this issue is over 5 months old (past Fusion 2.5's release) and has yet to be resolved.

    Please login to see this link. - The encyclopaedia written by clickers, for the community.
    Please login to see this link. | Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!