⑴ android仿微信朋友圈評論用listview實現嗎
可以用listview實現啊。有什麼問題?
listview的好處是可重復利用view,如果item多了,必須用list,否則會有太多的view了,導致內存耗費太多。
⑵ 求大神告知Android微信朋友圈界面代碼
<?xmlversion="1.0"encoding="utf-8"?>
<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context="cn.tomcat7..MainActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView
android:layout_width="64dip"
android:layout_height="64dip"
android:src="@mipmap/ic_launcher"/>
<LinearLayout
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxLines="1"
android:text="赤壁賦"
android:textColor="#000000"
android:textSize="16dip"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="壬戌之秋,七月既望,蘇子與客泛舟游於赤壁之下。清風徐來,水波不興。舉酒屬客,誦明月之詩,歌窈窕之章。少焉,月出於東山之上,徘徊於鬥牛之間。白露橫江,水光接天。縱一葦之所如,凌萬頃之茫然。浩浩乎如馮虛御風,而不知其所止;飄飄乎如遺世獨立,羽化而登仙。"/>
</LinearLayout>
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dip"
android:background="#f1f1f1"/>
</LinearLayout>
⑶ android開發仿微信朋友圈中的頭像效果怎麼實現
一種方法,重寫imageView,繪制為圓形,方形圖片固定大小,imageView樣式為圖片大小。
另一種方法,imageView,上面再一層ImageView,圖片為中間圓形透明的圖片
⑷ android仿微信發朋友去哪
發送彩色文字格式: 不過小編經過測試,安卓手機微信朋友圈發彩色文字之後只顯示代碼,並不能顯示彩色文字,目前只有iphone手機才可以顯示彩色文字。
⑸ 安卓手機朋友圈怎麼發長文不被折疊
1、在發布區打個英文字母,例如A,把要發布的文字全部粘貼到A後面,把字母A刪除,直接發表。
4、更新最新版本微信,復制好文案,粘貼進朋友圈發布里,點擊取消後,再點保留,重新點擊朋友圈發布按鈕,看到你剛剛編輯的內容,直接發布就行,這樣也不會被折疊。