[True Black] Cleaning up Code
Remove unused imports and redundant values Coding style adjustment
This commit is contained in:
parent
05f923ebe2
commit
deb2cea72f
|
@ -7,7 +7,6 @@ import android.content.Intent;
|
|||
import android.content.SharedPreferences;
|
||||
import android.content.res.Configuration;
|
||||
import android.database.DataSetObserver;
|
||||
import android.graphics.Color;
|
||||
import android.os.Build;
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
|
|
|
@ -22,8 +22,6 @@ import android.widget.TextView;
|
|||
import com.bumptech.glide.Glide;
|
||||
import com.joanzapata.iconify.Iconify;
|
||||
|
||||
import org.shredzone.flattr4j.model.User;
|
||||
|
||||
import java.lang.ref.WeakReference;
|
||||
|
||||
import de.danoeh.antennapod.R;
|
||||
|
|
|
@ -167,7 +167,7 @@ public class UserPreferences {
|
|||
int theme = getTheme();
|
||||
if (theme == R.style.Theme_AntennaPod_Dark) {
|
||||
return R.style.Theme_AntennaPod_Dark_NoTitle;
|
||||
}else if (theme == R.style.Theme_AntennaPod_TrueBlack){
|
||||
} else if (theme == R.style.Theme_AntennaPod_TrueBlack) {
|
||||
return R.style.Theme_AntennaPod_TrueBlack_NoTitle;
|
||||
} else {
|
||||
return R.style.Theme_AntennaPod_Light_NoTitle;
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:id="@android:id/background">
|
||||
<shape>
|
||||
<solid android:color="#33FFFFFF"/>
|
||||
</shape>
|
||||
</item>
|
||||
<item android:id="@android:id/progress">
|
||||
<clip>
|
||||
<shape>
|
||||
<solid android:color="@color/holo_blue_dark"/>
|
||||
</shape>
|
||||
</clip>
|
||||
</item>
|
||||
</layer-list>
|
|
@ -1,6 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="selection_background_color_dark">#484B4D</color>
|
||||
<color name="selection_background_color_trueblack">#000000</color>
|
||||
<color name="selection_background_color_light">#E3E3E3</color>
|
||||
</resources>
|
|
@ -21,6 +21,7 @@
|
|||
<color name="new_indicator_green">#669900</color>
|
||||
<color name="image_readability_tint">#80000000</color>
|
||||
|
||||
<color name="selection_background_color_trueblack">#286E8A</color>
|
||||
<color name="selection_background_color_dark">#286E8A</color>
|
||||
<color name="selection_background_color_light">#81CFEA</color>
|
||||
|
||||
|
|
Loading…
Reference in New Issue