I have a launcher application for each item, I display an ImageView
with TextView
, my problem is with applications that have a very long name.
I use one line to display the text so I would have a part and all the title is not displayed but what i want is to display the text that rotates and allows the user to read all the title. So how to put the text in motion.
I saw this technique on a Samsung smartphone. my items are given by the code below.
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/label"
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:ellipsize="end"
android:singleLine="true"
android:paddingTop="4dp"
android:textSize="14dip"
android:textColor="@android:color/black"
android:gravity="center_horizontal|center_vertical" />