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

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

為什么我做出來(lái)的對(duì)話(huà)框,只顯示了個(gè)text,我用的eclipse4。圖片那部分只有兩橫

<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

? ? android:layout_width="wrap_content"

? ? android:layout_height="wrap_content"

? ? android:orientation="vertical"?

? ? android:gravity="center"

? ? android:padding="20dp"

? ? anroid:background="@drawable/dialog_loading_bg"

? ? >

<LinearLayout

? ? android:layout_width="match_parent"

? ? android:layout_heigh="match_parent"

? ? android:orientation="horizontal"

? ??

? ? >

? ? <ImageView

? ? ? ? android:id="@+id/id_recorder_dialog_icon"

? ? ? ? android:layout_width="wrap_content"

? ? ? ? ?android:layout_height="wrap_content"

? ? android:src="@drawable/recorder"

? ? android:visibility="visible"/>

? ? <ImageView

? ? ? ? android:id="@+id/id_recorder_dialog_voice"

? ? ? ? android:layout_width="wrap_content"

? ? ? ? ?android:layout_height="wrap_content"

? ? android:src="@drawable/v1"

? ? android:visibility="visible"

/>



? ??

? ??

</LinearLayout>




? ? <TextView

? ? android:layout_width="wrap_content"

? ? android:layout_height="wrap_content"

? ? android:layout_marginTop="5dp"

? ? android:text="手指上滑,取消發(fā)送"

? ? android:textColor="#ffffff"/>


</LinearLayout>












正在回答

1 回答

按照你給出的布局寫(xiě)法只會(huì)顯示圖片,下面那個(gè)TextView是不會(huì)顯示的,因?yàn)榈诙€(gè)LinearLayout被設(shè)置成了match_parent,TextView沒(méi)有地方顯示了,你改成wrap_content吧。至于你說(shuō)的只顯示textview和帶橫的圖片應(yīng)該不是布局的原因

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消
Android-仿微信語(yǔ)音聊天
  • 參與學(xué)習(xí)       43189    人
  • 解答問(wèn)題       247    個(gè)

結(jié)合自定義View和API,Dialog管理等實(shí)現(xiàn)實(shí)現(xiàn)微信語(yǔ)音

進(jìn)入課程

為什么我做出來(lái)的對(duì)話(huà)框,只顯示了個(gè)text,我用的eclipse4。圖片那部分只有兩橫

我要回答 關(guān)注問(wèn)題
微信客服

購(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)