android trying to set y postion of View not working does nothing
<p>I would like to have a screen where the text is in the vertical center.  I was thinking about getting the screen height then use the setTop methed to postion it.</p>

<p>I set up a test by setting it to 100, then -100.  The screen got displayed the same no change.</p>

<p>code
        public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.social);</p>

<pre><code>        mFlipper = (ViewFlipper)findViewById(R.id.flipper);

        // set up cal backs
        View mButA = findViewById(R.id.buta);      
        mButA.setOnClickListener(this);

        View mButB = findViewById(R.id.butb);
        mButB.setOnClickListener(this);

        View mButC = findViewById(R.id.butc);
        mButC.setOnClickListener(this);

        View mButD = findViewById(R.id.butd);
        mButD.setOnClickListener(this);

        // center screens
        View mFirstLine = findViewById(R.id.StartScreenD);
        **mFirstLine.setTop(100);**


    }
</code></pre>

<p>xml file
 
                android:id="@+id/screenD"
             ></p>

<p></p>

<p>   </p>

<pre><code>   &lt;Button android:text="Return To Home Screen" 
    android:id="@+id/buta"
    android:layout_marginLeft="24px"    
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content" /&gt;
</code></pre>

<p>   </p>
