1), IconCompat.createWithResource(getContext(), R.drawable.ic_temp_up), "Increase temperature"); SliceAction tempDown = new SliceAction(getChangeTempIntent(MainActivity.sTemperature - 1), IconCompat.createWithResource(getContext(), R.drawable.ic_temp_down), "Decrease temperature");