1
我搜索做這樣的cardview:CardView與圖片下的兩個佈局像Twitter卡
https://androidtutorialmagic.files.wordpress.com/2015/04/twitter_card_concept_hd.png
我嘗試,我嘗試,但我沒有找到良好的佈局要做到這一點.. 任何想法 ?
感謝
我搜索做這樣的cardview:CardView與圖片下的兩個佈局像Twitter卡
https://androidtutorialmagic.files.wordpress.com/2015/04/twitter_card_concept_hd.png
我嘗試,我嘗試,但我沒有找到良好的佈局要做到這一點.. 任何想法 ?
感謝
CardView
延伸FrameLayout
所以你可以佈置你的看法是這樣的:
<CardView>
<ImageView width="match_parent" height="xxxdp" src="background" />
<LinearLayout orientation="vertical" marginTop="yyydp">
<LinearLayout orientation="horizontal">
<!-- Settings view, avatar view, check mark view -->
</LinearLayout>
<TextView text="Username" />
<TextView text="@username" />
</LinearLayout>
</CardView>
感謝。你真的幫助我! – Selorbis