我有一个简单的TextView与单线。 我想设置高度为match_parent/fill_parent,但Android的行为仅限于wrap_content。TextView高度不匹配_parent/fill_parent
有没有办法强制将TextView的通吃高度?
TKX
编辑:
这就是我得到:
和我的布局:
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/date"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="center"
android:paddingLeft="13dp"
android:paddingRight="3dp"
android:textColor="@android:color/white"
android:textStyle="bold" />
[...]
</RelativeLayout>
有同样的问题,你最终与其他或此方案解决了什么? – htafoya 2013-06-25 21:53:53