This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<selector | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:pocket="http://schemas.android.com/apk/res-auto"> | |
<item | |
pocket:theme_state_dark="true" | |
android:drawable="@drawable/dark_drawable" /> | |
<item android:drawable="drawable/light_drawable" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ThemedView extends View { | |
public ThemedView(Context context, AttributeSet attrs, int defStyle) { | |
super(context, attrs, defStyle); | |
} | |
public ThemedView(Context context, AttributeSet attrs) { | |
super(context, attrs); | |
} |