How to set full image in Absolute Layout in android -


I have set an image in AbsoluteLayout but it will not appear in full screen on G1, but when I use the same app Let's run it is working properly.

I have setcontentView (new test (this)) in my activity class. Test is my complete goal class.

My code looks like this:

  The public class test extends AbsoluteLayout {public exam (reference reference) {super (reference); Last Relative Layout RL = New Relative Layout (Reference); Last android.widget.RelativeLayout.LayoutParams Parameters = New Relative Layout. Layout param (layout parama.philpaint, layout parama.philpaint); Rl.setLayoutParams (parameter); This.addView (RL, new LinearLayout.LayoutParams (Layout Perm. FILL_PARENT, Paramá layout FILL_PARENT)); ImageView mImageView = New ImageView (reference); MImageView.setImageBitmap ((DataStorage) context.getApplicationContext ()). GetImage ()); This.addView (mImageView); }}  

Can anyone tell me why I could not find the full image on the G1 mobile screen?

I have found the problem that I have not set

This.addView (mImageView, New LinearLayout.LayoutParams (LayoutParams.FILL_PARENT, Paramálay.Phil_Part));


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -