问题描述
||
这个问题已经在这里有了答案:
解决方法
您可以使用两个
TextView
。在一个“ 0”中显示文本的一部分,在第二个“ 0”中使用以下代码。
我认为椭圆将在一行中显示数据,然后将其省略。如果您使用椭圆,我不认为可以在TextView
中获得两行数据。这就是为什么我建议您使用两个ѭ0的原因。在最后一个“ 0”中使用椭圆
<TextView
android:text=\"Weeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee are one of the UK�s leading retailers,with over 21 million people visiting our stores each week. We offer stylish,high quality,great value clothing and home products,as well as outstanding quality foods,responsibly sourced from around 2,000 suppliers globally. We employ over 75,000 people in the UK and abroad,and have over 600 UK stores,plus an expanding international business. We are the number one provider of womenswear and lingerie in the UK,and are rapidly growing our market share in menswear,kidswear and home,due in part to our growing online business. Overall,our clothing and homeware sales account for 49% of our business. The other 51% of our business is in food,where we sell everything from fresh produce and groceries,to partly-prepared meals and ready meals. Now more than ever,we�re also known for our green credentials as a result of our five-year eco plan,Plan A,which will see us,amongst other things,become carbon neutral and send no waste to landfill by 2012.\"
android:id=\"@+id/txtDesc\"
android:maxLines=\"3\"
android:lines=\"3\"
android:ellipsize=\"end\"
android:layout_width=\"100dip\"
android:layout_height=\"wrap_content\"/>
谢谢
迪帕克