Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to create(or add) and populate new layout into a fragment
    primarykey
    data
    text
    <p>I use fragment and i want to retieve datas into database and show theses datas into layout created in the code. </p> <p>there's the code:</p> <pre><code>import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.LinearLayout; import android.widget.ScrollView; import android.widget.TextView; public class DetailFragment extends Fragment { @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View view = inflater.inflate(R.layout.fragment_rssitem_detail, container, false); return view; } </code></pre> <p>there's the actual layout:</p> <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/layout_all" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"&gt; &lt;LinearLayout android:id="@+id/layout_fiche" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:background="@drawable/single_border"&gt; &lt;TextView android:id="@+id/detailsText_fiche" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_gravity="center_horizontal|center_vertical" android:layout_marginTop="1dip" android:text="Zone de Fiche" android:textAppearance="?android:attr/textAppearanceLarge" android:textSize="20dip" /&gt; &lt;/LinearLayout&gt; &lt;/LinearLayout&gt; </code></pre> <p>I want add many layaout below the TextView id:detailsText_fiche. How can i do?</p> <p>thanx in advance,</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload