@@ -0,0 +1,1281 @@
+package com.beepscore.android.sunshine;%0A%0Aimport android.content.Context;%0Aimport android.content.res.TypedArray;%0Aimport android.preference.EditTextPreference;%0Aimport android.util.AttributeSet;%0Aimport android.util.Log;%0A%0A/**%0A * LocationEditTextPreference is a type of view%0A * Created by stevebaker on 11/11/15.%0A */%0Apublic class LocationEditTextPreference extends EditTextPreference %7B%0A%0A    static final Integer DEFAULT_MINIMUM_LOCATION_LENGTH = 0;%0A    protected Integer mMinLength;%0A%0A    /**%0A     * Constructor method%0A     * @param context%0A     * @param attrs%0A     * http://developer.android.com/training/custom-views/create-view.html#customattr%0A     * http://stackoverflow.com/questions/3441396/defining-custom-attrs%0A     * http://stackoverflow.com/questions/16357334/android-custom-view-obtainstyledattributes%0A     */%0A    public LocationEditTextPreference(Context context, AttributeSet attrs) %7B%0A        super(context, attrs);%0A%0A        TypedArray a = context.getTheme().obtainStyledAttributes(%0A                attrs, R.styleable.LocationEditTextPreference, 0, 0);%0A%0A        try %7B%0A            mMinLength = a.getInteger(R.styleable.LocationEditTextPreference_minLength,%0A                    DEFAULT_MINIMUM_LOCATION_LENGTH);%0A        %7D finally %7B%0A            a.recycle();%0A        %7D%0A    %7D%0A%0A%7D%0A

Add LocationEditTextPreference.java