AndroidのRelativeLayoutのlayout_heightプロパティをwrap_に設定content時layout_below等無効


RT
RelativeLayoutでTextViewのandroid:layout_をheight=”wrap_content” android:layout_centerVertical="true"の後、他のコントロールのandroid:layout_belowなどの属性はすべて失効します
制限行数も無効であることが判明しました最後にminHeightが問題を解決します
<TextView
     android:id="@+id/view_top_user_info_nickname"
     style="@style/x_standard_text_5"
     android:layout_width="match_parent"
     android:layout_height="wrap_content"
     **android:minHeight="30dp"**
     android:layout_centerVertical="true"
     android:singleLine="true"
     android:textColor="@color/standard_black" />

<TextView
    android:id="@+id/view_top_user_info_signature"
    style="@style/x_standard_text_6"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_below="@id/view_top_user_info_nickname"
    android:singleLine="true"
    android:text="asdfadfadf                asd "
    android:textColor="@color/standard_gren_1" />

ネット上では、
RelativeLayoutレイアウトのlayout_heightプロパティをmatch_に設定parentでいい!外側にLinearlayoutがあってもlayoutを使うWeightフラットスペース、そのmatch_parentも大きな外層LinearLayoutの空間を支えません.当初はwrapを設定したかったのですがcontent、実は内部のRelativeLayoutがmatchを設定することを恐れますparent後に大きくされるだけで、実践は証明して、心配しました!http://www.th7.cn/Program/Android/201410/297261.shtmlしかし、このような修正はレイアウトに大きな影響を及ぼし、私はすべて受け入れていません.