Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9eeca7dd authored by Jorge Ruesga's avatar Jorge Ruesga
Browse files

core: fix volume panel more button transparency



Change-Id: I9f728256efbaf138611822079ea7737cd345bb19
Signed-off-by: default avatarJorge Ruesga <jorge@ruesga.com>
parent 454b89b5
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -1173,7 +1173,8 @@ public class VolumePanel extends Handler implements OnSeekBarChangeListener, Vie
    public void onClick(View v) {
        if (mTranslucentDialog && mShouldRunDropTranslucentAnimation) {
            startRemoveTranslucentAnimation();
        } else if (v == mMoreButton) {
        }
        if (v == mMoreButton) {
            expand();
        } else if (v instanceof ImageView) {
            Intent volumeSettings = new Intent(android.provider.Settings.ACTION_SOUND_SETTINGS);
@@ -1189,8 +1190,8 @@ public class VolumePanel extends Handler implements OnSeekBarChangeListener, Vie
        if (!mTranslucentDialog || mRunningDropTranslucentAnimation) return;

        mPanel.getBackground().setAlpha(TRANSLUCENT_START_LEVEL);
        mMoreButton.setAlpha(0.0f);
        mDivider.setAlpha(0.0f);
        mMoreButton.setAlpha(TRANSLUCENT_START_LEVEL);
        mDivider.setAlpha(TRANSLUCENT_START_LEVEL);
        mShouldRunDropTranslucentAnimation = true;
    }