diff options
Diffstat (limited to 'tests/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity.java')
-rw-r--r-- | tests/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity.java b/tests/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity.java index 359447d..0ddd7fd 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity.java +++ b/tests/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity.java @@ -81,11 +81,14 @@ public class ViewLayersActivity extends Activity { leftList.setAlpha(0.5f); middleList.setLayerType(View.LAYER_TYPE_HARDWARE, p3); middleList.setAlpha(0.5f); + middleList.setVerticalFadingEdgeEnabled(true); rightList.setLayerType(View.LAYER_TYPE_SOFTWARE, p2); moveRight.start(); moveLeft.start(); rotate.start(); + + ((View) leftList.getParent()).setAlpha(0.5f); } }, 2000); } |