2017-07-14 12 views
0

アップロードされた画像(Picture)のように見えるボタンをどうやって得ることができるのですか?ここでボタン全体がベクトルアイコン(xml)です。背景アイコンは、テキストの背景にある色とは異なる背景色でなければならない。異なる背景を持つAndroidボタン

答えて

0
<LinearLayout 
        android:layout_width="match_parent" 
        android:orientation="horizontal" 
        android:layout_height="wrap_content"> 

        <ImageView 
         android:layout_width="wrap_content" //Set Image here 
         android:layout_height="wrap_content" /> 
        <Button 
         android:layout_width="wrap_content" 
         android:text="SomeText" 
         android:layout_height="wrap_content" /> 
       </LinearLayout> 
関連する問題