summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorClark Scheff <clark@cyngn.com>2014-10-14 10:27:55 -0700
committerClark Scheff <clark@cyngn.com>2014-10-14 18:06:15 +0000
commit3c5787cca9eb8beea51d486e1f3330634b7da8ef (patch)
tree033f1d65d871bd997587e84c51ec3102c6c70aa1 /src
parent825feaabfdd0adc9ccde23a8eb3f738752321b03 (diff)
downloadpackages_apps_ThemeChooser-3c5787cca9eb8beea51d486e1f3330634b7da8ef.zip
packages_apps_ThemeChooser-3c5787cca9eb8beea51d486e1f3330634b7da8ef.tar.gz
packages_apps_ThemeChooser-3c5787cca9eb8beea51d486e1f3330634b7da8ef.tar.bz2
Add resources for all densities (mdpi - xxhdpi)
Change-Id: Ib8083902ee07a891f41479e6085fc0263512f011
Diffstat (limited to 'src')
-rw-r--r--src/com/cyngn/theme/chooser/ComponentSelector.java6
-rw-r--r--src/com/cyngn/theme/util/NotificationHelper.java2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/com/cyngn/theme/chooser/ComponentSelector.java b/src/com/cyngn/theme/chooser/ComponentSelector.java
index 9450c4a..bff2bce 100644
--- a/src/com/cyngn/theme/chooser/ComponentSelector.java
+++ b/src/com/cyngn/theme/chooser/ComponentSelector.java
@@ -155,7 +155,7 @@ public class ComponentSelector extends LinearLayout
@Override
public void onCompletion(MediaPlayer mp) {
if (mCurrentPlayPause != null) {
- mCurrentPlayPause.setImageResource(R.drawable.media_sound__selector_preview);
+ mCurrentPlayPause.setImageResource(R.drawable.media_sound_selector_preview);
mCurrentPlayPause = null;
}
}
@@ -632,7 +632,7 @@ public class ComponentSelector extends LinearLayout
mMediaPlayer.stop();
if (mCurrentPlayPause != null) {
mCurrentPlayPause.setImageResource(
- R.drawable.media_sound__selector_preview);
+ R.drawable.media_sound_selector_preview);
}
mCurrentPlayPause = null;
}
@@ -642,7 +642,7 @@ public class ComponentSelector extends LinearLayout
mMediaPlayer.start();
mCurrentPlayPause = (ImageView) playButton;
mCurrentPlayPause.setImageResource(
- R.drawable.media_sound__selector_stop);
+ R.drawable.media_sound_selector_stop);
}
} catch (PackageManager.NameNotFoundException e) {
Log.w(TAG, "Unable to play preview sound", e);
diff --git a/src/com/cyngn/theme/util/NotificationHelper.java b/src/com/cyngn/theme/util/NotificationHelper.java
index d49a430..dcdc938 100644
--- a/src/com/cyngn/theme/util/NotificationHelper.java
+++ b/src/com/cyngn/theme/util/NotificationHelper.java
@@ -67,7 +67,7 @@ public class NotificationHelper {
.setContentTitle(title)
.setContentText(content)
.setContentIntent(pi)
- .setSmallIcon(R.drawable.ic_notifiy)
+ .setSmallIcon(R.drawable.ic_notify)
.setLargeIcon(BitmapFactory.decodeResource(context.getResources(),
R.drawable.ic_app_themes))
.setWhen(System.currentTimeMillis())