답변

0

음 많은 방법이 있지만, 내이다 : 당신은 포토샵에서 같은 이미지를 만듭니다

은 (모든 장치 물론 잘 측정 대상 (DP)) 그런 다음 drawable 폴더에 넣고 CardView 위에 놓습니다.

그 이미지라고 가정 image_traingle.jpg 당신은이 방법을 회신

<android.support.v7.widget.CardView 
     android:layout_width="match_parent" 
     android:onClick="Contract" 
     android:layout_margin="10dp" 
     app:cardCornerRadius="7dp" 
     android:layout_height="90dp"> 

     <LinearLayout 
      android:orientation="horizontal" 
      android:layout_width="match_parent" 
      android:layout_height="match_parent"> 
      <Imageview 
       android:layout_width="wrap_content" 
       android:gravity="left" 
       android:background="@color/colorPrimary" 
       android:src="drawable/image_triangle" 
       android:layout_height="match_parent" /> 

        . 
        . 
        . 
     </LinearLayout> 


    </android.support.v7.widget.CardView> 
+0

감사를 할 수 있습니다. 하지만 추가 구성 요소라고하는 안드로이드 구성 요소가 있습니다, 나는 지난 이틀 동안 검색하고있는 정확한 이름을 잊어 버렸지 만 찾을 수 없었습니다. 나는이 방법을 시도 할 것이다 @ LuttayaHuzaifahIdris. –

+0

좋아, @ kuldeepzala, 괜찮 으면, 너는 나에게 Tick –

+0

을 할 수있다 :) @ LuttayaHuzaifahIdris –