比如一個button在linearlayout裡,你想把該button放在linearlayout裡靠左、靠右等位置就可以通過該屬性設置. android:gravity用於設置View中內容相對 ...
確定! 回上一頁