Clean up navigation drawer inheritance

Cleaned up the way that the navigation drawer is created so that we no longer have to implement mysterious inherited variables in the activity `onCreate()` method.
Good idea


On Mon, Jul 14, 2014 at 1:55 PM, ospalh <notifications@github.com> wrote:

> In src/com/ichi2/anki/DeckPicker.java:
>
> > @@ -1404,7 +1401,7 @@ protected Dialog onCreateDialog(int id) {
> >                  break;
> >
> >              case DIALOG_CONNECTION_ERROR:
> > -                // From the Android style guide: â€œMost alerts don't need titles.â€� And "Attention" is quite unhelpful.
> > +                // From the Android style guide: ﾃ｢竄ｬﾅ溺ost alerts don't need titles.ﾃ｢竄ｬ�ｽ And "Attention" is quite unhelpful.
>
> This comment could be deleted, but look at line 5, too.
> Maybe we should add coding declarations (like this
> <https://github.com/dae/anki/blob/master/aqt/about.py#L2>) to the top of
> files.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/ankidroid/Anki-Android/pull/415/files#r14864342>.
>