に変更していない私はここにXMLコードがあります。がレイアウト重量XML
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
android:weightSum="100"
>
<fragment
android:name="com.powergroup.split.view.powerListFragment"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/powerlist_fragment"
android:layout_weight="45"
>
</fragment>
<fragment
android:name="com.powergroup.split.view.powerViewerFragment"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/powerview_fragment"
android:layout_weight="55"
>
</fragment>
</LinearLayout>
をしかし、私はそれが何の効果を取り、常に同じを示しdoesntのlayout_weightの値を変更した場合、どのように私はそれを把握することができますか?
私はしましたが、変更は起こっていません。 –
両方のフラグメントに設定しましたか? – waqaslam