Different Text Size for different mobile devices and Tabbed View Application

Hi,
I am developing an sample mobile application to target all mobile devices (IPhone/IPad/IPod and Android).
I am facing an Issue that i am using default text size for the TextInput, TextArea and label but text size look so small for some devices, i discuss this with some(unkown) person(he is an IPhone developer).
He told me that in Iphone development for different devices they use different text size.
So how would I do the same at our Flex Mobile application ?
Please provide me help regarding this
There is one more problem in the application. I have tabbed view application, and i assign the firstview of the tab after 10 or more seconds of interval so that data will load in the application properly.
But issue is that my first tab is not show anything at first go. When we switch the tab then it loads the screen and application work fine.
Please provide me any help so that i can see the first Tab Screen.
Thanks

Hi there. For your font issue you need to set up a variable call it var fontSize or something. Then have an if statement that reads something like if (stage.stageWidth <= 320) fontSize=8 else if (stage.stageWidth > 320 || stage.stageWidth <= 640) fontSize = 12.
Then instead of giving your font a size give it the size of fontSize variable and it will check for stage width or whatever you base it on and apply that size to your text field.
I had done this for an app I did for Kellogg Garden Products but if you notice when you go from portrait to landscape mode the font size increases using this technique.
http://itunes.apple.com/us/app/kellogg-garden-products-soil/id440522636?mt=8

