[英]how to center android Textview element at bottom of the screen
嘗試使用
android:alignParentBottom="true"
如果我正確地看到TextView的父ViewGroup是RelativeLayout
將父相對布局屬性設置為:
android:layout_gravity = "bottom | left"
在相對布局中使用:
android:alignParentBottom="true"
在線性布局中使用:
android:layout_weight="1.0"
android:gravity="bottom|right"
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.