Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は2つの異なるサイズの画像を持つ2つのimageViewを持っています。ベースラインから2つの画像を整列させる方法を知っている人はいますか?
これらの画像を に配置するRelativeLayoutと、1 つは@+id/first、もう1 つは@+id/secondになり、2 番目の画像では次のように指定します。android:alignBottom="@id/first"
RelativeLayout
@+id/first
@+id/second
android:alignBottom="@id/first"
それらを均等な重みで線形レイアウトにラップします。