est-il possible d'une vue qui contenait un bloc avec TextView, EditExt et un second bloc qui contient un PREFERENCE avec (cases à cocher, Liste, Chexbox etc ...)Combine EditText, et TextView préférence
Ce que je veux faire, c'est quelque chose comme ça. Le premier bloc a 2 EditText et 2 TextView for Title, et Message. Dans le second bloc (au bas) je veux configurer un peu de stoof.
S'il vous plaît comment puis-je le faire. Je veux que le bloc inférieur ressemble à une vue de liste. Quand je fais un vol stationnaire sur chaque point que je veux cet article à ressembler à un élément listview
Je l'ai essayé comme ça, mais ça ne marche pas! J'ai défini la classe gonflée comme une classe publique statique dans la classe MyActivity. Qu'est-ce que je fais mal?
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/FrameLayout1"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ScrollView
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:orientation="vertical" >
<view
class="com.app.MyActivity$PrefsFragment"
id="@+id/prayerFormPref"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
/>
</LinearLayout>
</ScrollView>
</FrameLayout>
Oui possible. Vous pouvez utiliser [linearlayout] (http://developer.android.com/guide/topics/ui/layout/linear.html). – Gunaseelan