├── README.md
├── BottomBarDemo
├── BottomBarDemo.UWP
│ ├── Assets
│ │ ├── StoreLogo.png
│ │ ├── SplashScreen.scale-100.png
│ │ ├── SplashScreen.scale-125.png
│ │ ├── SplashScreen.scale-150.png
│ │ ├── SplashScreen.scale-200.png
│ │ ├── SplashScreen.scale-400.png
│ │ ├── LockScreenLogo.scale-100.png
│ │ ├── LockScreenLogo.scale-125.png
│ │ ├── LockScreenLogo.scale-150.png
│ │ ├── LockScreenLogo.scale-200.png
│ │ ├── LockScreenLogo.scale-400.png
│ │ ├── Square150x150Logo.scale-100.png
│ │ ├── Square150x150Logo.scale-125.png
│ │ ├── Square150x150Logo.scale-150.png
│ │ ├── Square150x150Logo.scale-200.png
│ │ ├── Square150x150Logo.scale-400.png
│ │ ├── Square44x44Logo.scale-100.png
│ │ ├── Square44x44Logo.scale-125.png
│ │ ├── Square44x44Logo.scale-150.png
│ │ ├── Square44x44Logo.scale-200.png
│ │ ├── Square44x44Logo.scale-400.png
│ │ ├── Wide310x150Logo.scale-100.png
│ │ ├── Wide310x150Logo.scale-125.png
│ │ ├── Wide310x150Logo.scale-150.png
│ │ ├── Wide310x150Logo.scale-200.png
│ │ ├── Wide310x150Logo.scale-400.png
│ │ ├── Square44x44Logo.targetsize-16_altform-unplated.png
│ │ ├── Square44x44Logo.targetsize-24_altform-unplated.png
│ │ ├── Square44x44Logo.targetsize-256_altform-unplated.png
│ │ ├── Square44x44Logo.targetsize-32_altform-unplated.png
│ │ └── Square44x44Logo.targetsize-48_altform-unplated.png
│ ├── App.xaml
│ ├── MainPage.xaml
│ ├── MainPage.xaml.cs
│ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ └── Default.rd.xml
│ ├── Package.appxmanifest
│ ├── App.xaml.cs
│ └── BottomBarDemo.UWP.csproj
├── BottomBarDemo.iOS
│ ├── Resources
│ │ ├── Default.png
│ │ ├── Icon-76.png
│ │ ├── ic_nearby.png
│ │ ├── Default@2x.png
│ │ ├── Icon-60@2x.png
│ │ ├── Icon-60@3x.png
│ │ ├── Icon-76@2x.png
│ │ ├── Icon-Small.png
│ │ ├── ic_friends.png
│ │ ├── ic_recents.png
│ │ ├── Icon-Small-40.png
│ │ ├── Icon-Small@2x.png
│ │ ├── Icon-Small@3x.png
│ │ ├── ic_favorites.png
│ │ ├── ic_restaurants.png
│ │ ├── Default-568h@2x.png
│ │ ├── Default-Portrait.png
│ │ ├── Icon-Small-40@2x.png
│ │ ├── Icon-Small-40@3x.png
│ │ ├── Default-Portrait@2x.png
│ │ └── LaunchScreen.storyboard
│ ├── packages.config
│ ├── Entitlements.plist
│ ├── Main.cs
│ ├── AppDelegate.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Info.plist
│ └── BottomBarDemo.iOS.csproj
├── BottomBarDemo.Android
│ ├── Resources
│ │ ├── drawable
│ │ │ └── icon.png
│ │ ├── mipmap-hdpi
│ │ │ └── Icon.png
│ │ ├── mipmap-mdpi
│ │ │ └── Icon.png
│ │ ├── mipmap-xhdpi
│ │ │ └── Icon.png
│ │ ├── drawable-hdpi
│ │ │ ├── icon.png
│ │ │ ├── ic_friends.png
│ │ │ ├── ic_nearby.png
│ │ │ ├── ic_recents.png
│ │ │ ├── ic_favorites.png
│ │ │ └── ic_restaurants.png
│ │ ├── drawable-mdpi
│ │ │ ├── Icon.png
│ │ │ ├── ic_friends.png
│ │ │ ├── ic_nearby.png
│ │ │ ├── ic_recents.png
│ │ │ ├── ic_favorites.png
│ │ │ └── ic_restaurants.png
│ │ ├── drawable-xhdpi
│ │ │ ├── icon.png
│ │ │ ├── ic_friends.png
│ │ │ ├── ic_nearby.png
│ │ │ ├── ic_recents.png
│ │ │ ├── ic_favorites.png
│ │ │ └── ic_restaurants.png
│ │ ├── drawable-xxhdpi
│ │ │ ├── icon.png
│ │ │ ├── ic_nearby.png
│ │ │ ├── ic_friends.png
│ │ │ ├── ic_recents.png
│ │ │ ├── ic_favorites.png
│ │ │ └── ic_restaurants.png
│ │ ├── mipmap-xxhdpi
│ │ │ └── Icon.png
│ │ ├── mipmap-xxxhdpi
│ │ │ └── Icon.png
│ │ ├── drawable-xxxhdpi
│ │ │ ├── Icon.png
│ │ │ ├── ic_friends.png
│ │ │ ├── ic_nearby.png
│ │ │ ├── ic_recents.png
│ │ │ ├── ic_favorites.png
│ │ │ └── ic_restaurants.png
│ │ ├── values
│ │ │ ├── Strings.xml
│ │ │ └── styles.xml
│ │ ├── layout
│ │ │ ├── Main.axml
│ │ │ ├── Toolbar.axml
│ │ │ └── Tabbar.axml
│ │ └── AboutResources.txt
│ ├── Properties
│ │ ├── AndroidManifest.xml
│ │ └── AssemblyInfo.cs
│ ├── Assets
│ │ └── AboutAssets.txt
│ ├── MainActivity.cs
│ ├── BottomBar
│ │ ├── Utils
│ │ │ ├── IPageController.cs
│ │ │ ├── MeasureSpecFactory.cs
│ │ │ ├── ResourceManagerEx.cs
│ │ │ ├── PageController.cs
│ │ │ └── ReflectedProxy.cs
│ │ └── Renderers
│ │ │ └── BottomBarPageRenderer.cs
│ └── BottomBarDemo.Android.csproj
└── BottomBarDemo
│ ├── MainPage.xaml.cs
│ ├── App.xaml
│ ├── FriendsPage.xaml.cs
│ ├── FavoritesPage.xaml.cs
│ ├── FriendsPage.xaml
│ ├── FavoritesPage.xaml
│ ├── App.xaml.cs
│ ├── BottomBarDemo.csproj
│ ├── BottomBar
│ ├── BottomBarPage.cs
│ └── BottomBarPageExtensions.cs
│ └── MainPage.xaml
├── .gitattributes
├── .gitignore
└── BottomBarDemo.sln
/README.md:
--------------------------------------------------------------------------------
1 | # BottomBar-Xamarin-Forms
2 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/StoreLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/StoreLogo.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.iOS/Resources/Default.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.iOS/Resources/Default.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.iOS/Resources/Icon-76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.iOS/Resources/Icon-76.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.iOS/Resources/ic_nearby.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.iOS/Resources/ic_nearby.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.iOS/Resources/Default@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.iOS/Resources/Default@2x.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.iOS/Resources/Icon-60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.iOS/Resources/Icon-60@2x.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.iOS/Resources/Icon-60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.iOS/Resources/Icon-60@3x.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.iOS/Resources/Icon-76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.iOS/Resources/Icon-76@2x.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.iOS/Resources/Icon-Small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.iOS/Resources/Icon-Small.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.iOS/Resources/ic_friends.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.iOS/Resources/ic_friends.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.iOS/Resources/ic_recents.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.iOS/Resources/ic_recents.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.iOS/Resources/Icon-Small-40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.iOS/Resources/Icon-Small-40.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.iOS/Resources/Icon-Small@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.iOS/Resources/Icon-Small@2x.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.iOS/Resources/Icon-Small@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.iOS/Resources/Icon-Small@3x.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.iOS/Resources/ic_favorites.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.iOS/Resources/ic_favorites.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.iOS/Resources/ic_restaurants.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.iOS/Resources/ic_restaurants.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.iOS/Resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.iOS/Resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.iOS/Resources/Default-Portrait.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.iOS/Resources/Default-Portrait.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.iOS/Resources/Icon-Small-40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.iOS/Resources/Icon-Small-40@2x.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.iOS/Resources/Icon-Small-40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.iOS/Resources/Icon-Small-40@3x.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable/icon.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/SplashScreen.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/SplashScreen.scale-100.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/SplashScreen.scale-125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/SplashScreen.scale-125.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/SplashScreen.scale-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/SplashScreen.scale-150.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/SplashScreen.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/SplashScreen.scale-200.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/SplashScreen.scale-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/SplashScreen.scale-400.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.iOS/Resources/Default-Portrait@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.iOS/Resources/Default-Portrait@2x.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/mipmap-hdpi/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/mipmap-hdpi/Icon.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/mipmap-mdpi/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/mipmap-mdpi/Icon.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/mipmap-xhdpi/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/mipmap-xhdpi/Icon.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/LockScreenLogo.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/LockScreenLogo.scale-100.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/LockScreenLogo.scale-125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/LockScreenLogo.scale-125.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/LockScreenLogo.scale-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/LockScreenLogo.scale-150.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/LockScreenLogo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/LockScreenLogo.scale-200.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/LockScreenLogo.scale-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/LockScreenLogo.scale-400.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-hdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-hdpi/icon.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-mdpi/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-mdpi/Icon.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xhdpi/icon.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xxhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xxhdpi/icon.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/mipmap-xxhdpi/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/mipmap-xxhdpi/Icon.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/mipmap-xxxhdpi/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/mipmap-xxxhdpi/Icon.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/Square150x150Logo.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/Square150x150Logo.scale-100.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/Square150x150Logo.scale-125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/Square150x150Logo.scale-125.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/Square150x150Logo.scale-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/Square150x150Logo.scale-150.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/Square150x150Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/Square150x150Logo.scale-200.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/Square150x150Logo.scale-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/Square150x150Logo.scale-400.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/Square44x44Logo.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/Square44x44Logo.scale-100.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/Square44x44Logo.scale-125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/Square44x44Logo.scale-125.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/Square44x44Logo.scale-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/Square44x44Logo.scale-150.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/Square44x44Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/Square44x44Logo.scale-200.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/Square44x44Logo.scale-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/Square44x44Logo.scale-400.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/Wide310x150Logo.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/Wide310x150Logo.scale-100.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/Wide310x150Logo.scale-125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/Wide310x150Logo.scale-125.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/Wide310x150Logo.scale-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/Wide310x150Logo.scale-150.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/Wide310x150Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/Wide310x150Logo.scale-200.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/Wide310x150Logo.scale-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/Wide310x150Logo.scale-400.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.iOS/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xxxhdpi/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xxxhdpi/Icon.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-hdpi/ic_friends.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-hdpi/ic_friends.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-hdpi/ic_nearby.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-hdpi/ic_nearby.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-hdpi/ic_recents.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-hdpi/ic_recents.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-mdpi/ic_friends.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-mdpi/ic_friends.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-mdpi/ic_nearby.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-mdpi/ic_nearby.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-mdpi/ic_recents.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-mdpi/ic_recents.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xhdpi/ic_friends.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xhdpi/ic_friends.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xhdpi/ic_nearby.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xhdpi/ic_nearby.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xhdpi/ic_recents.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xhdpi/ic_recents.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xxhdpi/ic_nearby.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xxhdpi/ic_nearby.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-hdpi/ic_favorites.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-hdpi/ic_favorites.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-mdpi/ic_favorites.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-mdpi/ic_favorites.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xhdpi/ic_favorites.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xhdpi/ic_favorites.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xxhdpi/ic_friends.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xxhdpi/ic_friends.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xxhdpi/ic_recents.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xxhdpi/ic_recents.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xxxhdpi/ic_friends.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xxxhdpi/ic_friends.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xxxhdpi/ic_nearby.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xxxhdpi/ic_nearby.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xxxhdpi/ic_recents.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xxxhdpi/ic_recents.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-hdpi/ic_restaurants.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-hdpi/ic_restaurants.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-mdpi/ic_restaurants.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-mdpi/ic_restaurants.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xhdpi/ic_restaurants.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xhdpi/ic_restaurants.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xxhdpi/ic_favorites.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xxhdpi/ic_favorites.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xxhdpi/ic_restaurants.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xxhdpi/ic_restaurants.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xxxhdpi/ic_favorites.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xxxhdpi/ic_favorites.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xxxhdpi/ic_restaurants.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.Android/Resources/drawable-xxxhdpi/ic_restaurants.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/Square44x44Logo.targetsize-16_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/Square44x44Logo.targetsize-16_altform-unplated.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/Square44x44Logo.targetsize-24_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/Square44x44Logo.targetsize-24_altform-unplated.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/Square44x44Logo.targetsize-256_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/Square44x44Logo.targetsize-256_altform-unplated.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/Square44x44Logo.targetsize-32_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/Square44x44Logo.targetsize-32_altform-unplated.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Assets/Square44x44Logo.targetsize-48_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HoussemDellai/BottomBar-Xamarin-Forms/HEAD/BottomBarDemo/BottomBarDemo.UWP/Assets/Square44x44Logo.targetsize-48_altform-unplated.png
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/values/Strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Hello World, Click Me!
4 | BottomBarDemo.Droid
5 |
6 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.iOS/Entitlements.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo/MainPage.xaml.cs:
--------------------------------------------------------------------------------
1 | using BottomBar.XamarinForms;
2 |
3 | namespace BottomBarDemo
4 | {
5 | public partial class MainPage : BottomBarPage
6 | {
7 | public MainPage()
8 | {
9 | InitializeComponent();
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/App.xaml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo/App.xaml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Properties/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/layout/Main.axml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/layout/Toolbar.axml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo/FriendsPage.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | using Xamarin.Forms;
8 | using Xamarin.Forms.Xaml;
9 |
10 | namespace BottomBarDemo
11 | {
12 | [XamlCompilation(XamlCompilationOptions.Compile)]
13 | public partial class FriendsPage : ContentPage
14 | {
15 | public FriendsPage ()
16 | {
17 | InitializeComponent ();
18 | }
19 | }
20 | }
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo/FavoritesPage.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | using Xamarin.Forms;
8 | using Xamarin.Forms.Xaml;
9 |
10 | namespace BottomBarDemo
11 | {
12 | [XamlCompilation(XamlCompilationOptions.Compile)]
13 | public partial class FavoritesPage : ContentPage
14 | {
15 | public FavoritesPage ()
16 | {
17 | InitializeComponent ();
18 | }
19 | }
20 | }
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo/FriendsPage.xaml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo/FavoritesPage.xaml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.iOS/Main.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 |
5 | using Foundation;
6 | using UIKit;
7 |
8 | namespace BottomBarDemo.iOS
9 | {
10 | public class Application
11 | {
12 | // This is the main entry point of the application.
13 | static void Main(string[] args)
14 | {
15 | // if you want to use a different Application Delegate class from "AppDelegate"
16 | // you can specify it here.
17 | UIApplication.Main(args, null, "AppDelegate");
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using Xamarin.Forms;
2 |
3 | namespace BottomBarDemo
4 | {
5 | public partial class App : Application
6 | {
7 | public App ()
8 | {
9 | InitializeComponent();
10 |
11 | MainPage = new NavigationPage(new MainPage());
12 | }
13 |
14 | protected override void OnStart ()
15 | {
16 | // Handle when your app starts
17 | }
18 |
19 | protected override void OnSleep ()
20 | {
21 | // Handle when your app sleeps
22 | }
23 |
24 | protected override void OnResume ()
25 | {
26 | // Handle when your app resumes
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/layout/Tabbar.axml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/MainPage.xaml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Assets/AboutAssets.txt:
--------------------------------------------------------------------------------
1 | Any raw assets you want to be deployed with your application can be placed in
2 | this directory (and child directories) and given a Build Action of "AndroidAsset".
3 |
4 | These files will be deployed with you package and will be accessible using Android's
5 | AssetManager, like this:
6 |
7 | public class ReadAsset : Activity
8 | {
9 | protected override void OnCreate (Bundle bundle)
10 | {
11 | base.OnCreate (bundle);
12 |
13 | InputStream input = Assets.Open ("my_asset.txt");
14 | }
15 | }
16 |
17 | Additionally, some Android functions will automatically load asset files:
18 |
19 | Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
20 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/MainPage.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.IO;
4 | using System.Linq;
5 | using System.Runtime.InteropServices.WindowsRuntime;
6 | using Windows.Foundation;
7 | using Windows.Foundation.Collections;
8 | using Windows.UI.Xaml;
9 | using Windows.UI.Xaml.Controls;
10 | using Windows.UI.Xaml.Controls.Primitives;
11 | using Windows.UI.Xaml.Data;
12 | using Windows.UI.Xaml.Input;
13 | using Windows.UI.Xaml.Media;
14 | using Windows.UI.Xaml.Navigation;
15 |
16 | namespace BottomBarDemo.UWP
17 | {
18 | public sealed partial class MainPage
19 | {
20 | public MainPage()
21 | {
22 | this.InitializeComponent();
23 |
24 | LoadApplication(new BottomBarDemo.App());
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/MainActivity.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | using Android.App;
4 | using Android.Content.PM;
5 | using Android.Runtime;
6 | using Android.Views;
7 | using Android.Widget;
8 | using Android.OS;
9 |
10 | namespace BottomBarDemo.Droid
11 | {
12 | [Activity(Label = "BottomBarDemo", Icon = "@drawable/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
13 | public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
14 | {
15 | protected override void OnCreate(Bundle bundle)
16 | {
17 | TabLayoutResource = Resource.Layout.Tabbar;
18 | ToolbarResource = Resource.Layout.Toolbar;
19 |
20 | base.OnCreate(bundle);
21 |
22 | global::Xamarin.Forms.Forms.Init(this, bundle);
23 | LoadApplication(new App());
24 | }
25 | }
26 | }
27 |
28 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo/BottomBarDemo.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netstandard2.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | *.xaml
14 |
15 |
16 | *.xaml
17 |
18 |
19 |
20 |
21 |
22 | MSBuild:UpdateDesignTimeXaml
23 |
24 |
25 | MSBuild:UpdateDesignTimeXaml
26 |
27 |
28 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("BottomBarDemo.UWP")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("BottomBarDemo.UWP")]
13 | [assembly: AssemblyCopyright("Copyright © 2015")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Version information for an assembly consists of the following four values:
18 | //
19 | // Major Version
20 | // Minor Version
21 | // Build Number
22 | // Revision
23 | //
24 | // You can specify all the values or you can default the Build and Revision Numbers
25 | // by using the '*' as shown below:
26 | // [assembly: AssemblyVersion("1.0.*")]
27 | [assembly: AssemblyVersion("1.0.0.0")]
28 | [assembly: AssemblyFileVersion("1.0.0.0")]
29 | [assembly: ComVisible(false)]
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo/BottomBar/BottomBarPage.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * BottomNavigationBar for Xamarin Forms
3 | * Copyright (c) 2016 Thrive GmbH and others (http://github.com/thrive-now).
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | using System;
18 | using Xamarin.Forms;
19 |
20 | namespace BottomBar.XamarinForms
21 | {
22 | public class BottomBarPage : TabbedPage
23 | {
24 | public enum BarThemeTypes { Light, DarkWithAlpha, DarkWithoutAlpha }
25 |
26 | public bool FixedMode { get; set; }
27 | public BarThemeTypes BarTheme { get; set; }
28 |
29 | public void RaiseCurrentPageChanged()
30 | {
31 | OnCurrentPageChanged();
32 | }
33 | }
34 | }
35 |
36 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/BottomBar/Utils/IPageController.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * BottomNavigationBar for Xamarin Forms
3 | * Copyright (c) 2016 Thrive GmbH and others (http://github.com/thrive-now).
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | using System;
18 | using System.Collections.ObjectModel;
19 | using Xamarin.Forms;
20 |
21 | namespace BottomBar.Droid
22 | {
23 | public interface IPageController
24 | {
25 | Rectangle ContainerArea { get; set; }
26 |
27 | bool IgnoresContainerArea { get; set; }
28 |
29 | ObservableCollection InternalChildren { get; }
30 |
31 | void SendAppearing ();
32 |
33 | void SendDisappearing ();
34 | }
35 | }
36 |
37 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.iOS/AppDelegate.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 |
5 | using Foundation;
6 | using UIKit;
7 |
8 | namespace BottomBarDemo.iOS
9 | {
10 | // The UIApplicationDelegate for the application. This class is responsible for launching the
11 | // User Interface of the application, as well as listening (and optionally responding) to
12 | // application events from iOS.
13 | [Register("AppDelegate")]
14 | public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
15 | {
16 | //
17 | // This method is invoked when the application has loaded and is ready to run. In this
18 | // method you should instantiate the window, load the UI into it and then make the window
19 | // visible.
20 | //
21 | // You have 17 seconds to return from this method, or iOS will terminate your application.
22 | //
23 | public override bool FinishedLaunching(UIApplication app, NSDictionary options)
24 | {
25 | global::Xamarin.Forms.Forms.Init();
26 | LoadApplication(new App());
27 |
28 | return base.FinishedLaunching(app, options);
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Properties/Default.rd.xml:
--------------------------------------------------------------------------------
1 |
17 |
18 |
19 |
20 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/BottomBar/Utils/MeasureSpecFactory.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * BottomNavigationBar for Xamarin Forms
3 | * Copyright (c) 2016 Thrive GmbH and others (http://github.com/thrive-now).
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | using System;
18 | using Android.Views;
19 |
20 | namespace BottomBar.Droid.Utils
21 | {
22 | internal static class MeasureSpecFactory
23 | {
24 | public static int GetSize (int measureSpec)
25 | {
26 | const int modeMask = 0x3 << 30;
27 | return measureSpec & ~modeMask;
28 | }
29 |
30 | // Literally does the same thing as the android code, 1000x faster because no bridge cross
31 | // benchmarked by calling 1,000,000 times in a loop on actual device
32 | public static int MakeMeasureSpec (int size, MeasureSpecMode mode)
33 | {
34 | return size + (int)mode;
35 | }
36 | }
37 | }
38 |
39 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 | using Android.App;
5 |
6 | // General Information about an assembly is controlled through the following
7 | // set of attributes. Change these attribute values to modify the information
8 | // associated with an assembly.
9 | [assembly: AssemblyTitle("BottomBarDemo.Android")]
10 | [assembly: AssemblyDescription("")]
11 | [assembly: AssemblyConfiguration("")]
12 | [assembly: AssemblyCompany("")]
13 | [assembly: AssemblyProduct("BottomBarDemo.Android")]
14 | [assembly: AssemblyCopyright("Copyright © 2014")]
15 | [assembly: AssemblyTrademark("")]
16 | [assembly: AssemblyCulture("")]
17 | [assembly: ComVisible(false)]
18 |
19 | // Version information for an assembly consists of the following four values:
20 | //
21 | // Major Version
22 | // Minor Version
23 | // Build Number
24 | // Revision
25 | //
26 | // You can specify all the values or you can default the Build and Revision Numbers
27 | // by using the '*' as shown below:
28 | // [assembly: AssemblyVersion("1.0.*")]
29 | [assembly: AssemblyVersion("1.0.0.0")]
30 | [assembly: AssemblyFileVersion("1.0.0.0")]
31 |
32 | // Add some common permissions, these can be removed if not needed
33 | [assembly: UsesPermission(Android.Manifest.Permission.Internet)]
34 | [assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)]
35 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo/MainPage.xaml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
10 |
11 |
16 |
17 |
20 |
21 |
26 |
27 |
30 |
31 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
6 |
7 |
26 |
27 |
30 |
31 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/BottomBar/Utils/ResourceManagerEx.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * BottomNavigationBar for Xamarin Forms
3 | * Copyright (c) 2016 Thrive GmbH and others (http://github.com/thrive-now).
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | using System;
18 | using System.IO;
19 | using System.Linq;
20 | using System.Reflection;
21 |
22 | namespace BottomBar.Droid.Utils
23 | {
24 | internal static class ResourceManagerEx
25 | {
26 | internal static int IdFromTitle (string title, Type type)
27 | {
28 | string name = Path.GetFileNameWithoutExtension (title);
29 | int id = GetId (type, name);
30 | return id; // Resources.System.GetDrawable (Resource.Drawable.dashboard);
31 | }
32 |
33 | static int GetId (Type type, string propertyName)
34 | {
35 | FieldInfo [] props = type.GetFields ();
36 | FieldInfo prop = props.Select (p => p).FirstOrDefault (p => p.Name == propertyName);
37 | if (prop != null)
38 | return (int)prop.GetValue (type);
39 | return 0;
40 | }
41 | }
42 | }
43 |
44 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.iOS/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("BottomBarDemo.iOS")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("BottomBarDemo.iOS")]
13 | [assembly: AssemblyCopyright("Copyright © 2014")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("72bdc44f-c588-44f3-b6df-9aace7daafdd")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/Package.appxmanifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
13 |
14 |
15 |
16 |
17 | BottomBarDemo.UWP
18 | Pierce Boggan
19 | Assets\StoreLogo.png
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
34 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.iOS/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | UIDeviceFamily
6 |
7 | 1
8 | 2
9 |
10 | UISupportedInterfaceOrientations
11 |
12 | UIInterfaceOrientationPortrait
13 | UIInterfaceOrientationLandscapeLeft
14 | UIInterfaceOrientationLandscapeRight
15 |
16 | UISupportedInterfaceOrientations~ipad
17 |
18 | UIInterfaceOrientationPortrait
19 | UIInterfaceOrientationPortraitUpsideDown
20 | UIInterfaceOrientationLandscapeLeft
21 | UIInterfaceOrientationLandscapeRight
22 |
23 | MinimumOSVersion
24 | 11.2
25 | CFBundleDisplayName
26 | BottomBarDemo
27 | CFBundleIdentifier
28 | com.yourcompany.BottomBarDemo
29 | CFBundleVersion
30 | 1.0
31 | CFBundleIconFiles
32 |
33 | Icon-60@2x
34 | Icon-60@3x
35 | Icon-76
36 | Icon-76@2x
37 | Default
38 | Default@2x
39 | Default-568h@2x
40 | Default-Portrait
41 | Default-Portrait@2x
42 | Icon-Small-40
43 | Icon-Small-40@2x
44 | Icon-Small-40@3x
45 | Icon-Small
46 | Icon-Small@2x
47 | Icon-Small@3x
48 |
49 | UILaunchStoryboardName
50 | LaunchScreen
51 | CFBundleName
52 | BottomBarDemo
53 |
54 |
55 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/Resources/AboutResources.txt:
--------------------------------------------------------------------------------
1 | Images, layout descriptions, binary blobs and string dictionaries can be included
2 | in your application as resource files. Various Android APIs are designed to
3 | operate on the resource IDs instead of dealing with images, strings or binary blobs
4 | directly.
5 |
6 | For example, a sample Android app that contains a user interface layout (main.xml),
7 | an internationalization string table (strings.xml) and some icons (drawable-XXX/icon.png)
8 | would keep its resources in the "Resources" directory of the application:
9 |
10 | Resources/
11 | drawable-hdpi/
12 | icon.png
13 |
14 | drawable-ldpi/
15 | icon.png
16 |
17 | drawable-mdpi/
18 | icon.png
19 |
20 | layout/
21 | main.xml
22 |
23 | values/
24 | strings.xml
25 |
26 | In order to get the build system to recognize Android resources, set the build action to
27 | "AndroidResource". The native Android APIs do not operate directly with filenames, but
28 | instead operate on resource IDs. When you compile an Android application that uses resources,
29 | the build system will package the resources for distribution and generate a class called
30 | "Resource" that contains the tokens for each one of the resources included. For example,
31 | for the above Resources layout, this is what the Resource class would expose:
32 |
33 | public class Resource {
34 | public class drawable {
35 | public const int icon = 0x123;
36 | }
37 |
38 | public class layout {
39 | public const int main = 0x456;
40 | }
41 |
42 | public class strings {
43 | public const int first_string = 0xabc;
44 | public const int second_string = 0xbcd;
45 | }
46 | }
47 |
48 | You would then use R.drawable.icon to reference the drawable/icon.png file, or Resource.layout.main
49 | to reference the layout/main.xml file, or Resource.strings.first_string to reference the first
50 | string in the dictionary file values/strings.xml.
51 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/BottomBar/Utils/PageController.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * BottomNavigationBar for Xamarin Forms
3 | * Copyright (c) 2016 Thrive GmbH and others (http://github.com/thrive-now).
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | using System;
18 | using System.Collections.ObjectModel;
19 | using Xamarin.Forms;
20 |
21 | namespace BottomBar.Droid
22 | {
23 | public class PageController : IPageController
24 | {
25 | private ReflectedProxy _proxy;
26 |
27 | public static IPageController Create (Page page)
28 | {
29 | return new PageController (page);
30 | }
31 |
32 | PageController (Page page)
33 | {
34 | _proxy = new ReflectedProxy (page);
35 | }
36 |
37 | public Rectangle ContainerArea {
38 | get {
39 | return _proxy.GetPropertyValue ();
40 | }
41 |
42 | set {
43 | _proxy.SetPropertyValue (value);
44 | }
45 | }
46 |
47 | public bool IgnoresContainerArea {
48 | get {
49 | return _proxy.GetPropertyValue ();
50 | }
51 |
52 | set {
53 | _proxy.SetPropertyValue (value);
54 | }
55 | }
56 |
57 | public ObservableCollection InternalChildren {
58 | get {
59 | return _proxy.GetPropertyValue> ();
60 | }
61 |
62 | set {
63 | _proxy.SetPropertyValue (value);
64 | }
65 | }
66 |
67 | public void SendAppearing ()
68 | {
69 | _proxy.Call ();
70 | }
71 |
72 | public void SendDisappearing ()
73 | {
74 | _proxy.Call ();
75 | }
76 | }
77 | }
78 |
79 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Set default behavior to automatically normalize line endings.
3 | ###############################################################################
4 | * text=auto
5 |
6 | ###############################################################################
7 | # Set default behavior for command prompt diff.
8 | #
9 | # This is need for earlier builds of msysgit that does not have it on by
10 | # default for csharp files.
11 | # Note: This is only used by command line
12 | ###############################################################################
13 | #*.cs diff=csharp
14 |
15 | ###############################################################################
16 | # Set the merge driver for project and solution files
17 | #
18 | # Merging from the command prompt will add diff markers to the files if there
19 | # are conflicts (Merging from VS is not affected by the settings below, in VS
20 | # the diff markers are never inserted). Diff markers may cause the following
21 | # file extensions to fail to load in VS. An alternative would be to treat
22 | # these files as binary and thus will always conflict and require user
23 | # intervention with every merge. To do so, just uncomment the entries below
24 | ###############################################################################
25 | #*.sln merge=binary
26 | #*.csproj merge=binary
27 | #*.vbproj merge=binary
28 | #*.vcxproj merge=binary
29 | #*.vcproj merge=binary
30 | #*.dbproj merge=binary
31 | #*.fsproj merge=binary
32 | #*.lsproj merge=binary
33 | #*.wixproj merge=binary
34 | #*.modelproj merge=binary
35 | #*.sqlproj merge=binary
36 | #*.wwaproj merge=binary
37 |
38 | ###############################################################################
39 | # behavior for image files
40 | #
41 | # image files are treated as binary by default.
42 | ###############################################################################
43 | #*.jpg binary
44 | #*.png binary
45 | #*.gif binary
46 |
47 | ###############################################################################
48 | # diff behavior for common document formats
49 | #
50 | # Convert binary document formats to text before diffing them. This feature
51 | # is only available from the command line. Turn it on by uncommenting the
52 | # entries below.
53 | ###############################################################################
54 | #*.doc diff=astextplain
55 | #*.DOC diff=astextplain
56 | #*.docx diff=astextplain
57 | #*.DOCX diff=astextplain
58 | #*.dot diff=astextplain
59 | #*.DOT diff=astextplain
60 | #*.pdf diff=astextplain
61 | #*.PDF diff=astextplain
62 | #*.rtf diff=astextplain
63 | #*.RTF diff=astextplain
64 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.iOS/Resources/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo/BottomBar/BottomBarPageExtensions.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * BottomNavigationBar for Xamarin Forms
3 | * Copyright (c) 2016 Thrive GmbH and others (http://github.com/thrive-now).
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | using Xamarin.Forms;
18 |
19 | namespace BottomBar.XamarinForms
20 | {
21 | public static class BottomBarPageExtensions
22 | {
23 | #region TabColorProperty
24 |
25 | public static readonly BindableProperty TabColorProperty = BindableProperty.CreateAttached(
26 | "TabColor",
27 | typeof(Color),
28 | typeof(BottomBarPageExtensions),
29 | Color.Transparent);
30 |
31 | public static readonly BindableProperty BadgeCountProperty = BindableProperty.CreateAttached(
32 | "BadgeCount",
33 | typeof(int),
34 | typeof(BottomBarPageExtensions),
35 | 0);
36 |
37 | public static readonly BindableProperty BadgeColorProperty = BindableProperty.CreateAttached(
38 | "BadgeColor",
39 | typeof(Color),
40 | typeof(BottomBarPageExtensions),
41 | Color.Red);
42 |
43 | public static void SetTabColor(BindableObject bindable, Color color)
44 | {
45 | bindable.SetValue(TabColorProperty, color);
46 | }
47 |
48 | public static Color GetTabColor(BindableObject bindable)
49 | {
50 | return (Color)bindable.GetValue(TabColorProperty);
51 | }
52 |
53 | public static void SetBadgeCount(BindableObject bindable, int badgeCount)
54 | {
55 | bindable.SetValue(BadgeCountProperty, badgeCount);
56 | }
57 |
58 | public static int GetBadgeCount(BindableObject bindable)
59 | {
60 | return (int)bindable.GetValue(BadgeCountProperty);
61 | }
62 |
63 | public static void SetBadgeColor(BindableObject bindable, Color color)
64 | {
65 | bindable.SetValue(BadgeColorProperty, color);
66 | }
67 |
68 | public static Color GetBadgeColor(BindableObject bindable)
69 | {
70 | return (Color)bindable.GetValue(BadgeColorProperty);
71 | }
72 |
73 | #endregion
74 | }
75 | }
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/BottomBar/Utils/ReflectedProxy.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * BottomNavigationBar for Xamarin Forms
3 | * Copyright (c) 2016 Thrive GmbH and others (http://github.com/thrive-now).
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | using System;
18 | using System.Collections.Generic;
19 | using System.Linq;
20 | using System.Reflection;
21 | using System.Runtime.CompilerServices;
22 |
23 | namespace BottomBar.Droid
24 | {
25 | public class ReflectedProxy where T : class
26 | {
27 | private object _target;
28 |
29 | private readonly Dictionary _cachedPropertyInfo;
30 | private readonly Dictionary _cachedMethodInfo;
31 |
32 | private readonly IEnumerable _targetPropertyInfoList;
33 | private readonly IEnumerable _targetMethodInfoList;
34 |
35 | public ReflectedProxy(T target)
36 | {
37 | _target = target;
38 |
39 | _cachedPropertyInfo = new Dictionary();
40 | _cachedMethodInfo = new Dictionary();
41 |
42 | TypeInfo typeInfo = typeof(T).GetTypeInfo();
43 | _targetPropertyInfoList = typeInfo.GetRuntimeProperties();
44 | _targetMethodInfoList = typeInfo.GetRuntimeMethods();
45 | }
46 |
47 | public void SetPropertyValue(object value, [CallerMemberName] string propertyName = "")
48 | {
49 | GetPropertyInfo(propertyName).SetValue(_target, value);
50 | }
51 |
52 | public TPropertyValue GetPropertyValue([CallerMemberName] string propertyName = "")
53 | {
54 | return (TPropertyValue)GetPropertyInfo(propertyName).GetValue(_target);
55 | }
56 |
57 | public object Call([CallerMemberName] string methodName = "", object[] parameters = null)
58 | {
59 |
60 | if (!_cachedMethodInfo.ContainsKey(methodName))
61 | {
62 | _cachedMethodInfo[methodName] = _targetMethodInfoList.Single(mi => mi.Name == methodName || mi.Name.Contains("." + methodName));
63 | }
64 |
65 | return _cachedMethodInfo[methodName].Invoke(_target, parameters);
66 | }
67 |
68 | PropertyInfo GetPropertyInfo(string propertyName)
69 | {
70 | if (!_cachedPropertyInfo.ContainsKey(propertyName))
71 | {
72 | _cachedPropertyInfo[propertyName] = _targetPropertyInfoList.Single(pi => pi.Name == propertyName || pi.Name.Contains("." + propertyName));
73 | }
74 |
75 | return _cachedPropertyInfo[propertyName];
76 | }
77 | }
78 | }
79 |
80 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.IO;
4 | using System.Linq;
5 | using System.Runtime.InteropServices.WindowsRuntime;
6 | using Windows.ApplicationModel;
7 | using Windows.ApplicationModel.Activation;
8 | using Windows.Foundation;
9 | using Windows.Foundation.Collections;
10 | using Windows.UI.Xaml;
11 | using Windows.UI.Xaml.Controls;
12 | using Windows.UI.Xaml.Controls.Primitives;
13 | using Windows.UI.Xaml.Data;
14 | using Windows.UI.Xaml.Input;
15 | using Windows.UI.Xaml.Media;
16 | using Windows.UI.Xaml.Navigation;
17 |
18 | namespace BottomBarDemo.UWP
19 | {
20 | ///
21 | /// Provides application-specific behavior to supplement the default Application class.
22 | ///
23 | sealed partial class App : Application
24 | {
25 | ///
26 | /// Initializes the singleton application object. This is the first line of authored code
27 | /// executed, and as such is the logical equivalent of main() or WinMain().
28 | ///
29 | public App()
30 | {
31 | this.InitializeComponent();
32 | this.Suspending += OnSuspending;
33 | }
34 |
35 | ///
36 | /// Invoked when the application is launched normally by the end user. Other entry points
37 | /// will be used such as when the application is launched to open a specific file.
38 | ///
39 | /// Details about the launch request and process.
40 | protected override void OnLaunched(LaunchActivatedEventArgs e)
41 | {
42 |
43 |
44 | Frame rootFrame = Window.Current.Content as Frame;
45 |
46 | // Do not repeat app initialization when the Window already has content,
47 | // just ensure that the window is active
48 | if (rootFrame == null)
49 | {
50 | // Create a Frame to act as the navigation context and navigate to the first page
51 | rootFrame = new Frame();
52 |
53 | rootFrame.NavigationFailed += OnNavigationFailed;
54 |
55 | Xamarin.Forms.Forms.Init(e);
56 |
57 | if (e.PreviousExecutionState == ApplicationExecutionState.Terminated)
58 | {
59 | //TODO: Load state from previously suspended application
60 | }
61 |
62 | // Place the frame in the current Window
63 | Window.Current.Content = rootFrame;
64 | }
65 |
66 | if (rootFrame.Content == null)
67 | {
68 | // When the navigation stack isn't restored navigate to the first page,
69 | // configuring the new page by passing required information as a navigation
70 | // parameter
71 | rootFrame.Navigate(typeof(MainPage), e.Arguments);
72 | }
73 | // Ensure the current window is active
74 | Window.Current.Activate();
75 | }
76 |
77 | ///
78 | /// Invoked when Navigation to a certain page fails
79 | ///
80 | /// The Frame which failed navigation
81 | /// Details about the navigation failure
82 | void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
83 | {
84 | throw new Exception("Failed to load Page " + e.SourcePageType.FullName);
85 | }
86 |
87 | ///
88 | /// Invoked when application execution is being suspended. Application state is saved
89 | /// without knowing whether the application will be terminated or resumed with the contents
90 | /// of memory still intact.
91 | ///
92 | /// The source of the suspend request.
93 | /// Details about the suspend request.
94 | private void OnSuspending(object sender, SuspendingEventArgs e)
95 | {
96 | var deferral = e.SuspendingOperation.GetDeferral();
97 | //TODO: Save application state and stop any background activity
98 | deferral.Complete();
99 | }
100 | }
101 | }
102 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 |
4 | # User-specific files
5 | *.suo
6 | *.user
7 | *.userosscache
8 | *.sln.docstates
9 |
10 | # User-specific files (MonoDevelop/Xamarin Studio)
11 | *.userprefs
12 |
13 | # Build results
14 | [Dd]ebug/
15 | [Dd]ebugPublic/
16 | [Rr]elease/
17 | [Rr]eleases/
18 | x64/
19 | x86/
20 | bld/
21 | [Bb]in/
22 | [Oo]bj/
23 | [Ll]og/
24 |
25 | # Visual Studio 2015 cache/options directory
26 | .vs/
27 | # Uncomment if you have tasks that create the project's static files in wwwroot
28 | #wwwroot/
29 |
30 | # MSTest test Results
31 | [Tt]est[Rr]esult*/
32 | [Bb]uild[Ll]og.*
33 |
34 | # NUNIT
35 | *.VisualState.xml
36 | TestResult.xml
37 |
38 | # Build Results of an ATL Project
39 | [Dd]ebugPS/
40 | [Rr]eleasePS/
41 | dlldata.c
42 |
43 | # DNX
44 | project.lock.json
45 | project.fragment.lock.json
46 | artifacts/
47 |
48 | *_i.c
49 | *_p.c
50 | *_i.h
51 | *.ilk
52 | *.meta
53 | *.obj
54 | *.pch
55 | *.pdb
56 | *.pgc
57 | *.pgd
58 | *.rsp
59 | *.sbr
60 | *.tlb
61 | *.tli
62 | *.tlh
63 | *.tmp
64 | *.tmp_proj
65 | *.log
66 | *.vspscc
67 | *.vssscc
68 | .builds
69 | *.pidb
70 | *.svclog
71 | *.scc
72 |
73 | # Chutzpah Test files
74 | _Chutzpah*
75 |
76 | # Visual C++ cache files
77 | ipch/
78 | *.aps
79 | *.ncb
80 | *.opendb
81 | *.opensdf
82 | *.sdf
83 | *.cachefile
84 | *.VC.db
85 | *.VC.VC.opendb
86 |
87 | # Visual Studio profiler
88 | *.psess
89 | *.vsp
90 | *.vspx
91 | *.sap
92 |
93 | # TFS 2012 Local Workspace
94 | $tf/
95 |
96 | # Guidance Automation Toolkit
97 | *.gpState
98 |
99 | # ReSharper is a .NET coding add-in
100 | _ReSharper*/
101 | *.[Rr]e[Ss]harper
102 | *.DotSettings.user
103 |
104 | # JustCode is a .NET coding add-in
105 | .JustCode
106 |
107 | # TeamCity is a build add-in
108 | _TeamCity*
109 |
110 | # DotCover is a Code Coverage Tool
111 | *.dotCover
112 |
113 | # NCrunch
114 | _NCrunch_*
115 | .*crunch*.local.xml
116 | nCrunchTemp_*
117 |
118 | # MightyMoose
119 | *.mm.*
120 | AutoTest.Net/
121 |
122 | # Web workbench (sass)
123 | .sass-cache/
124 |
125 | # Installshield output folder
126 | [Ee]xpress/
127 |
128 | # DocProject is a documentation generator add-in
129 | DocProject/buildhelp/
130 | DocProject/Help/*.HxT
131 | DocProject/Help/*.HxC
132 | DocProject/Help/*.hhc
133 | DocProject/Help/*.hhk
134 | DocProject/Help/*.hhp
135 | DocProject/Help/Html2
136 | DocProject/Help/html
137 |
138 | # Click-Once directory
139 | publish/
140 |
141 | # Publish Web Output
142 | *.[Pp]ublish.xml
143 | *.azurePubxml
144 | # TODO: Comment the next line if you want to checkin your web deploy settings
145 | # but database connection strings (with potential passwords) will be unencrypted
146 | #*.pubxml
147 | *.publishproj
148 |
149 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
150 | # checkin your Azure Web App publish settings, but sensitive information contained
151 | # in these scripts will be unencrypted
152 | PublishScripts/
153 |
154 | # NuGet Packages
155 | *.nupkg
156 | # The packages folder can be ignored because of Package Restore
157 | **/packages/*
158 | # except build/, which is used as an MSBuild target.
159 | !**/packages/build/
160 | # Uncomment if necessary however generally it will be regenerated when needed
161 | #!**/packages/repositories.config
162 | # NuGet v3's project.json files produces more ignoreable files
163 | *.nuget.props
164 | *.nuget.targets
165 |
166 | # Microsoft Azure Build Output
167 | csx/
168 | *.build.csdef
169 |
170 | # Microsoft Azure Emulator
171 | ecf/
172 | rcf/
173 |
174 | # Windows Store app package directories and files
175 | AppPackages/
176 | BundleArtifacts/
177 | Package.StoreAssociation.xml
178 | _pkginfo.txt
179 |
180 | # Visual Studio cache files
181 | # files ending in .cache can be ignored
182 | *.[Cc]ache
183 | # but keep track of directories ending in .cache
184 | !*.[Cc]ache/
185 |
186 | # Others
187 | ClientBin/
188 | ~$*
189 | *~
190 | *.dbmdl
191 | *.dbproj.schemaview
192 | *.jfm
193 | *.pfx
194 | *.publishsettings
195 | node_modules/
196 | orleans.codegen.cs
197 |
198 | # Since there are multiple workflows, uncomment next line to ignore bower_components
199 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
200 | #bower_components/
201 |
202 | # RIA/Silverlight projects
203 | Generated_Code/
204 |
205 | # Backup & report files from converting an old project file
206 | # to a newer Visual Studio version. Backup files are not needed,
207 | # because we have git ;-)
208 | _UpgradeReport_Files/
209 | Backup*/
210 | UpgradeLog*.XML
211 | UpgradeLog*.htm
212 |
213 | # SQL Server files
214 | *.mdf
215 | *.ldf
216 |
217 | # Business Intelligence projects
218 | *.rdl.data
219 | *.bim.layout
220 | *.bim_*.settings
221 |
222 | # Microsoft Fakes
223 | FakesAssemblies/
224 |
225 | # GhostDoc plugin setting file
226 | *.GhostDoc.xml
227 |
228 | # Node.js Tools for Visual Studio
229 | .ntvs_analysis.dat
230 |
231 | # Visual Studio 6 build log
232 | *.plg
233 |
234 | # Visual Studio 6 workspace options file
235 | *.opt
236 |
237 | # Visual Studio LightSwitch build output
238 | **/*.HTMLClient/GeneratedArtifacts
239 | **/*.DesktopClient/GeneratedArtifacts
240 | **/*.DesktopClient/ModelManifest.xml
241 | **/*.Server/GeneratedArtifacts
242 | **/*.Server/ModelManifest.xml
243 | _Pvt_Extensions
244 |
245 | # Paket dependency manager
246 | .paket/paket.exe
247 | paket-files/
248 |
249 | # FAKE - F# Make
250 | .fake/
251 |
252 | # JetBrains Rider
253 | .idea/
254 | *.sln.iml
255 |
256 | # CodeRush
257 | .cr/
258 |
259 | # Python Tools for Visual Studio (PTVS)
260 | __pycache__/
261 | *.pyc
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.iOS/BottomBarDemo.iOS.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | iPhoneSimulator
6 | 8.0.30703
7 | 2.0
8 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}
9 | {FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
10 | Exe
11 | BottomBarDemo.iOS
12 | Resources
13 | BottomBarDemo.iOS
14 |
15 |
16 |
17 |
18 | true
19 | full
20 | false
21 | bin\iPhoneSimulator\Debug
22 | DEBUG
23 | prompt
24 | 4
25 | false
26 | x86_64
27 | None
28 | true
29 |
30 |
31 | none
32 | true
33 | bin\iPhoneSimulator\Release
34 | prompt
35 | 4
36 | None
37 | x86_64
38 | false
39 |
40 |
41 | true
42 | full
43 | false
44 | bin\iPhone\Debug
45 | DEBUG
46 | prompt
47 | 4
48 | false
49 | ARM64
50 | iPhone Developer
51 | true
52 | Entitlements.plist
53 |
54 |
55 | none
56 | true
57 | bin\iPhone\Release
58 | prompt
59 | 4
60 | ARM64
61 | false
62 | iPhone Developer
63 | Entitlements.plist
64 |
65 |
66 | none
67 | True
68 | bin\iPhone\Ad-Hoc
69 | prompt
70 | 4
71 | False
72 | ARM64
73 | True
74 | Automatic:AdHoc
75 | iPhone Distribution
76 | Entitlements.plist
77 |
78 |
79 | none
80 | True
81 | bin\iPhone\AppStore
82 | prompt
83 | 4
84 | False
85 | ARM64
86 | Automatic:AppStore
87 | iPhone Distribution
88 | Entitlements.plist
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 | {54BF2922-4A7D-448A-8212-A67099EAC101}
128 | BottomBarDemo
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/BottomBarDemo.Android.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | AnyCPU
6 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}
7 | {EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
8 | Library
9 | BottomBarDemo.Droid
10 | BottomBarDemo.Android
11 | v7.1
12 | True
13 | Resources\Resource.designer.cs
14 | Resource
15 | Properties\AndroidManifest.xml
16 | Resources
17 | Assets
18 | true
19 |
20 |
21 |
22 |
23 | true
24 | full
25 | false
26 | bin\Debug
27 | DEBUG;
28 | prompt
29 | 4
30 | None
31 |
32 |
33 | true
34 | pdbonly
35 | true
36 | bin\Release
37 | prompt
38 | 4
39 | true
40 | false
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 | 1.4.0.3
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 | Designer
89 |
90 |
91 |
92 |
93 | {54BF2922-4A7D-448A-8212-A67099EAC101}
94 | BottomBarDemo
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.UWP/BottomBarDemo.UWP.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | x86
7 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}
8 | AppContainerExe
9 | Properties
10 | BottomBarDemo.UWP
11 | BottomBarDemo.UWP
12 | en-US
13 | UAP
14 | 10.0.16299.0
15 | 10.0.16299.0
16 | 14
17 | true
18 | 512
19 | {A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
20 | BottomBarDemo.UWP_TemporaryKey.pfx
21 |
22 |
23 | true
24 | bin\ARM\Debug\
25 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP
26 | ;2008
27 | full
28 | ARM
29 | false
30 | prompt
31 | true
32 |
33 |
34 | bin\ARM\Release\
35 | TRACE;NETFX_CORE;WINDOWS_UWP
36 | true
37 | ;2008
38 | pdbonly
39 | ARM
40 | false
41 | prompt
42 | true
43 | true
44 |
45 |
46 | true
47 | bin\x64\Debug\
48 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP
49 | ;2008
50 | full
51 | x64
52 | false
53 | prompt
54 | true
55 |
56 |
57 | bin\x64\Release\
58 | TRACE;NETFX_CORE;WINDOWS_UWP
59 | true
60 | ;2008
61 | pdbonly
62 | x64
63 | false
64 | prompt
65 | true
66 | true
67 |
68 |
69 | true
70 | bin\x86\Debug\
71 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP
72 | ;2008
73 | full
74 | x86
75 | false
76 | prompt
77 | true
78 |
79 |
80 | bin\x86\Release\
81 | TRACE;NETFX_CORE;WINDOWS_UWP
82 | true
83 | ;2008
84 | pdbonly
85 | x86
86 | false
87 | prompt
88 | true
89 | true
90 |
91 |
92 |
93 | App.xaml
94 |
95 |
96 | MainPage.xaml
97 |
98 |
99 |
100 |
101 |
102 | Designer
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 | MSBuild:Compile
143 | Designer
144 |
145 |
146 | MSBuild:Compile
147 | Designer
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 | {54BF2922-4A7D-448A-8212-A67099EAC101}
157 | BottomBarDemo
158 |
159 |
160 |
161 | 14.0
162 |
163 |
164 |
--------------------------------------------------------------------------------
/BottomBarDemo/BottomBarDemo.Android/BottomBar/Renderers/BottomBarPageRenderer.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * BottomNavigationBar for Xamarin Forms
3 | * Copyright (c) 2016 Thrive GmbH and others (http://github.com/thrive-now).
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | using System;
18 | using System.Collections.Generic;
19 | using System.Collections.ObjectModel;
20 | using System.ComponentModel;
21 | using System.Linq;
22 |
23 | using BottomBar.XamarinForms;
24 | using BottomNavigationBar;
25 | using BottomNavigationBar.Listeners;
26 |
27 | using Android.Views;
28 | using Android.Widget;
29 | using Xamarin.Forms;
30 | using Xamarin.Forms.Platform.Android;
31 | using Xamarin.Forms.Platform.Android.AppCompat;
32 | using BottomBar.Droid.Renderers;
33 | using BottomBar.Droid.Utils;
34 |
35 | [assembly: ExportRenderer (typeof (BottomBarPage), typeof (BottomBarPageRenderer))]
36 |
37 | namespace BottomBar.Droid.Renderers
38 | {
39 | public class BottomBarPageRenderer : VisualElementRenderer, IOnTabClickListener
40 | {
41 | bool _disposed;
42 | BottomNavigationBar.BottomBar _bottomBar;
43 | FrameLayout _frameLayout;
44 | IPageController _pageController;
45 | IDictionary _badges;
46 |
47 | public BottomBarPageRenderer ()
48 | {
49 | AutoPackage = false;
50 | }
51 |
52 | #region IOnTabClickListener
53 | public virtual void OnTabSelected (int position)
54 | {
55 | //Do we need this call? It's also done in OnElementPropertyChanged
56 | SwitchContent(Element.Children [position]);
57 | var bottomBarPage = Element as BottomBarPage;
58 | bottomBarPage.CurrentPage = Element.Children[position];
59 | //bottomBarPage.RaiseCurrentPageChanged();
60 | }
61 |
62 | public virtual void OnTabReSelected (int position)
63 | {
64 | }
65 | #endregion
66 |
67 | protected override void Dispose (bool disposing)
68 | {
69 | if (disposing && !_disposed) {
70 | _disposed = true;
71 |
72 | RemoveAllViews ();
73 |
74 | foreach (Page pageToRemove in Element.Children) {
75 | IVisualElementRenderer pageRenderer = Platform.GetRenderer (pageToRemove);
76 |
77 | if (pageRenderer != null) {
78 | pageRenderer.ViewGroup.RemoveFromParent ();
79 | pageRenderer.Dispose ();
80 | }
81 |
82 | pageToRemove.PropertyChanged -= OnPagePropertyChanged;
83 | // pageToRemove.ClearValue (Platform.RendererProperty);
84 | }
85 |
86 | if (_badges != null)
87 | {
88 | _badges.Clear();
89 | _badges = null;
90 | }
91 |
92 | if (_bottomBar != null) {
93 | _bottomBar.SetOnTabClickListener (null);
94 | _bottomBar.Dispose ();
95 | _bottomBar = null;
96 | }
97 |
98 | if (_frameLayout != null) {
99 | _frameLayout.Dispose ();
100 | _frameLayout = null;
101 | }
102 |
103 | /*if (Element != null) {
104 | PageController.InternalChildren.CollectionChanged -= OnChildrenCollectionChanged;
105 | }*/
106 | }
107 |
108 | base.Dispose (disposing);
109 | }
110 |
111 | protected override void OnAttachedToWindow ()
112 | {
113 | base.OnAttachedToWindow ();
114 | _pageController.SendAppearing ();
115 | }
116 |
117 | protected override void OnDetachedFromWindow ()
118 | {
119 | base.OnDetachedFromWindow ();
120 | _pageController.SendDisappearing ();
121 | }
122 |
123 |
124 | protected override void OnElementChanged (ElementChangedEventArgs e)
125 | {
126 | base.OnElementChanged (e);
127 |
128 | if (e.NewElement != null) {
129 |
130 | BottomBarPage bottomBarPage = e.NewElement;
131 |
132 | if (_bottomBar == null) {
133 | _pageController = PageController.Create (bottomBarPage);
134 |
135 | // create a view which will act as container for Page's
136 | _frameLayout = new FrameLayout (Forms.Context);
137 | _frameLayout.LayoutParameters = new FrameLayout.LayoutParams (LayoutParams.MatchParent, LayoutParams.MatchParent, GravityFlags.Fill);
138 | AddView (_frameLayout, 0);
139 |
140 | // create bottomBar control
141 | _bottomBar = BottomNavigationBar.BottomBar.Attach (_frameLayout, null);
142 | _bottomBar.NoTabletGoodness ();
143 | if (bottomBarPage.FixedMode)
144 | {
145 | _bottomBar.UseFixedMode();
146 | }
147 |
148 | switch (bottomBarPage.BarTheme)
149 | {
150 | case BottomBarPage.BarThemeTypes.Light:
151 | break;
152 | case BottomBarPage.BarThemeTypes.DarkWithAlpha:
153 | _bottomBar.UseDarkThemeWithAlpha(true);
154 | break;
155 | case BottomBarPage.BarThemeTypes.DarkWithoutAlpha:
156 | _bottomBar.UseDarkThemeWithAlpha(false);
157 | break;
158 | default:
159 | throw new ArgumentOutOfRangeException();
160 | }
161 | _bottomBar.LayoutParameters = new LayoutParams (LayoutParams.MatchParent, LayoutParams.MatchParent);
162 | _bottomBar.SetOnTabClickListener (this);
163 |
164 | UpdateTabs ();
165 | UpdateBarBackgroundColor ();
166 | UpdateBarTextColor ();
167 | }
168 |
169 | if (bottomBarPage.CurrentPage != null) {
170 | SwitchContent (bottomBarPage.CurrentPage);
171 | }
172 | }
173 | }
174 |
175 | protected override void OnElementPropertyChanged (object sender, PropertyChangedEventArgs e)
176 | {
177 | base.OnElementPropertyChanged(sender, e);
178 |
179 | if (e.PropertyName == nameof (TabbedPage.CurrentPage)) {
180 | SwitchContent (Element.CurrentPage);
181 | UpdateSelectedTabIndex(Element.CurrentPage);
182 | } else if (e.PropertyName == NavigationPage.BarBackgroundColorProperty.PropertyName) {
183 | UpdateBarBackgroundColor ();
184 | } else if (e.PropertyName == NavigationPage.BarTextColorProperty.PropertyName) {
185 | UpdateBarTextColor ();
186 | }
187 | }
188 |
189 | protected virtual void SwitchContent (Page view)
190 | {
191 | Context.HideKeyboard (this);
192 |
193 | _frameLayout.RemoveAllViews ();
194 |
195 | if (view == null) {
196 | return;
197 | }
198 |
199 | if (Platform.GetRenderer (view) == null) {
200 | Platform.SetRenderer (view, Platform.CreateRenderer (view));
201 | }
202 |
203 | _frameLayout.AddView (Platform.GetRenderer (view).ViewGroup);
204 | }
205 |
206 | protected override void OnLayout (bool changed, int l, int t, int r, int b)
207 | {
208 | int width = r - l;
209 | int height = b - t;
210 |
211 | var context = Context;
212 |
213 | _bottomBar.Measure (MeasureSpecFactory.MakeMeasureSpec (width, MeasureSpecMode.Exactly), MeasureSpecFactory.MakeMeasureSpec (height, MeasureSpecMode.AtMost));
214 | int tabsHeight = Math.Min (height, Math.Max (_bottomBar.MeasuredHeight, _bottomBar.MinimumHeight));
215 |
216 | if (width > 0 && height > 0) {
217 | _pageController.ContainerArea = new Rectangle(0, 0, context.FromPixels(width), context.FromPixels(_frameLayout.MeasuredHeight));
218 | ObservableCollection internalChildren = _pageController.InternalChildren;
219 |
220 | for (var i = 0; i < internalChildren.Count; i++) {
221 | var child = internalChildren [i] as VisualElement;
222 |
223 | if (child == null) {
224 | continue;
225 | }
226 |
227 | IVisualElementRenderer renderer = Platform.GetRenderer (child);
228 | var navigationRenderer = renderer as NavigationPageRenderer;
229 | if (navigationRenderer != null) {
230 | // navigationRenderer.ContainerPadding = tabsHeight;
231 | }
232 | }
233 |
234 | _bottomBar.Measure (MeasureSpecFactory.MakeMeasureSpec (width, MeasureSpecMode.Exactly), MeasureSpecFactory.MakeMeasureSpec (tabsHeight, MeasureSpecMode.Exactly));
235 | _bottomBar.Layout (0, 0, width, tabsHeight);
236 | }
237 |
238 | base.OnLayout (changed, l, t, r, b);
239 | }
240 |
241 | void UpdateSelectedTabIndex(Page page)
242 | {
243 | var index = Element.Children.IndexOf(page);
244 | _bottomBar.SelectTabAtPosition(index, true);
245 | }
246 |
247 | void UpdateBarBackgroundColor ()
248 | {
249 | if (_disposed || _bottomBar == null) {
250 | return;
251 | }
252 |
253 | _bottomBar.SetBackgroundColor (Element.BarBackgroundColor.ToAndroid ());
254 | }
255 |
256 | void UpdateBarTextColor ()
257 | {
258 | if (_disposed || _bottomBar == null) {
259 | return;
260 | }
261 |
262 | _bottomBar.SetActiveTabColor(Element.BarTextColor.ToAndroid());
263 | // The problem SetActiveTabColor does only work in fiexed mode // haven't found yet how to set text color for tab items on_bottomBar, doesn't seem to have a direct way
264 | }
265 |
266 | void UpdateTabs ()
267 | {
268 | // create tab items
269 | SetTabItems ();
270 |
271 | // set tab colors
272 | SetTabColors ();
273 |
274 | SetTabBadges();
275 |
276 | AddPropertyChangedHandlersForPages();
277 | }
278 |
279 | void SetTabItems ()
280 | {
281 | BottomBarTab [] tabs = Element.Children.Select (page => {
282 | var tabIconId = ResourceManagerEx.IdFromTitle (page.Icon, ResourceManager.DrawableClass);
283 | return new BottomBarTab (tabIconId, page.Title);
284 | }).ToArray ();
285 |
286 | if (tabs.Length > 0)
287 | {
288 | _bottomBar.SetItems(tabs);
289 | }
290 | }
291 |
292 | void SetTabColors ()
293 | {
294 | for (int i = 0; i < Element.Children.Count; ++i) {
295 | Page page = Element.Children [i];
296 |
297 | Color tabColor = BottomBarPageExtensions.GetTabColor(page);
298 |
299 | if (tabColor != Color.Transparent)
300 | {
301 | _bottomBar.MapColorForTab (i, tabColor.ToAndroid ());
302 | }
303 | }
304 | }
305 |
306 | void SetTabBadges()
307 | {
308 | _badges = new Dictionary(Element.Children.Count);
309 |
310 | for(var i = 0; i < Element.Children.Count; i++)
311 | {
312 | var page = Element.Children[i];
313 |
314 | CreateOrUpdateBadgeForPage(page);
315 | }
316 | }
317 |
318 | void AddPropertyChangedHandlersForPages()
319 | {
320 | foreach (var page in Element.Children)
321 | {
322 | page.PropertyChanged += OnPagePropertyChanged;
323 | }
324 | }
325 |
326 | void OnPagePropertyChanged(object sender, PropertyChangedEventArgs e)
327 | {
328 | if (e.PropertyName == BottomBarPageExtensions.BadgeCountProperty.PropertyName)
329 | {
330 | var page = (Page)sender;
331 |
332 | CreateOrUpdateBadgeForPage(page);
333 | }
334 | }
335 |
336 | ///
337 | /// Creates or updates a badge for a page
338 | ///
339 | ///
340 | void CreateOrUpdateBadgeForPage(Page page)
341 | {
342 | var pageIndex = Element.Children.IndexOf(page);
343 | var badgeCount = BottomBarPageExtensions.GetBadgeCount(page);
344 |
345 | BottomBarBadge badge;
346 |
347 | // We'll have to keep track of our badges, otherwise we can't update
348 | // and removing + inserting again gives a crappy user experience
349 | if (_badges.ContainsKey(page))
350 | {
351 | badge = _badges[page];
352 | }
353 | else
354 | {
355 | // Don't need to create a badge when there's no badge to show
356 | if (badgeCount == 0) return;
357 |
358 | // BottomBarBadge does not allow us to set color after init. You could, but you'd have to
359 | // do it manually because the circle background logic is hidden from us
360 | var badgeColor = BottomBarPageExtensions.GetBadgeColor(page);
361 | badge = _bottomBar.MakeBadgeForTabAt(pageIndex, badgeColor.ToAndroid(), badgeCount);
362 | _badges.Add(page, badge);
363 | }
364 |
365 | // Let's assume that if the new badge count is zero the
366 | // default behavior will be to hide the badge
367 | if (badgeCount == 0)
368 | {
369 | badge.Hide();
370 | }
371 | else
372 | {
373 | badge.Count = badgeCount;
374 | badge.Show();
375 | }
376 | }
377 | }
378 | }
379 |
380 |
--------------------------------------------------------------------------------
/BottomBarDemo.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | VisualStudioVersion = 15.0.27130.2027
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BottomBarDemo.Android", "BottomBarDemo\BottomBarDemo.Android\BottomBarDemo.Android.csproj", "{30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}"
7 | EndProject
8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BottomBarDemo.iOS", "BottomBarDemo\BottomBarDemo.iOS\BottomBarDemo.iOS.csproj", "{0B1C637A-9C29-4F04-BA95-CC85347885E4}"
9 | EndProject
10 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BottomBarDemo.UWP", "BottomBarDemo\BottomBarDemo.UWP\BottomBarDemo.UWP.csproj", "{6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}"
11 | EndProject
12 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BottomBarDemo", "BottomBarDemo\BottomBarDemo\BottomBarDemo.csproj", "{487ECCD6-390B-419E-9187-4F5960F787F8}"
13 | EndProject
14 | Global
15 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
16 | Ad-Hoc|Any CPU = Ad-Hoc|Any CPU
17 | Ad-Hoc|ARM = Ad-Hoc|ARM
18 | Ad-Hoc|iPhone = Ad-Hoc|iPhone
19 | Ad-Hoc|iPhoneSimulator = Ad-Hoc|iPhoneSimulator
20 | Ad-Hoc|x64 = Ad-Hoc|x64
21 | Ad-Hoc|x86 = Ad-Hoc|x86
22 | AppStore|Any CPU = AppStore|Any CPU
23 | AppStore|ARM = AppStore|ARM
24 | AppStore|iPhone = AppStore|iPhone
25 | AppStore|iPhoneSimulator = AppStore|iPhoneSimulator
26 | AppStore|x64 = AppStore|x64
27 | AppStore|x86 = AppStore|x86
28 | Debug|Any CPU = Debug|Any CPU
29 | Debug|ARM = Debug|ARM
30 | Debug|iPhone = Debug|iPhone
31 | Debug|iPhoneSimulator = Debug|iPhoneSimulator
32 | Debug|x64 = Debug|x64
33 | Debug|x86 = Debug|x86
34 | Release|Any CPU = Release|Any CPU
35 | Release|ARM = Release|ARM
36 | Release|iPhone = Release|iPhone
37 | Release|iPhoneSimulator = Release|iPhoneSimulator
38 | Release|x64 = Release|x64
39 | Release|x86 = Release|x86
40 | EndGlobalSection
41 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
42 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
43 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU
44 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Ad-Hoc|Any CPU.Deploy.0 = Release|Any CPU
45 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Ad-Hoc|ARM.ActiveCfg = Release|Any CPU
46 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Ad-Hoc|ARM.Build.0 = Release|Any CPU
47 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Ad-Hoc|ARM.Deploy.0 = Release|Any CPU
48 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
49 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
50 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Ad-Hoc|iPhone.Deploy.0 = Release|Any CPU
51 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|Any CPU
52 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Ad-Hoc|iPhoneSimulator.Build.0 = Release|Any CPU
53 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Ad-Hoc|iPhoneSimulator.Deploy.0 = Release|Any CPU
54 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Ad-Hoc|x64.ActiveCfg = Release|Any CPU
55 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Ad-Hoc|x64.Build.0 = Release|Any CPU
56 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Ad-Hoc|x64.Deploy.0 = Release|Any CPU
57 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Ad-Hoc|x86.ActiveCfg = Release|Any CPU
58 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Ad-Hoc|x86.Build.0 = Release|Any CPU
59 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Ad-Hoc|x86.Deploy.0 = Release|Any CPU
60 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.AppStore|Any CPU.ActiveCfg = Release|Any CPU
61 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.AppStore|Any CPU.Build.0 = Release|Any CPU
62 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.AppStore|Any CPU.Deploy.0 = Release|Any CPU
63 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.AppStore|ARM.ActiveCfg = Release|Any CPU
64 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.AppStore|ARM.Build.0 = Release|Any CPU
65 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.AppStore|ARM.Deploy.0 = Release|Any CPU
66 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.AppStore|iPhone.ActiveCfg = Release|Any CPU
67 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.AppStore|iPhone.Build.0 = Release|Any CPU
68 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.AppStore|iPhone.Deploy.0 = Release|Any CPU
69 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.AppStore|iPhoneSimulator.ActiveCfg = Release|Any CPU
70 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.AppStore|iPhoneSimulator.Build.0 = Release|Any CPU
71 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.AppStore|iPhoneSimulator.Deploy.0 = Release|Any CPU
72 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.AppStore|x64.ActiveCfg = Release|Any CPU
73 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.AppStore|x64.Build.0 = Release|Any CPU
74 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.AppStore|x64.Deploy.0 = Release|Any CPU
75 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.AppStore|x86.ActiveCfg = Release|Any CPU
76 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.AppStore|x86.Build.0 = Release|Any CPU
77 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.AppStore|x86.Deploy.0 = Release|Any CPU
78 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
79 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Debug|Any CPU.Build.0 = Debug|Any CPU
80 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
81 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Debug|ARM.ActiveCfg = Debug|Any CPU
82 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Debug|ARM.Build.0 = Debug|Any CPU
83 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Debug|ARM.Deploy.0 = Debug|Any CPU
84 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Debug|iPhone.ActiveCfg = Debug|Any CPU
85 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Debug|iPhone.Build.0 = Debug|Any CPU
86 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Debug|iPhone.Deploy.0 = Debug|Any CPU
87 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
88 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
89 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Debug|iPhoneSimulator.Deploy.0 = Debug|Any CPU
90 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Debug|x64.ActiveCfg = Debug|Any CPU
91 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Debug|x64.Build.0 = Debug|Any CPU
92 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Debug|x64.Deploy.0 = Debug|Any CPU
93 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Debug|x86.ActiveCfg = Debug|Any CPU
94 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Debug|x86.Build.0 = Debug|Any CPU
95 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Debug|x86.Deploy.0 = Debug|Any CPU
96 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Release|Any CPU.ActiveCfg = Release|Any CPU
97 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Release|Any CPU.Build.0 = Release|Any CPU
98 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Release|Any CPU.Deploy.0 = Release|Any CPU
99 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Release|ARM.ActiveCfg = Release|Any CPU
100 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Release|ARM.Build.0 = Release|Any CPU
101 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Release|ARM.Deploy.0 = Release|Any CPU
102 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Release|iPhone.ActiveCfg = Release|Any CPU
103 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Release|iPhone.Build.0 = Release|Any CPU
104 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Release|iPhone.Deploy.0 = Release|Any CPU
105 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
106 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
107 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Release|iPhoneSimulator.Deploy.0 = Release|Any CPU
108 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Release|x64.ActiveCfg = Release|Any CPU
109 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Release|x64.Build.0 = Release|Any CPU
110 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Release|x64.Deploy.0 = Release|Any CPU
111 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Release|x86.ActiveCfg = Release|Any CPU
112 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Release|x86.Build.0 = Release|Any CPU
113 | {30D5EF03-AAA3-42C4-BB4C-37513BEB48E8}.Release|x86.Deploy.0 = Release|Any CPU
114 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.Ad-Hoc|Any CPU.ActiveCfg = Ad-Hoc|iPhone
115 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.Ad-Hoc|ARM.ActiveCfg = Ad-Hoc|iPhone
116 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone
117 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.Ad-Hoc|iPhone.Build.0 = Ad-Hoc|iPhone
118 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Ad-Hoc|iPhoneSimulator
119 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.Ad-Hoc|iPhoneSimulator.Build.0 = Ad-Hoc|iPhoneSimulator
120 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.Ad-Hoc|x64.ActiveCfg = Ad-Hoc|iPhone
121 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.Ad-Hoc|x86.ActiveCfg = Ad-Hoc|iPhone
122 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.AppStore|Any CPU.ActiveCfg = AppStore|iPhone
123 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.AppStore|ARM.ActiveCfg = AppStore|iPhone
124 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.AppStore|iPhone.ActiveCfg = AppStore|iPhone
125 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.AppStore|iPhone.Build.0 = AppStore|iPhone
126 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.AppStore|iPhoneSimulator.ActiveCfg = AppStore|iPhoneSimulator
127 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.AppStore|iPhoneSimulator.Build.0 = AppStore|iPhoneSimulator
128 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.AppStore|x64.ActiveCfg = AppStore|iPhone
129 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.AppStore|x86.ActiveCfg = AppStore|iPhone
130 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.Debug|Any CPU.ActiveCfg = Debug|iPhone
131 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.Debug|ARM.ActiveCfg = Debug|iPhone
132 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.Debug|iPhone.ActiveCfg = Debug|iPhone
133 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.Debug|iPhone.Build.0 = Debug|iPhone
134 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
135 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
136 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.Debug|x64.ActiveCfg = Debug|iPhone
137 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.Debug|x86.ActiveCfg = Debug|iPhone
138 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.Release|Any CPU.ActiveCfg = Release|iPhone
139 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.Release|ARM.ActiveCfg = Release|iPhone
140 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.Release|iPhone.ActiveCfg = Release|iPhone
141 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.Release|iPhone.Build.0 = Release|iPhone
142 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
143 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
144 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.Release|x64.ActiveCfg = Release|iPhone
145 | {0B1C637A-9C29-4F04-BA95-CC85347885E4}.Release|x86.ActiveCfg = Release|iPhone
146 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Ad-Hoc|Any CPU.ActiveCfg = Release|x86
147 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Ad-Hoc|Any CPU.Build.0 = Release|x86
148 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Ad-Hoc|Any CPU.Deploy.0 = Release|x86
149 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Ad-Hoc|ARM.ActiveCfg = Release|ARM
150 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Ad-Hoc|ARM.Build.0 = Release|ARM
151 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Ad-Hoc|ARM.Deploy.0 = Release|ARM
152 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Ad-Hoc|iPhone.ActiveCfg = Release|x86
153 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Ad-Hoc|iPhone.Build.0 = Release|x86
154 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Ad-Hoc|iPhone.Deploy.0 = Release|x86
155 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|x86
156 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Ad-Hoc|iPhoneSimulator.Build.0 = Release|x86
157 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Ad-Hoc|iPhoneSimulator.Deploy.0 = Release|x86
158 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Ad-Hoc|x64.ActiveCfg = Release|x64
159 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Ad-Hoc|x64.Build.0 = Release|x64
160 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Ad-Hoc|x64.Deploy.0 = Release|x64
161 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Ad-Hoc|x86.ActiveCfg = Release|x86
162 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Ad-Hoc|x86.Build.0 = Release|x86
163 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Ad-Hoc|x86.Deploy.0 = Release|x86
164 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.AppStore|Any CPU.ActiveCfg = Release|x86
165 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.AppStore|Any CPU.Build.0 = Release|x86
166 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.AppStore|Any CPU.Deploy.0 = Release|x86
167 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.AppStore|ARM.ActiveCfg = Release|ARM
168 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.AppStore|ARM.Build.0 = Release|ARM
169 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.AppStore|ARM.Deploy.0 = Release|ARM
170 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.AppStore|iPhone.ActiveCfg = Release|x86
171 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.AppStore|iPhone.Build.0 = Release|x86
172 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.AppStore|iPhone.Deploy.0 = Release|x86
173 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.AppStore|iPhoneSimulator.ActiveCfg = Release|x86
174 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.AppStore|iPhoneSimulator.Build.0 = Release|x86
175 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.AppStore|iPhoneSimulator.Deploy.0 = Release|x86
176 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.AppStore|x64.ActiveCfg = Release|x64
177 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.AppStore|x64.Build.0 = Release|x64
178 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.AppStore|x64.Deploy.0 = Release|x64
179 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.AppStore|x86.ActiveCfg = Release|x86
180 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.AppStore|x86.Build.0 = Release|x86
181 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.AppStore|x86.Deploy.0 = Release|x86
182 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Debug|Any CPU.ActiveCfg = Debug|x86
183 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Debug|ARM.ActiveCfg = Debug|ARM
184 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Debug|ARM.Build.0 = Debug|ARM
185 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Debug|ARM.Deploy.0 = Debug|ARM
186 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Debug|iPhone.ActiveCfg = Debug|x86
187 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Debug|iPhoneSimulator.ActiveCfg = Debug|x86
188 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Debug|x64.ActiveCfg = Debug|x64
189 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Debug|x64.Build.0 = Debug|x64
190 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Debug|x64.Deploy.0 = Debug|x64
191 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Debug|x86.ActiveCfg = Debug|x86
192 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Debug|x86.Build.0 = Debug|x86
193 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Debug|x86.Deploy.0 = Debug|x86
194 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Release|Any CPU.ActiveCfg = Release|x86
195 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Release|ARM.ActiveCfg = Release|ARM
196 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Release|ARM.Build.0 = Release|ARM
197 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Release|ARM.Deploy.0 = Release|ARM
198 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Release|iPhone.ActiveCfg = Release|x86
199 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Release|iPhoneSimulator.ActiveCfg = Release|x86
200 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Release|x64.ActiveCfg = Release|x64
201 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Release|x64.Build.0 = Release|x64
202 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Release|x64.Deploy.0 = Release|x64
203 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Release|x86.ActiveCfg = Release|x86
204 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Release|x86.Build.0 = Release|x86
205 | {6FA037B9-DD50-40D6-9AFD-28A7A8C0C93D}.Release|x86.Deploy.0 = Release|x86
206 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Ad-Hoc|Any CPU.ActiveCfg = Debug|Any CPU
207 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Ad-Hoc|Any CPU.Build.0 = Debug|Any CPU
208 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Ad-Hoc|ARM.ActiveCfg = Debug|Any CPU
209 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Ad-Hoc|ARM.Build.0 = Debug|Any CPU
210 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Ad-Hoc|iPhone.ActiveCfg = Debug|Any CPU
211 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Ad-Hoc|iPhone.Build.0 = Debug|Any CPU
212 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Debug|Any CPU
213 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Ad-Hoc|iPhoneSimulator.Build.0 = Debug|Any CPU
214 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Ad-Hoc|x64.ActiveCfg = Debug|Any CPU
215 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Ad-Hoc|x64.Build.0 = Debug|Any CPU
216 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Ad-Hoc|x86.ActiveCfg = Debug|Any CPU
217 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Ad-Hoc|x86.Build.0 = Debug|Any CPU
218 | {487ECCD6-390B-419E-9187-4F5960F787F8}.AppStore|Any CPU.ActiveCfg = Debug|Any CPU
219 | {487ECCD6-390B-419E-9187-4F5960F787F8}.AppStore|Any CPU.Build.0 = Debug|Any CPU
220 | {487ECCD6-390B-419E-9187-4F5960F787F8}.AppStore|ARM.ActiveCfg = Debug|Any CPU
221 | {487ECCD6-390B-419E-9187-4F5960F787F8}.AppStore|ARM.Build.0 = Debug|Any CPU
222 | {487ECCD6-390B-419E-9187-4F5960F787F8}.AppStore|iPhone.ActiveCfg = Debug|Any CPU
223 | {487ECCD6-390B-419E-9187-4F5960F787F8}.AppStore|iPhone.Build.0 = Debug|Any CPU
224 | {487ECCD6-390B-419E-9187-4F5960F787F8}.AppStore|iPhoneSimulator.ActiveCfg = Debug|Any CPU
225 | {487ECCD6-390B-419E-9187-4F5960F787F8}.AppStore|iPhoneSimulator.Build.0 = Debug|Any CPU
226 | {487ECCD6-390B-419E-9187-4F5960F787F8}.AppStore|x64.ActiveCfg = Debug|Any CPU
227 | {487ECCD6-390B-419E-9187-4F5960F787F8}.AppStore|x64.Build.0 = Debug|Any CPU
228 | {487ECCD6-390B-419E-9187-4F5960F787F8}.AppStore|x86.ActiveCfg = Debug|Any CPU
229 | {487ECCD6-390B-419E-9187-4F5960F787F8}.AppStore|x86.Build.0 = Debug|Any CPU
230 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
231 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Debug|Any CPU.Build.0 = Debug|Any CPU
232 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Debug|ARM.ActiveCfg = Debug|Any CPU
233 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Debug|ARM.Build.0 = Debug|Any CPU
234 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Debug|iPhone.ActiveCfg = Debug|Any CPU
235 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Debug|iPhone.Build.0 = Debug|Any CPU
236 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
237 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
238 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Debug|x64.ActiveCfg = Debug|Any CPU
239 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Debug|x64.Build.0 = Debug|Any CPU
240 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Debug|x86.ActiveCfg = Debug|Any CPU
241 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Debug|x86.Build.0 = Debug|Any CPU
242 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Release|Any CPU.ActiveCfg = Release|Any CPU
243 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Release|Any CPU.Build.0 = Release|Any CPU
244 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Release|ARM.ActiveCfg = Release|Any CPU
245 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Release|ARM.Build.0 = Release|Any CPU
246 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Release|iPhone.ActiveCfg = Release|Any CPU
247 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Release|iPhone.Build.0 = Release|Any CPU
248 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
249 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
250 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Release|x64.ActiveCfg = Release|Any CPU
251 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Release|x64.Build.0 = Release|Any CPU
252 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Release|x86.ActiveCfg = Release|Any CPU
253 | {487ECCD6-390B-419E-9187-4F5960F787F8}.Release|x86.Build.0 = Release|Any CPU
254 | EndGlobalSection
255 | GlobalSection(SolutionProperties) = preSolution
256 | HideSolutionNode = FALSE
257 | EndGlobalSection
258 | GlobalSection(ExtensibilityGlobals) = postSolution
259 | SolutionGuid = {D23C01F5-875C-4B65-ACAC-A764F578B125}
260 | EndGlobalSection
261 | EndGlobal
262 |
--------------------------------------------------------------------------------