Bonjour,

Je voudrais intégrer le projet viewflow de github (https://github.com/pakerfeldt/android-viewflow)

Je colle les éléments dans mon layout comme ceci :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
	xmlns:app="http://schemas.android.com/apk/res/navibc.tablette"
	android:orientation="vertical" android:layout_width="fill_parent"
	android:layout_height="fill_parent">
	<LinearLayout android:layout_width="fill_parent"
		android:gravity="center_horizontal" android:id="@+id/header_layout"
		android:orientation="vertical" android:layout_height="wrap_content">
		<org.taptwo.android.widget.TitleFlowIndicator
			android:id="@+id/viewflowindic" android:layout_height="wrap_content"
			android:layout_width="fill_parent"
			app:footerLineHeight="2dp"
			app:customTypeface="fonts/Antic.ttf"
			app:footerTriangleHeight="10dp" 
			app:textColor="#FFFFFFFF" 
			app:selectedColor="#FFFFC445" 
			app:footerColor="#FFFFC445" 
			app:titlePadding="10dp" 
			app:textSize="11dp" 
			app:selectedSize="12dp" 
			android:layout_marginTop="10dip" 
			app:clipPadding="5dp">
		</org.taptwo.android.widget.TitleFlowIndicator>
	</LinearLayout>
	<org.taptwo.android.widget.ViewFlow
		android:duplicateParentState="true" android:id="@+id/viewflow"
		android:layout_width="fill_parent" android:layout_height="fill_parent"></org.taptwo.android.widget.ViewFlow>
</LinearLayout>
Au début c'est "xmlns:app="http://schemas.android.com/apk/res/org.taptwo.android.widget.viewflow.example" ce qui me génère 2 erreurs xml mais je remplace par mon package et les erreurs disparaissent.

Pourtant lorsque je veux lancer mon application j'ai sans arrêt cette erreur : " Enable to start activity : android.view.inflate.exception Binary XML file line#9 : Error inflating class org.taptwo.android.widget.TitleFlowIndicator"

C'est la ligne ou j'intègre l'objet : <org.taptwo.android.widget.TitleFlowIndicator

J'ai deja essayer d'ajouter le jar et le projet entier en Build Path. Ou de copier toute les sources dans mon projet a chaque fois j'ai la même erreur.

ça n'a marcher qu'une seule fois c'est quand j'ai copié mes sources dans le projet viewflow-example... pourtant viewflow-example fait appel au projet viewflow comme je voudrais faire aussi et il n'intègre pas les sources... je ne comprend pas ce qui me manque.