When navigated to show the Albums/Pick files, the default color of Action Bar is Blue. I tried to override the action bar color from my application but no Luck.
In my main application i called it like below -
var file = await CrossMedia.Current.PickPhotoAsync();
In Android application i tried to override the color like below -
public class MainApplication : Application, Application.IActivityLifecycleCallbacks
{
public MainApplication(IntPtr handle, JniHandleOwnership transer)
: base(handle, transer)
{
}
public override void OnCreate()
{
base.OnCreate();
RegisterActivityLifecycleCallbacks(this);
}
public void OnActivityCreated(Activity activity, Bundle savedInstanceState)
{
if (activity != null)
{
The title bar color works fine inside my application... i want to make the color same when i click the browse button and it opens the UI to choose file.
When navigated to show the Albums/Pick files, the default color of Action Bar is Blue. I tried to override the action bar color from my application but no Luck.
In my main application i called it like below - var file = await CrossMedia.Current.PickPhotoAsync();
In Android application i tried to override the color like below - public class MainApplication : Application, Application.IActivityLifecycleCallbacks { public MainApplication(IntPtr handle, JniHandleOwnership transer) : base(handle, transer) { } public override void OnCreate() { base.OnCreate(); RegisterActivityLifecycleCallbacks(this); }
public void OnActivityCreated(Activity activity, Bundle savedInstanceState) { if (activity != null) {
} }
The title bar color works fine inside my application... i want to make the color same when i click the browse button and it opens the UI to choose file.