J'essaie de créer un graphique achartengine dans un scrollview mais il ne s'affichera pas! Il montre juste un écran noir, mais ne plante pas ou quoi que ce soit. Le truc, c'est que si je change juste ma balise sur la carte, ça va très bien. Et dans mon code Java, j'ai renderer.setInScroll (true); pour le rendu des cartes. Est-ce un problème avec mon xml?LinearLayout achartengine Graphique non affiché dans ScrollView
Voici mon xml:
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<LinearLayout
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:orientation="vertical" >
<LinearLayout
android:id="@+id/trendchart"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical" />
</LinearLayout>
</ScrollView>
(Actuellement, la seule chose dans la ScrollView est le tableau que je prévois d'ajouter d'autres éléments pour faire défiler nécessaire, je veux juste pour afficher en premier)
J'ai aussi essayé de l'afficher à la fois avec et sans la linéarisation d'emballage et c'est le même résultat.
Mais après avoir mis cela, le scollview ne défile pas –