How to change stusbar color in settings apk - settings

How to set stusbar color Such as action bar color in settings apk android Nogat 7.1.2
Hi everyone
How to set stusbar color Such as action bar color in settings apk android Nogat 7.1.2

Related

Not showing correctly icon in MasterDetailPage Xamarin iOS

I'm building cross platfomr app in Xamarin Forms but iOS not showing MasterDetailPage icon correctly.
How to solve this.
iOS:
Android:
Some idea for iOS to show like Android?
If using the app logo icon:
it will show as follows:
Because the background color of the icon is not Transparent. If the background color of icon is transparent, it will work.
Such as contacts.png:
The effect:
Or other Xamarin-50.png:
The effect:
================================Update================================
If you want to show the original color of icon, you need to use the image from Asset Catalogs, you can refer to Adding images to an asset catalog image set to add icon inside asset, but not forget to set icon Render as Original.
For example, image named Cat and add source image as follows:
Then move to the properties of Cat and Render as Original:
The effect:

Change iOS status bar text color while dark mode is activated

With iOS 13 new dark mode feature, it now seems impossible for me to control the status bar text color in Xamarin Forms. Most of the solutions I find seem to be from before dark mode was introduced to iOS.
My application uses resources so that I can easily change the style of the whole app. Even in dark mode, the color of my navigation bar is not pleasant to read with white text. I need to set the color of the status bar to black, no matter what color mode the device has activated.
I've tried to set the colors manually in my navigation page, but it seems to be overriden by iOS color mode. This code works on Android:
BarTextColor = Color.Black;
BarBackgroundColor = (Color)App.Instance.Resources["PrimaryColor"];
I've tried setting true and false to UIViewControllerBasedStatusBarAppearance.
I've also tried all settings of Status Bar Style in Info.plist.
Does anyone know of a way to control this in Xamarin Forms since the release of Dark Mode?
Did you check this docs? NavigationPage Bar Translucency on iOS NavigationPage Bar Text Color Mode on iOS . Maybe translucency can solve your problem?
The problem was fixed by switching to Xamarin iOS SDK 13, it adds an item to the StatusBarStyle enumeration.
More info here.

How to avoid or prevent dark mode in app?

iPhone device theme is Dark. So my app theme getting some changes because of this. Can i prevent this dark mode in my app? if yes How?
Add this code to your info.plist
<key>UIUserInterfaceStyle</key>
<string>Light</string>
The game is on Default color.
In Light theme Default color is White.
On the other hand, In dark theme Default color is Black.
Now we can make our app's appearance as device's theme.

Smartface IOS vertical orientation works, horizontal orientation blank

When the orientation changed for Xcode product of smartface project, black screen appears. For Android horizontal orientation works ok but IOS has problem.
Is there any more setting?
You are changing the orientation from Project Details right ?
Can you check the Orientation settings on XCode ?
Maybe the orientation doesn't send to xCode Project. Is it possible to share orientation settings which you made ?

UISearchBar tint color set to clear color

I want to make custom appearance for UISearchBarin iOS 6 app, so I am trying to set tint color for it in Interface Builder as clear color. But when I am choose clear color in list it automatically changed to black! I am using Xcode 4.6.3
Is it an Xcode bug or this behavior is due to reasons?

Resources