0
我目前正在努力使我的应用在不同的屏幕尺寸上更好地显示。这个TextView现在应该延伸到视图的末尾。这有效,但问题是,它然后显示这个丑陋的一半线。我已经设置了其他边距和填充物,但是这使得它在某个设备或另一个设备上看起来很糟糕,所以我在问自己是否有一个好的解决方案,使它看起来无处不在。这是对应的TextView:TextView间距问题
<TextView
android:id="@+id/text3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/relative_layout"
android:layout_marginBottom="5dp"
android:layout_marginTop="5dp"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:maxLines="100"
android:ellipsize="end"
android:textSize="18sp"
android:clickable="true"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textIsSelectable="false"/>
这将是巨大的,如果有人能帮助我,在此先感谢!
@DamianKozlak可能是,我搜查,但我不知道究竟是什么搜索过! –