確定的底部,所以我有一個佈局,看起來是這樣的:的TextView在我的佈局沒有出現
LinearLayout
TextView
LinearLayout (Horizontal)
TextView
CustomImageView
\LinearLayout
TextView
\LinearLayout
但我的底部的TextView被切斷,沒有顯示。我的內部LinearLayout和自定義視圖都有其佈局高度的wrap_content參數。我能做些什麼來確保底部的TextView會顯示?
EDIT(S):
這在XML爲底的TextView:
<TextView
android:id="@+id/Label"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="title"
android:gravity="bottom"
android:textSize="16dp"/>
而且滾動型是不是對我的項目有用,但textviews需要在同一個屏幕上顯示。
顯示XML的一些簡要的TextView什麼[R屬性 –
嘗試將scrollview作爲佈局根目錄。看看你是否可以查看你的TextView .. – PH7
你可以發佈屏幕截圖嗎? – Sujit