2016-03-31 17 views
-1

私は問題のあるぼかしリストビュー項目を持っています。私は通常の画像bluringのための解決策を見つけましたが、それはlistviewのために働きません。Androidリストビューのぼかし効果を

ListView Items

+0

ListViewでは動作しないとはどういう意味ですか?どの方法を呼びますか、レイアウトはどのように作成されていますか? – speedDeveloper

+0

バックグラウンドイメージをロードする前にアクションが呼び出され、項目がスクロールできるように非常に高速なソリューションが必要です。 – user1214083

+0

グラデーションを使用... – Piyush

答えて

-1

私はそれはあなたが必要とする別の何か、参考にしたいと考えていました! http://www.hermosaprogramacion.com/2015/07/tutorial-para-crear-un-gridview-en-android/私はTextViewandroid:alpha="0.5"を追加すると、あなたが探しているものをやるべきだと思い

を更新し

:から提供

<?xml version="1.0" encoding="utf-8"?> 
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" 
    android:layout_width="match_parent" 
    android:layout_height="300dp"> 

    <ImageView 
     android:id="@+id/image" 
     android:layout_width="match_parent" 
     android:layout_height="match_parent" 
     android:scaleType="centerCrop"/> 

    <TextView 
     android:id="@+id/nombre_coche" 
     android:layout_width="match_parent" 
     android:layout_height="wrap_content" 
     android:layout_gravity="bottom" 
     android:background="@color/background_footer" 
     android:maxLines="1" 
     android:padding="16dp" 
     android:textAppearance="@style/TextAppearance.AppCompat.Subhead" //IMPORTANT FOR YOU 
     android:textColor="@android:color/white" /> 

</FrameLayout> 

shows that

スペイン情報!

+1

OPはアルファではなくぼかしについて尋ねました。 –

関連する問題