Added dark theme
@ -74,7 +74,7 @@ public class ChannelActivity extends AppCompatActivity {
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
if (Objects.equals(PreferenceManager.getDefaultSharedPreferences(this)
|
||||
.getString("theme", "1"), "0")) {
|
||||
.getString("theme", getResources().getString(R.string.light_theme_title)), getResources().getString(R.string.dark_theme_title))) {
|
||||
setTheme(R.style.DarkTheme_NoActionBar);
|
||||
}
|
||||
super.onCreate(savedInstanceState);
|
||||
|
BIN
app/src/main/res/drawable-hdpi/Thumbs.db
Normal file
BIN
app/src/main/res/drawable-hdpi/ic_cast_black_24dp.png
Normal file
After Width: | Height: | Size: 384 B |
BIN
app/src/main/res/drawable-hdpi/ic_cast_white_24dp.png
Normal file
After Width: | Height: | Size: 394 B |
BIN
app/src/main/res/drawable-hdpi/ic_file_download_black_24dp.png
Normal file
After Width: | Height: | Size: 148 B |
BIN
app/src/main/res/drawable-hdpi/ic_file_download_white_24dp.png
Normal file
After Width: | Height: | Size: 163 B |
BIN
app/src/main/res/drawable-hdpi/ic_headset_white_24dp.png
Normal file
After Width: | Height: | Size: 350 B |
BIN
app/src/main/res/drawable-hdpi/ic_share_white_24dp.png
Normal file
After Width: | Height: | Size: 397 B |
BIN
app/src/main/res/drawable-hdpi/ic_thumb_down_black_24dp.png
Normal file
After Width: | Height: | Size: 269 B |
BIN
app/src/main/res/drawable-hdpi/ic_thumb_down_white_24dp.png
Normal file
After Width: | Height: | Size: 280 B |
BIN
app/src/main/res/drawable-hdpi/ic_thumb_up_black_24dp.png
Normal file
After Width: | Height: | Size: 262 B |
BIN
app/src/main/res/drawable-hdpi/ic_thumb_up_white_24dp.png
Normal file
After Width: | Height: | Size: 277 B |
BIN
app/src/main/res/drawable-mdpi/Thumbs.db
Normal file
BIN
app/src/main/res/drawable-mdpi/ic_cast_black_24dp.png
Normal file
After Width: | Height: | Size: 249 B |
BIN
app/src/main/res/drawable-mdpi/ic_cast_white_24dp.png
Normal file
After Width: | Height: | Size: 251 B |
BIN
app/src/main/res/drawable-mdpi/ic_file_download_black_24dp.png
Normal file
After Width: | Height: | Size: 114 B |
BIN
app/src/main/res/drawable-mdpi/ic_file_download_white_24dp.png
Normal file
After Width: | Height: | Size: 116 B |
BIN
app/src/main/res/drawable-mdpi/ic_headset_black_24dp.png
Normal file
After Width: | Height: | Size: 230 B |
BIN
app/src/main/res/drawable-mdpi/ic_headset_white_24dp.png
Normal file
After Width: | Height: | Size: 238 B |
BIN
app/src/main/res/drawable-mdpi/ic_share_white_24dp.png
Normal file
After Width: | Height: | Size: 268 B |
BIN
app/src/main/res/drawable-mdpi/ic_thumb_down_black_24dp.png
Normal file
After Width: | Height: | Size: 195 B |
BIN
app/src/main/res/drawable-mdpi/ic_thumb_down_white_24dp.png
Normal file
After Width: | Height: | Size: 202 B |
BIN
app/src/main/res/drawable-mdpi/ic_thumb_up_black_24dp.png
Normal file
After Width: | Height: | Size: 181 B |
BIN
app/src/main/res/drawable-mdpi/ic_thumb_up_white_24dp.png
Normal file
After Width: | Height: | Size: 188 B |
BIN
app/src/main/res/drawable-xhdpi/ic_cast_black_24dp.png
Normal file
After Width: | Height: | Size: 449 B |
BIN
app/src/main/res/drawable-xhdpi/ic_cast_white_24dp.png
Normal file
After Width: | Height: | Size: 460 B |
BIN
app/src/main/res/drawable-xhdpi/ic_file_download_black_24dp.png
Normal file
After Width: | Height: | Size: 144 B |
BIN
app/src/main/res/drawable-xhdpi/ic_file_download_white_24dp.png
Normal file
After Width: | Height: | Size: 157 B |
BIN
app/src/main/res/drawable-xhdpi/ic_headset_black_24dp.png
Normal file
After Width: | Height: | Size: 412 B |
BIN
app/src/main/res/drawable-xhdpi/ic_headset_white_24dp.png
Normal file
After Width: | Height: | Size: 433 B |
BIN
app/src/main/res/drawable-xhdpi/ic_share_white_24dp.png
Normal file
After Width: | Height: | Size: 496 B |
BIN
app/src/main/res/drawable-xhdpi/ic_thumb_down_black_24dp.png
Normal file
After Width: | Height: | Size: 281 B |
BIN
app/src/main/res/drawable-xhdpi/ic_thumb_down_white_24dp.png
Normal file
After Width: | Height: | Size: 296 B |
BIN
app/src/main/res/drawable-xhdpi/ic_thumb_up_black_24dp.png
Normal file
After Width: | Height: | Size: 291 B |
BIN
app/src/main/res/drawable-xhdpi/ic_thumb_up_white_24dp.png
Normal file
After Width: | Height: | Size: 307 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_cast_black_24dp.png
Normal file
After Width: | Height: | Size: 649 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_cast_white_24dp.png
Normal file
After Width: | Height: | Size: 666 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_file_download_black_24dp.png
Normal file
After Width: | Height: | Size: 173 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_file_download_white_24dp.png
Normal file
After Width: | Height: | Size: 197 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_headset_black_24dp.png
Normal file
After Width: | Height: | Size: 586 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_headset_white_24dp.png
Normal file
After Width: | Height: | Size: 610 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_share_white_24dp.png
Normal file
After Width: | Height: | Size: 698 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_thumb_down_black_24dp.png
Normal file
After Width: | Height: | Size: 395 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_thumb_down_white_24dp.png
Normal file
After Width: | Height: | Size: 423 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_thumb_up_black_24dp.png
Normal file
After Width: | Height: | Size: 410 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_thumb_up_white_24dp.png
Normal file
After Width: | Height: | Size: 434 B |
BIN
app/src/main/res/drawable-xxxhdpi/Thumbs.db
Normal file
BIN
app/src/main/res/drawable-xxxhdpi/ic_cast_black_24dp.png
Normal file
After Width: | Height: | Size: 869 B |
BIN
app/src/main/res/drawable-xxxhdpi/ic_cast_white_24dp.png
Normal file
After Width: | Height: | Size: 883 B |
After Width: | Height: | Size: 209 B |
After Width: | Height: | Size: 233 B |
BIN
app/src/main/res/drawable-xxxhdpi/ic_headset_black_24dp.png
Normal file
After Width: | Height: | Size: 786 B |
BIN
app/src/main/res/drawable-xxxhdpi/ic_headset_white_24dp.png
Normal file
After Width: | Height: | Size: 838 B |
BIN
app/src/main/res/drawable-xxxhdpi/ic_share_white_24dp.png
Normal file
After Width: | Height: | Size: 938 B |
BIN
app/src/main/res/drawable-xxxhdpi/ic_thumb_down_black_24dp.png
Normal file
After Width: | Height: | Size: 496 B |
BIN
app/src/main/res/drawable-xxxhdpi/ic_thumb_down_white_24dp.png
Normal file
After Width: | Height: | Size: 533 B |
BIN
app/src/main/res/drawable-xxxhdpi/ic_thumb_up_black_24dp.png
Normal file
After Width: | Height: | Size: 510 B |
BIN
app/src/main/res/drawable-xxxhdpi/ic_thumb_up_white_24dp.png
Normal file
After Width: | Height: | Size: 542 B |