2011-03-25 63 views

回答

0

你總是可以創建自己的TextView並將其放置在佈局上的絕對位置(見AbsoluteLayouthere),但我不推薦這個,因爲它從普通用戶接口標準打破,可能會造成混亂給用戶。另外,如果您在佈局中滾動,定位將變得更加複雜。據我所知,沒有內置的移動標題欄的方式。

0

只是一個想法。 您可以關閉標題欄,並添加類似標題欄,所有的佈局的底部:

<LinearLayout 
    android:orientation="vertical" 
    android:width="fill_parent" 
    android:height="fill_parent"> 
    <LinearLayout 
     android:id="@+id/layout_container" 
     android:weight="1" 
     android:height="0dp" 
     android:width="fill_parent"> 
     ... 
    </LinearLayout> 
    <LinearLayout 
     androdi:id="@+id/titlebar" 
     android:height="wrap_content" 
     android:width="fill_parent"> 
     ... 
    </LinearLayout> 
</LinearLayout> 

但我從來沒有見過一個在底部的標題欄。