public void CreateMenuList()
        {
            SlideMenuItem menuItem0 = new SlideMenuItem("CLOSE", Resource.Drawable.icn_close);

            listMenuItems.Add(menuItem0);
            SlideMenuItem menuItem = new SlideMenuItem("BUILDING", Resource.Drawable.icn_1);

            listMenuItems.Add(menuItem);
            SlideMenuItem menuItem2 = new SlideMenuItem("BOOK", Resource.Drawable.icn_2);

            listMenuItems.Add(menuItem2);
            SlideMenuItem menuItem3 = new SlideMenuItem("PAINT", Resource.Drawable.icn_3);

            listMenuItems.Add(menuItem3);
            SlideMenuItem menuItem4 = new SlideMenuItem("CASE", Resource.Drawable.icn_4);

            listMenuItems.Add(menuItem4);
            SlideMenuItem menuItem5 = new SlideMenuItem("SHOP", Resource.Drawable.icn_5);

            listMenuItems.Add(menuItem5);
            SlideMenuItem menuItem6 = new SlideMenuItem("PARTY", Resource.Drawable.icn_6);

            listMenuItems.Add(menuItem6);
            SlideMenuItem menuItem7 = new SlideMenuItem("MOVIE", Resource.Drawable.icn_7);

            listMenuItems.Add(menuItem7);
        }
Esempio n. 2
0
        private void CreateMenuList()
        {
            SlideMenuItem menuItem0 = new SlideMenuItem(ContentFragment.CLOSE, Resource.Drawable.icn_close);

            list.Add(menuItem0);
            SlideMenuItem menuItem = new SlideMenuItem(ContentFragment.BUILDING, Resource.Drawable.icn_1);

            list.Add(menuItem);
            SlideMenuItem menuItem2 = new SlideMenuItem(ContentFragment.BOOK, Resource.Drawable.icn_2);

            list.Add(menuItem2);
            SlideMenuItem menuItem3 = new SlideMenuItem(ContentFragment.PAINT, Resource.Drawable.icn_3);

            list.Add(menuItem3);
            SlideMenuItem menuItem4 = new SlideMenuItem(ContentFragment.CASE, Resource.Drawable.icn_4);

            list.Add(menuItem4);
            SlideMenuItem menuItem5 = new SlideMenuItem(ContentFragment.SHOP, Resource.Drawable.icn_5);

            list.Add(menuItem5);
            SlideMenuItem menuItem6 = new SlideMenuItem(ContentFragment.PARTY, Resource.Drawable.icn_6);

            list.Add(menuItem6);
            SlideMenuItem menuItem7 = new SlideMenuItem(ContentFragment.MOVIE, Resource.Drawable.icn_7);

            list.Add(menuItem7);
        }
Esempio n. 3
0
    public void SetFocusedMenuItem(SlideMenuItem item)
    {
        if (m_focusedMenuItem != item)
        {
            PlayButtonClick1();
            if (m_focusedMenuItem != null)
            {
                m_focusedMenuItem.EnableClick(false);
            }

            m_focusedMenuItem = item;
            m_focusedMenuItem.EnableClick(true);
            // 보유한 테마인지 확인
            UpdateFocusedMenuItem();
        }
    }