Android TextView with multiline and "android:ellipsize = middle"
<pre><code>&lt;TextView
        android:id="@+id/food_item_name"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="center_horizontal"
        android:gravity="bottom|center_horizontal"
        android:maxLines="2"
        android:ellipsize="middle"
        android:textSize="17sp"
        android:textColor="@color/food_cell_text"
        android:text=""Cured beef salad with rocket lettuce,cherry tomato &amp; grana padano""/&gt;
</code></pre>

<p>But the text in the TextView do not have ellipsis in the middle as if the 
attributes is not useless，When I change 
<code>android:ellipsize="end"</code>, The text have ellipsis in the end. Why? And how can I have ellipsis in the middle?</p>