Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Fix the transparent background when changing the button state (#2117)
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo authored and bluemarvin committed Nov 1, 2019
1 parent 0b8943b commit 69549cb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/src/main/res/drawable/fullscreen_button.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"
<animated-selector xmlns:android="http://schemas.android.com/apk/res/android"
android:enterFadeDuration="@integer/ui_fadeAnimTime"
android:exitFadeDuration="@integer/ui_fadeAnimTime">
<item android:state_pressed="true">
Expand All @@ -20,4 +20,4 @@
<solid android:color="@color/asphalt" />
</shape>
</item>
</selector>
</animated-selector>
4 changes: 2 additions & 2 deletions app/src/main/res/drawable/fullscreen_button_first.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"
<animated-selector xmlns:android="http://schemas.android.com/apk/res/android"
android:enterFadeDuration="@integer/ui_fadeAnimTime"
android:exitFadeDuration="@integer/ui_fadeAnimTime">
<item android:state_enabled="false">
Expand Down Expand Up @@ -46,4 +46,4 @@
android:bottomLeftRadius="20dp"/>
</shape>
</item>
</selector>
</animated-selector>
4 changes: 2 additions & 2 deletions app/src/main/res/drawable/fullscreen_button_last.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"
<animated-selector xmlns:android="http://schemas.android.com/apk/res/android"
android:enterFadeDuration="@integer/ui_fadeAnimTime"
android:exitFadeDuration="@integer/ui_fadeAnimTime">
<item android:state_enabled="false">
Expand Down Expand Up @@ -46,4 +46,4 @@
android:bottomRightRadius="20dp"/>
</shape>
</item>
</selector>
</animated-selector>

0 comments on commit 69549cb

Please sign in to comment.