Skip to content

Commit b51d849

Browse files
committed
Update translucent theme
Add method to detect translucent window.
1 parent b5a0cf4 commit b51d849

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

dynamic-theme/src/main/java/com/pranavpandey/android/dynamic/theme/base/TranslucentTheme.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,11 @@ public interface TranslucentTheme<T extends TranslucentTheme<T>> extends BaseThe
6363
* @return {@code true} if this theme is translucent.
6464
*/
6565
boolean isTranslucent();
66+
67+
/**
68+
* Checks whether this theme has a translucent window.
69+
*
70+
* @return {@code true} if this theme has a translucent window.
71+
*/
72+
boolean isTranslucentWindow();
6673
}

0 commit comments

Comments
 (0)