? <Button???????? android:id="@+id/b"???????? android:layout_width="wrap_content"???????? android:layout_height="wrap_content"???????? android:layout_marginTop="10dp"???????? android:layout_gravity="center_horizontal"?????????android:text="怎么了?" />???????另外我是線(xiàn)性布局<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"??? xmlns:tools="http://schemas.android.com/tools"??? android:layout_width="match_parent"??? android:layout_height="match_parent"??? android:background="@drawable/q"??? android:orientation="vertical" >想把文本向右對(duì)齊 在textview里加?android:gravity="right"為什么內(nèi)容就不見(jiàn)了? <TextView??????? android:id="@+id/phnum"??????? android:layout_width="120dp"??????? android:layout_height="wrap_content"??????? android:layout_marginTop="50dp"??????? android:text="@string/phnum"??????? android:textAppearance="?android:attr/textAppearanceLarge"??????? android:textSize="18sp" />是bug吧 昨天都沒(méi)問(wèn)題。。。謝過(guò) 安卓小白爬坑中
添加回答
舉報(bào)
0/150
提交
取消