第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問(wèn)題,去搜搜看,總會(huì)有你想問(wèn)的

安卓button 內(nèi)容顯示不全 以及textview右居中

安卓button 內(nèi)容顯示不全 以及textview右居中

居正w 2017-02-24 16:06:26
? <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ò) 安卓小白爬坑中
查看完整描述

3 回答

?
習(xí)慣受傷

TA貢獻(xiàn)885條經(jīng)驗(yàn) 獲得超1144個(gè)贊

看著寬度夠???怎么沒(méi)顯示
查看完整回答
1 反對(duì) 回復(fù) 2017-02-24
  • 居正w
    居正w
    加了個(gè)這個(gè)android:gravity="center_vertical" 就好 文本內(nèi)容居中
  • 習(xí)慣受傷
    習(xí)慣受傷
    哦,回去驗(yàn)證一下,這個(gè)看起來(lái)很奇葩。我琢磨一下“怎”字前邊哪些控件如何解釋呢
  • 3 回答
  • 0 關(guān)注
  • 2229 瀏覽
慕課專(zhuān)欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢(xún)優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)