1. Download our Official Android App: Forums for Android!

Apps API problems with GridLayout

Discussion in 'Android Development' started by jonman_t, Jan 14, 2013.

  1. jonman_t

    jonman_t Lurker
    Thread Starter
    Rank:
    None
    Points:
    25
    Posts:
    4
    Joined:
    Jan 9, 2013

    Jan 9, 2013
    4
    0
    25
    Male
    Road Painter
    close to Toronto , Canada
    Hi there ,

    Fairly new to developing android apps so forgive me if i'm noobing it but im having problems wrapping my head around API levels. I've looked it up and I understand the definition but I am at a loss as for what I should use.

    Recently been using a fairly low API (8 if you must know) and my reasoning was that I wanted my application to compatible with many devices. This was all fine and dandy up until I change from linear layout to grid layout and this was throwing up warnings that it needed API 14 to work , and stopped working on my emulator.

    So my issue is that... Am I stuck building a crappy looking XML because I cant use spacings... or Do I have to cut out all "Legacy" devices ...or am I going about this all wrong?

    Again , I am re-reading this and I am unsure if I am explaining myself correctly so please forgive me if I sound noobish.
     

    Advertisement

  2. jungajuice

    jungajuice Member
    Rank:
    None
    Points:
    16
    Posts:
    31
    Joined:
    Mar 30, 2010

    Mar 30, 2010
    31
    1
    16
    Male
    Lead Android Developer at TuneWiki
    Santa Monica, CA
    There's a support library for grid layout you can use, and it's compatible for API 7+. In the SDK, it's in extras/android/support/v7
     

Share This Page

Loading...