J'ai un affichage de texte dans le pied de page et je veux faire défiler ce texte dans le pied de page. Voici mon extrait de mon code mais ce texte ne sera pas défilable. Tout organisme peut me aider Merci à l'avance Mon codeComment faire défiler automatiquement le texte en android
public class Footer extends RelativeLayout{
private TextView footer_TextVeiw;
ImageView logout;
public Footer(Context context, AttributeSet attrs) {
super(context, attrs);
String infService = Context.LAYOUT_INFLATER_SERVICE;
LayoutInflater li = (LayoutInflater) getContext().getSystemService(infService);
li.inflate(R.layout.footer_layout, this, true);
footer_TextVeiw= (TextView) this.findViewById(R.id.text_Footer);
footer_TextVeiw.setSelected(true); } }
Mon XML Mise en page
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Footer" >
<TextView
android:id="@+id/text_Footer"
android:layout_width="fill_parent"
android:layout_height="25dp"
android:layout_alignParentBottom="true"
android:background="#ECEFF5"
android:layout_centerHorizontal="true"
android:marqueeRepeatLimit="marquee_forever"
android:singleLine="true"
android:scrollHorizontally="true"
android:ellipsize="marquee"
android:text="@string/Footer"
/>
</RelativeLayout>
double possible: http://stackoverflow.com/questions/11184054/android-auto-scrolling-text-in-textview – EvZ