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