Similar Messages

  • ADF Faces: Differring text sizes for AFFieldText and AFFieldTextDisabled

    I have found differing texts sizes in the generated css file for AFFieldText, AFFieldTextDisabled. Does anyone know the best way to fix this?

    I double checked and there was nothing in the WEB-INF/temp but the file was in the application-deployments/ directory. The contents of which are:
    more oracle-desktop-10_1_3_0_4-en-ie-6-windows-s.css
    /* CSS file generated on Tue Jan 31 14:24:27 EST 2006 */
    .AFInstructionText,.x0,.AFFieldText,.x6,.AFFieldTextLTR,.x42,.AFPhoneFieldText,.
    x44,.AFPostalCodeFieldText,.x46,.AFAddressFieldText,.x48,.PortletText1,.x6t,.Por
    tletText2,.x6u,.PortletText3,.x6v,.PortletText4,.x6w,.portlet-form-field,.x7l,.O
    raMessageBoxText,.x8p {font-family:Arial,Helvetica,Geneva,sans-serif;font-weight
    :normal;font-size:smaller;color:#000000}
    .AFInstructionTextDisabled,.x1,.AFFieldTextDisabled,.x7,.AFFieldTextLTRDisabled,
    .x43,.AFPhoneFieldTextDisabled,.x45,.AFPostalCodeFieldTextDisabled,.x47,.AFAddre
    ssFieldTextDisabled,.x49,.portlet-font-dim,.x6y {font-family:Arial,Helvetica,Gen
    eva,sans-serif;font-weight:normal;font-size:small;color:#999999}

  • Spooling of a query generates different file sizes for different databases

    Please help me regarding a problem with spooling. I spooled a query output to a file from two different database. In both the databases the table structure is the same and the output produced only one row. But the file size is different for the databases. How can this problem occur? Is there any database parameter need to be checked? Both the databases are in same version 10.2.0.1.0.
    before running the spool i did a
    sql> set head off feedback off echo off verify off linesize 10000 pages 0 trims on colsep ' '
    on both the sessions.
    In one database the filesize is *1463 bytes* and on the other the filesize is *4205 bytes*.
    Please help me to find out these discrepancies.

    hi Mario,
    I think you are not getting my point. Both the files contain the same output but their sizes are different. This is due to the no of blank spaces between columns. I wanted to clarify why there is a difference between two filesize when the query output is the same.

  • Is it possible to have different font sizes for different apps in ios 8?

    I would like to have a large font for text messages, but when I change the font size, it changes pretty much across all of the standard ios apps. There are some of these apps that the large font just doesn't really work well for, and I would prefer a smaller font for those. Is this possible?

    No sorry, What about using Zoom instead? Settings > General > Accessibility
    Be sure to read how to use it or you'll be back asking how to get out of it :-)
    https://www.apple.com/accessibility/ios/#vision

  • Device Channel Rules for All mobile phones and Tablets?

    I am developing master pages for different devices, my target is to develop different master page for Desktop, Mobile phones and Tablet.
    Default device channel works for desktops, “$FallbackMobileUserAgent" works for both mobile phones and tablets but I want to design different master
    page for all tablets.
    Is there any fall back rule that targets all tablets? and any rule that targets mobile phones only?
    Update: I found "ipad" and "iphone" inclusion rule works across all apple devices.

    Hi,
    According to your post, my understanding is that you want to create rule that targets mobile phones or tablets only.
    Per my knowledge, channels control which master page is used to show your site on for example iPhone or iPad. Channels are bound to master pages, and channels are bound to user agent string of device in use (phone, tablet or PC).
    You need to supply different user agent substrings and order of device channels.
    For more information, you can refer to:
    http://msdn.microsoft.com/en-us/library/office/jj862343(v=office.15).aspx
    http://sp2013.blogspot.com/2012/07/channels-in-sharepoint-2013.html
    http://jussionsharepoint.com/targeting-multiple-browsers-and-devices-in-sharepoint-2013-using-device-channels/
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • How to set different pointsize  (Font Size) for different text range in the single textframe.

    I have a one textframe in which i want to  set three different pointsize(font size) for three different text ranges. I have set different tag name for different text ranges . So How can I set different pointsize in the single texmframe.
    Please reply me if anyone is aware of it.
    Thanks,

    Jack,
    Extending Martti's post, you can create an XSLT that will add an element around the ASD2.1 part when you import the XML file into FrameMaker. Then FrameMaker's EDD can format this added element with a font different from the one used in the content element.
    Van

  • Is it possible to have same file size for different dpi?

    I changed one.TIFF file (300dpi, 1024X1332)  to .jpg files of four different dpi. But when I checked the four result jpg files, I found out that they are all in same file size and quality.( I also have checked the property of the files in the Windows.)
    I think more DPI means more data and more file size. Am I wrong?
    I use Photoshop CS 5.1(64bit, WINDOWS) - which is part of my Adobe Master Collection CS5.5.
    TIFF(300dpi, 1024X1332) ->
    1. JPG(72dpi, 1024X1332) : 306KB
    2. JPG(108dpi, 1024X1332) : 306KB
    3. JPG(144dpi, 1024X1332) : 306KB
    4. JPG(600dpi, 1024X1332) : 306KB
    I tested a few times more with different files. and same result comes out.(same file size for different dpi)
    Thanks in advance.

    Yes absolutely. Great observation.  PPI does not control the number of pixels, just how big they are.
    Now, if you change the PPI in the Image Size dialog with Resample checked.. then, that is a different story. In that case you will be changing the pixel dimension of an image (i.e.,changing the total number of pixels making up the image) while keeping its print size.
    In your test files, you will notice all the print sizes are different, because all you were telling Photoshop to do was change the size of the pixels (if or when the image is ever printed), which is really just a bit of metadata of the file.

  • Hi I have two questions. I am using NAS 4.1 and was wondering is it possible to set a different session timeout for different users? How is the session timeout set? Thanks, YS

     

    <i>I am using NAS 4.1 and was wondering is it possible to set a different session timeout for different users?</i>
    Um, there is no such thing as NAS4.1.
    I'm assuming that you mean NAS4.0 (maybe NAS4.0sp1?). If so, then the session timeouts are specified in the session section of the NTV configuration files.
    AFAIK, you can specify session timeouts on a per user basis.

  • Different Consumption Account for Movement type 201 and 261

    Dear All ;
    Client want use different consumption account for movement type 201 and 261  .
    How we canmap this in SAP
    Kindly suggest .
    Regards;
    Joydeep Mukherjee

    This you can acheive by setting account assignment indicator is checked.
    OMJJ >>> Movement Type >>>Account Grouping >>Check account Assignment
    If this indicator is set, the system checks whether a G/L account or an account assignment has been specified on the item screen when user post transactional data. If so, the system copies this data to the posting line for account determination.
    If this indicator is not set, the system always uses the G/L accounts or account assignments determined automatically.

  • HT2500 How do I set up separate and different mail signatures for different email accounts?

    How do I set up separate and different mail signatures for different email accounts?

    Hi Tom,
    In Mail>Preferences>Signatures, highlight the All Signatures icon on the left, drag the sigs you want to he Account on the left...

  • Design: different AP Groups for different SSIDs?!

    Imagine I have different requirements for the AP Groups for different SSIDs
    I suppose I can't have different AP Groups for different SSIDs?!
    Imagine I have to many Clients to use one single VLAN for one SSID. So I will use AP Groups.
    For SSID”X”
    Let's say I have 5 buildings with 800 Users, so I make a AP Group per Building and tell those APs that they are in that group.
    For SSID”Y”
    All though I have this SSID also in all 5 buildings, I only have very view Users, so I could make one single VLAN which makes everything easier.
    Am I obligated now to create 5 VLANs for SSID”Y” too?!
    *This is a made up example. In reality I would make different numbers of AP Groups for different SSIDs because I have significantly different number of Clients… and traffic characteristics (more or less broadcast).
    But it's also about the size of the VLANs, do I make a view large Broadcast Domains (VLANs) or more small ones.
    Greetings, Andi

    You can have a setup like this if you want:
    AP Group 1
    SSID X Vlan 10
    SSID Y Vlan 21
    SSID Z Vlan 31
    AP Group 2
    SSID X Vlan 10
    SSID Y Vlan 22
    SSID Z Vlan 31
    AP Group 3
    SSID X Vlan 10
    SSID Y Vlan 23
    SSID Z Vlan 32
    AP Group 4
    SSID X Vlan 10
    SSID Y Vlan 24
    SSID Z Vlan 32
    AP Group 5
    SSID X Vlan 10
    SSID Y Vlan 25
    SSID Z Vlan 33
    AP Group 6
    SSID X Vlan 10
    SSID Y Vlan 26
    SSID Z Vlan 33
    Here is a link, which you probably already saw.
    http://www.cisco.com/en/US/tech/tk722/tk809/technologies_configuration_example09186a008073c723.shtml

  • Different Password Policy for Different User Groups in ACS 4.2

    Hi All,
    Can some one provide a solution for the below requirement?
    We do have ACS 4.2 appliance managing firewalls of different clients. The users are common i.e, helpdesk administrators. One of the client came up with setting different password policy for managing their devices i.e, the client wants to have min 15 characters as password length. We do have currently 8 characters as min password length. Can we change the password policy to min 15 characters only for managing the firewalls of this client whereas for all other client firewalls we feel better to have 8 characters as min password length?
    It seems that these password policies are global & affects all the users.
    This is something like, having two sets of password (for each user) policy depending on the client which he is going to manage.
    For my knowledge, i think that this is not possible. But, thought to cross-check with experts!
    -Jags.

    Hi jags,
    Yor're correct. Password policy on ACS will affect all internal user. We can't create different password policies for diferent clients/connections/set_of_users
    Password validation options apply only to user passwords that are stored in the ACS internal database. They do not apply to passwords in user records in external user databases; nor do they apply to enable or admin passwords for Cisco IOS network devices.
    HTH
    Regards,
    JK

  • Different zoom levels for different clips in the same project?

    Hi
    I am making a movie with videos from two different cameras. As a result some of the clips are cut down in size to a small portion of the screen. This can be solved if it is possible to use different zoom levels for different clips in the same project. I have not been able to do this. Is it possible?
    kind regards
    Soren

    You can scale the small clips up to the same size of the larger one... but you will get a quality loss.
    Using Motion or Scale to Frame Size commands
    Better to scale the large ones down to a Sequence that matches the smaller clip dimensions.

  • HT1369 Ipod touch not being recognized by itunes (but is registering as an external drive by the computer itself) have updated and reinstalled itunes, stopped/started apple mobile device and removed and mobile programs associated with my non apple cellpho

    Ipod touch not being recognized by itunes (but is registering as an external drive by the computer itself) have updated and reinstalled itunes, stopped/started apple mobile device and removed any mobile programs associated with my non apple cellphone. This seems to have started happening after the last Itunes update I did as I was able to put music on my ipod touch a month or so ago. Is there some way to go back to an older version of itunes? I really have no idea what else to do since I followed every step on the trouble shooting page for windows 8.

    I had this problem too and my roommate solved it!
    Go to 'Settings'
    'Music'
    Scroll to the bottom and enter your password to log onto your home sharing
    Then connect to iTunes and sync!

  • I am trying to update my iTunes to 10.5.1 so that I can upgrade my 3GS phone but am getting the following error message when trying to install the itunes:Install step failed: Run pre upgrade script for apple mobile device support. Contact software manufac

    I am trying to update my iTunes to 10.5.1 so that I can upgrade my 3GS phone but am getting the following error message when trying to install the itunes: Install step failed: Run pre upgrade script for apple mobile device support. Contact software manufacturer for assistance. I am on a MacBook pro running 10.5.8 OS. Has anyone seen this before and how can I get it resolved.
    Thanks for your help in advance....

    Did you ever figure out the problem? "Contact Software Manufacturer"?? That sounds ominous... I've got the same issue and I'm pretty durn aggravated right about now....
    Thanks!

Maybe you are looking for

  • Administration tool read only access

    I was wondering if there is a read only access to the administration tool. What i am trying to do is to test the repository Build with best practices since this repository is live and done by a group of developers - Since i joined recently and wanted

  • Windows 2008 r2 wds

    I am using Windows 2008 R2 as WDS and i have issue for booting pc's which have no built-in NIC. remeber that pc's having built-in NIC is working all ok........................ plz help me 

  • How to install operamini 5.1 in Nokia 2730 Classic

    Respected all       I have Nokia 2730 classic with operamini 4.1. I want to install or upgrade it from 4.1 to 5.1. I had downloaded operamini 5.1 but when i install this shows an error "Unable to connect to the internet.Please cheak your settings."Bu

  • Photoshop CS3 Cursor Problem

    Hello, I have been playing around with my College's copy of Photoshop CS3 and have stumbled across a bit of a problem. It seems that I have managed to lock my Photoshop file from all editing as I am unable to use any tool apart from the Hand Tool. I

  • PING[ARCp]: Heartbeat failed to connect to standby 'psmartbk'

    My system run on Oracle 10g R2 Windows 32 bit; I've configure data guard with one primary "smartbk" and one physical standby "psmartbk" on the same PC; I get he following error on the primary database "PING[ARCp]: Heartbeat failed to connect to stand