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

Apps Complete newby, question about stuff fitting screen

Discussion in 'Android Development' started by frenchsquared, Sep 27, 2011.

  1. frenchsquared

    frenchsquared Lurker
    Thread Starter
    Rank:
    None
    Points:
    25
    Posts:
    7
    Joined:
    Sep 26, 2011

    Sep 26, 2011
    7
    0
    25
    I have been working on the view tutorials.
    I just completed the tab layout and I am wondering how to make the tabs fill the screen on my phone. There is a space on each side of the screen about 10px wide.

    Some tutorials this isn't there.

    It effects all layouts and even the title bar.

    I thought it had to do something with android:layout_width="match_parent"
    as opposed to android:layout_width="fill_parent", but I have the space either way.

    Thanks Gordon

    I just noticed that using an xml layout as apposed to creating the data in the activity seems to fix it.
     

    Advertisement

  2. droidkovich

    droidkovich Lurker
    Rank:
    None
    Points:
    5
    Posts:
    5
    Joined:
    Sep 28, 2011

    Sep 28, 2011
    5
    0
    5

Share This Page

Loading...