简体   繁体   中英

Android: Aling top of one view with the center horizontal of another view

I have three ImageView placed horizontally.one at left one at right one is in middle.I want to align middle view top edge with horizontal center of other to views how to achieve this in android. please tell me soln for above problem.

尝试对中间ImageView使用android:layout_alignBaseline = <left or right imageview's id>属性。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM