Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Custom Screen Resolution in Android

  • 15-04-2013 06:59PM
    #1
    Closed Accounts Posts: 19,777 ✭✭✭✭


    So the other day I had to create a very specific layout for a very specific and non-standard screen resolution. Previously, I could create such a resolution in Eclipse when editing a layout.

    In the meantime I'd updated the SDK and found that I'd seemingly lost the ability to create custom resolutions, and was only given the choice of a number of standard ones. Eventually I found a rather inelegant and time consuming way around this and got the job done.

    Question is; is there a better option? Can I still create custom resolutions in layout edit, or can I use another program to do this?


Comments

  • Registered Users, Registered Users 2 Posts: 7,157 ✭✭✭srsly78


    Can you not just edit the height and width in the xml?


  • Closed Accounts Posts: 19,777 ✭✭✭✭The Corinthian


    srsly78 wrote: »
    Can you not just edit the height and width in the xml?
    It's the layout editor that I want to be able to get to support such custom resolutions.


  • Registered Users, Registered Users 2 Posts: 7,157 ✭✭✭srsly78


    Have you changed your android target to an older version? If you target a newer version the options may reappear.


  • Closed Accounts Posts: 19,777 ✭✭✭✭The Corinthian


    srsly78 wrote: »
    Have you changed your android target to an older version? If you target a newer version the options may reappear.
    Nope. As I said, the option to create custom resolutions is gone altogether, seemingly by design.


Advertisement