Code example for Resources

Methods: getDisplayMetricsupdateConfiguration

0
        } 
 
        Configuration config = new Configuration();
        config.locale = locale;
        Resources resources = context.getResources();
        resources.updateConfiguration(config, resources.getDisplayMetrics());
    } 
 
 
    /** 
     * Base activities need to implement this interface. 
     * 
     * <p>The implementing class simply has to call through to the implementation of these methods 
     * in {@link K9ActivityCommon}.</p> 
     */ 
    public interface K9ActivityMagic { 
        void setupGestureDetector(OnSwipeGestureListener listener);
    } 
 
 
    private Activity mActivity;