@@ -0,0 +1,3013 @@
+package com.gustiaux.canadiansalestaxcalculator;%0A%0Aimport android.content.res.Configuration;%0Aimport android.os.Bundle;%0Aimport android.preference.PreferenceActivity;%0Aimport android.support.annotation.LayoutRes;%0Aimport android.support.annotation.Nullable;%0Aimport android.support.v7.app.ActionBar;%0Aimport android.support.v7.app.AppCompatDelegate;%0Aimport android.support.v7.widget.Toolbar;%0Aimport android.view.MenuInflater;%0Aimport android.view.View;%0Aimport android.view.ViewGroup;%0A%0A/**%0A * A %7B@link android.preference.PreferenceActivity%7D which implements and proxies the necessary calls%0A * to be used with AppCompat.%0A */%0Apublic abstract class AppCompatPreferenceActivity extends PreferenceActivity %7B%0A%0A    private AppCompatDelegate mDelegate;%0A%0A    @Override%0A    protected void onCreate(Bundle savedInstanceState) %7B%0A        getDelegate().installViewFactory();%0A        getDelegate().onCreate(savedInstanceState);%0A        super.onCreate(savedInstanceState);%0A    %7D%0A%0A    @Override%0A    protected void onPostCreate(Bundle savedInstanceState) %7B%0A        super.onPostCreate(savedInstanceState);%0A        getDelegate().onPostCreate(savedInstanceState);%0A    %7D%0A%0A    public ActionBar getSupportActionBar() %7B%0A        return getDelegate().getSupportActionBar();%0A    %7D%0A%0A    public void setSupportActionBar(@Nullable Toolbar toolbar) %7B%0A        getDelegate().setSupportActionBar(toolbar);%0A    %7D%0A%0A    @Override%0A    public MenuInflater getMenuInflater() %7B%0A        return getDelegate().getMenuInflater();%0A    %7D%0A%0A    @Override%0A    public void setContentView(@LayoutRes int layoutResID) %7B%0A        getDelegate().setContentView(layoutResID);%0A    %7D%0A%0A    @Override%0A    public void setContentView(View view) %7B%0A        getDelegate().setContentView(view);%0A    %7D%0A%0A    @Override%0A    public void setContentView(View view, ViewGroup.LayoutParams params) %7B%0A        getDelegate().setContentView(view, params);%0A    %7D%0A%0A    @Override%0A    public void addContentView(View view, ViewGroup.LayoutParams params) %7B%0A        getDelegate().addContentView(view, params);%0A    %7D%0A%0A    @Override%0A    protected void onPostResume() %7B%0A        super.onPostResume();%0A        getDelegate().onPostResume();%0A    %7D%0A%0A    @Override%0A    protected void onTitleChanged(CharSequence title, int color) %7B%0A        super.onTitleChanged(title, color);%0A        getDelegate().setTitle(title);%0A    %7D%0A%0A    @Override%0A    public void onConfigurationChanged(Configuration newConfig) %7B%0A        super.onConfigurationChanged(newConfig);%0A        getDelegate().onConfigurationChanged(newConfig);%0A    %7D%0A%0A    @Override%0A    protected void onStop() %7B%0A        super.onStop();%0A        getDelegate().onStop();%0A    %7D%0A%0A    @Override%0A    protected void onDestroy() %7B%0A        super.onDestroy();%0A        getDelegate().onDestroy();%0A    %7D%0A%0A    public void invalidateOptionsMenu() %7B%0A        getDelegate().invalidateOptionsMenu();%0A    %7D%0A%0A    private AppCompatDelegate getDelegate() %7B%0A        if (mDelegate == null) %7B%0A            mDelegate = AppCompatDelegate.create(this, null);%0A        %7D%0A        return mDelegate;%0A    %7D%0A%7D%0A

Revert suppression error