How do I set the position of an image view in a relative layout in Android?

There's a mistake in your xml. Must be android:layout_below="@id/app_details_1.

1 To completely explain this: +id is a shortcut that this id has to be created. When referencing an existing id, it's just id. Official doc regarding this: developer.android.Com/guide/topics/ui/declaring-layout.

Html#id – alextsc Aug 28 at 16:02 Also the typo appdetails_1 instead of app_details_1 – userSeven7s Aug 28 at 16:36 1 @user7777777777 Yes, it's the only mistake. Plus sign is not an error. – Pixie Aug 28 at 17:10 Ahh I see.

Thanks so much – deztructicus Aug 28 at 17:20.

It should be ok, but first try to make sure the textView is positioned on top by using layout_alignParentTop="true" for the textView and see if it does the trick.

The left-of or below another view) or in positions relative to the parent RelativeLayout area (such as aligned to the bottom, left of center). You may be able to replace them with a single RelativeLayout. Parent view or to each other (specified by ID).

Make one below another, centered in the screen, centered left, and so on. Using the various layout properties available from RelativeLayout.LayoutParams. These are just a few examples.

All layout attributes are documented at RelativeLayout.LayoutParams. References another view in the layout against which the view should be positioned. In your XML layout, dependencies against other views in the layout can be declared in any order.

View declared in the hierarchy. The example below demonstrates such a scenario. Each of the attributes that control the relative position of each view are emphasized.

For details about all the layout attributes available to each child view of a RelativeLayout, see RelativeLayout.LayoutParams.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions