2015-10-26 22 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