is not a sibling in the same RelativeLayout 是怎么回事的呢?

用错了,把那句报错的直接改为android:layout_alignParentRight="true".

这里你理解错了,外部那个relativeLayout是个整体,

你表达的意思可能是要放在这个整体里面的右面,相当于椅子在教室里面的右面.

用android:layout_alignParentRight="true".你的那句话意思放在整体外面的右面,相当于A楼在B楼的右面.


本文由战狼户外(户外用品 淘宝店铺) 赞助提供。

你可能感兴趣的:(bug,not,a,sibling,in,the)