Fixing alpha issue on AllApps.
Change-Id: Ifbd81b3e8009cff963bb03bd953e498f8677cc38
This commit is contained in:
@@ -271,8 +271,9 @@ public abstract class PagedView extends ViewGroup {
|
||||
dimAlpha = Math.max(0.0f, Math.min(1.0f, (dimAlpha * dimAlpha)));
|
||||
alpha = 1.0f - dimAlpha;
|
||||
}
|
||||
if (Float.compare(alpha, layout.getAlpha()) != 0)
|
||||
if (Float.compare(alpha, layout.getAlpha()) != 0) {
|
||||
layout.setAlpha(alpha);
|
||||
}
|
||||
}
|
||||
}
|
||||
super.dispatchDraw(canvas);
|
||||
|
||||
Reference in New Issue
Block a user