diff options
Diffstat (limited to 'src/com/android/camera/ui')
-rw-r--r-- | src/com/android/camera/ui/IndicatorControlWheelContainer.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/com/android/camera/ui/IndicatorControlWheelContainer.java b/src/com/android/camera/ui/IndicatorControlWheelContainer.java index e3b3387..27f5455 100644 --- a/src/com/android/camera/ui/IndicatorControlWheelContainer.java +++ b/src/com/android/camera/ui/IndicatorControlWheelContainer.java @@ -48,12 +48,16 @@ public class IndicatorControlWheelContainer extends IndicatorControl { } @Override - public void initialize(Context context, PreferenceGroup group, - String flashSetting, String[] keys, String[] otherSettingKeys) { + protected void onFinishInflate() { mShutterButton = findViewById(R.id.shutter_button); mShutterButtonRadius = Util.dpToPixel(SHUTTER_BUTTON_RADIUS); mIndicatorControlWheel = (IndicatorControlWheel) findViewById( R.id.indicator_control_wheel); + } + + @Override + public void initialize(Context context, PreferenceGroup group, + String flashSetting, String[] keys, String[] otherSettingKeys) { mIndicatorControlWheel.initialize(context, group, flashSetting, keys, otherSettingKeys); // TODO: add ZoomControlWheel here. |