protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            SetContentView(Resource.Layout.ContentPackItem);
            fromAnimation = base.Intent.GetBooleanExtra("fromanimation", false);
            listContentPack = FindViewById<LinearLayout>(Resource.Id.listContentPack);
            TextView txtContentPackHeader = FindViewById<TextView>(Resource.Id.txtContentPackHeader);
            ImageView btns = FindViewById<ImageView>(Resource.Id.imgNewUserHeader);
            RelativeLayout relLayout = FindViewById<RelativeLayout>(Resource.Id.relativeLayout1);
            ImageHelper.setupTopPanel(btns, txtContentPackHeader, relLayout, txtContentPackHeader.Context);
            ImageButton btnBack = FindViewById<ImageButton>(Resource.Id.btnBack);
            isAnimation = base.Intent.GetBooleanExtra("animated", false); // false = not from animation
            Header.headertext = base.Intent.GetStringExtra("ContentPackTitle").ToUpper();
            currentStep = base.Intent.GetIntExtra("CurrentStep", 1);
            context = listContentPack.Context;

            Header.fontsize = 36f;
            ImageHelper.fontSizeInfo(txtContentPackHeader.Context);
            txtContentPackHeader.SetTextSize(Android.Util.ComplexUnitType.Dip, Header.fontsize);
            txtContentPackHeader.Text = Header.headertext;
            isSet = false;
            contentPackID = base.Intent.GetIntExtra("packid", -1);
            iconFile = "";
            packType = ContentPackActivity.packType;
            ContentPath = wowZapp.LaffOutOut.Singleton.ContentDirectory;
            dbm = wowZapp.LaffOutOut.Singleton.dbm;
            packItems = new List<ContentPackItemDB>();
            contentPackItems = new Dictionary<string, ContentPackItem>();
            btnBack.Click += delegate
            {
                sendBack(true);
            };
            Button btnDone = FindViewById<Button>(Resource.Id.btnDone);
            btnDone.Click += delegate
            {
                sendBack(!isSet);
            };
            isPreview = false;
            LinearLayout bottom = FindViewById<LinearLayout>(Resource.Id.bottomHolder);
            ImageHelper.setupButtonsPosition(btnBack, btnDone, bottom, context);
            layouts = new LinearLayout[4];
            size = 100f;
            if (wowZapp.LaffOutOut.Singleton.resizeFonts)
                size *= wowZapp.LaffOutOut.Singleton.bigger;
            getContentPackItems();
        }
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            SetContentView(Resource.Layout.ContentPack);
            isAnimation = base.Intent.GetBooleanExtra("animated", false);
            fromAnimation = base.Intent.GetBooleanExtra("fromanimated", false);
            listContentPack = FindViewById<LinearLayout>(Resource.Id.listContentPack);
            TextView txtContentPackHeader = FindViewById<TextView>(Resource.Id.txtContentPackHeader);
            ImageView btns = FindViewById<ImageView>(Resource.Id.imgNewUserHeader);
            RelativeLayout relLayout = FindViewById<RelativeLayout>(Resource.Id.relativeLayout1);
            ImageHelper.setupTopPanel(btns, txtContentPackHeader, relLayout, txtContentPackHeader.Context);
            ImageButton btnBack = FindViewById<ImageButton>(Resource.Id.btnBack);

            context = listContentPack.Context;

            Header.fontsize = 36f;

            int pack = base.Intent.GetIntExtra("pack", -1);

            string text = "";
            switch (pack)
            {
                case 0:
                    packType = LOLCodeLibrary.GenericEnumsContentPackType.Callout;
                    text = Application.Context.GetString(Resource.String.contentCallout);
                    break;
                case 1:
                    packType = LOLCodeLibrary.GenericEnumsContentPackType.Comicon;
                    text = Application.Context.GetString(Resource.String.contentComicon);
                    break;
                case 2:
                    packType = LOLCodeLibrary.GenericEnumsContentPackType.Comix;
                    text = Application.Context.GetString(Resource.String.contentComix);
                    break;
                case 3:
                    packType = LOLCodeLibrary.GenericEnumsContentPackType.Emoticon;
                    text = Application.Context.GetString(Resource.String.contentEmoticon);
                    break;
                case 4:
                    packType = LOLCodeLibrary.GenericEnumsContentPackType.RubberStamp;
                    text = Application.Context.GetString(Resource.String.contentRubber);
                    break;
                case 5:
                    packType = LOLCodeLibrary.GenericEnumsContentPackType.SoundFX;
                    text = Application.Context.GetString(Resource.String.contentSoundFX
                    );
                    break;
            }
            Header.headertext = text;
            ImageHelper.fontSizeInfo(txtContentPackHeader.Context);
            txtContentPackHeader.SetTextSize(Android.Util.ComplexUnitType.Dip, Header.fontsize);
            txtContentPackHeader.Text = Header.headertext;
            dbm = wowZapp.LaffOutOut.Singleton.dbm;
            cPackIsLoaded = false;
            contentPath = wowZapp.LaffOutOut.Singleton.ContentDirectory;
            packID = -1;
            contentPacks = new Dictionary<string, ContentPack>();
            btnBack.Click += delegate
            {
                Finish();
            };
            size = 100f;
            if (wowZapp.LaffOutOut.Singleton.resizeFonts)
                size *= wowZapp.LaffOutOut.Singleton.bigger;
            getContentPack();
        }