Install and How to use

Translucent Navigation Bar and Status Bar on Xamarin.Forms Android

Hi Xam Devs, Today, Xamarin Forms 3.0 pre2 has been released, if you want to try latest packge please add my nuget into your Visual Studio via https://www.myget.org/F/trungdc09t2/api/v3/index.json   Create new project and add XF 3.0 pre2 to your solution. Now on Android platform, add 2 line inside OnCreate of MainActivity: //Making the Navigation Bar… Continue reading Translucent Navigation Bar and Status Bar on Xamarin.Forms Android

Install and How to use

Xamarin.Forms Android Border SearchBar

Either of us know SearchBar look not good in Android Platform, so let’s create a SearchBar with border for Xamarin.Forms Android. First, we creat our SearchBar class: public class CrossSearchBar : SearchBar { public CrossSearchBar() { } } Then we create a SearchBar render on Android platform for our control public class PlatformSearchBarRenderer : SearchBarRenderer… Continue reading Xamarin.Forms Android Border SearchBar

Install and How to use

How to rotate specific page in Xamarin Forms

Hi Guys, In many case we need Landscape mode to do something, and back to Portrait mode. In this blog, I will show you how to do that. In the Forms create your custom ContentPage public class CustomContentPage : ContentPage { #region properties public bool RequestLandScapeView { get => (bool) GetValue(RequestLandScapeViewProperty); set => SetValue(RequestLandScapeViewProperty, value);… Continue reading How to rotate specific page in Xamarin Forms

Install and How to use

How to use Proguard in Xamarin Android

Hello, Wellcome back! ProGuard is a free Java class file shrinker, optimizer, obfuscator, and preverifier. It detects and removes unused classes, fields, methods, and attributes. It optimizes bytecode and removes unused instructions. It renames the remaining classes, fields, and methods using short meaningless names. Finally, it preverifies the processed code for Java 6 or for… Continue reading How to use Proguard in Xamarin Android

Install and How to use

How to split and upload multi apk to Play Store with Visual Studio

Hello Guys, When we have a finished product and are ready to publish to the Google Play Store and want our product to reach a wide audience, this article will be quite helpful to you. Android OS support multi CPU architecture, ect: arm, arm-v7a, x86… so if you want support many CPU architecture, your apk… Continue reading How to split and upload multi apk to Play Store with Visual Studio

Install and How to use

How to create Menu Floating Action Button in Xamarin Forms

Hey, wellcome back! Long time no see, today I will create renderer Menu Floating Action Menu in Xamarin Forms. In this artical I use two lib for Android and for iOS. First, create our control in PCL public class XWellcareMenuFAB : View { public XWellcareMenuFAB() { Children = new ObservableCollection<XWellcareFAB>(); IsOpened = false; } private bool _isOpened; public… Continue reading How to create Menu Floating Action Button in Xamarin Forms

Install and How to use

How to config Android development enviroment without space

If you want use Proguad or some advanced feature to development Xamarin Android on Visual Studio, you should config you path to Android SDK or Java JDK with out space. First, turn on you cmd on Windows, copy and run each command bellow: mklink /j C:\android-sdk “C:\Program Files (x86)\Android\android-sdk” mklink /j C:\java-jdk-112 “C:\Program Files\Java\jdk1.8.0_112” mklink… Continue reading How to config Android development enviroment without space

Install and How to use

Bottom TabbedPage in Xamarin Forms

Hello, In Xamarin Forms, we have TabbedPage, it’s look good in iOS but Android isn’t. So I create a TabbedPageRenderer for Android the same with iOS. You can use this lib or use my optimize lib (or stupid lib LOL) here. First, we create renderer for Android internal class BottomBarPageRenderer : VisualElementRenderer<XBottomTabbedPage>, IOnTabClickListener { private BottomBar _bottomBar; private… Continue reading Bottom TabbedPage in Xamarin Forms