2015-10-26 52 views

回答

0

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> 
+0

感谢。你真的帮助我! – Selorbis