Как мы можем преобразовать ниже XML progrmaticallyProgramatically создать список фрагмент и фрагмент
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal" >
<fragment
android:id="@+id/list_fragment"
android:name="com.aaa.bbb.activity.FragmentedListActivity$MyListFragment"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1" />
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:background="#27577f" />
<fragment
android:id="@+id/detail_fragment"
android:name="com.aaa.bbb.activity.FragmentedListActivity$MyDetailFragment"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="2" />
</LinearLayout>
Convert to what? Чего вы пытаетесь достичь? – Egor
Вы, вероятно, не хотите – ndh
Егор читал название – ndh