androidLover
androidLover

Reputation: 13

How to align Two image view in same bottm line in android?

I have two imageView with two different size image. anyone one have idea how to align two image from baseline?

Upvotes: 1

Views: 462

Answers (2)

Axarydax
Axarydax

Reputation: 16603

If you put these images in a RelativeLayout, one has @+id/first, another @+id/second, then in the second image specify: android:alignBottom="@id/first"

Upvotes: 2

Montycarlo
Montycarlo

Reputation: 735

Wrap them in a linearlayout with equal weighting.

Upvotes: 0

Related Questions