2016-09-04 6 views
-3

私はXamarin.Formsアプリケーションを作成しました。Windows 10 mobileビルド14393でアプリケーションを起動すると、バッテリーやその他のインジケーターの代わりに余分な空白がありました。UIの上の空白

+0

なく、あなたの実際の問題が何であるかを確認してください:あなたは、何のコードをなしスクリーンショットを示さなかっました。..何もないあなたの質問を詳細で編集してください。 –

答えて

0
  1. Windows UWPプロジェクトにUWP用のWindows Mobile Extensionを含める必要があります。

  2. のWindows UWPプロジェクトのApp.xaml.csの変更OnLaunched、および次の行を追加します。

    if (ApiInformation.IsTypePresent("Windows.UI.ViewManagement.StatusBar")) 
        { 
    
         var statusBar = StatusBar.GetForCurrentView(); 
         if (statusBar != null) 
         { 
          statusBar.BackgroundOpacity = 1; 
          statusBar.BackgroundColor = Colors.Black; 
          statusBar.ForegroundColor = Colors.White; 
         } 
        } 
    
関連する問題