windows phone 页面主题设计
生活随笔
收集整理的這篇文章主要介紹了
windows phone 页面主题设计
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
達到如圖這個效果:
1.保證狀態欄背景色與主題欄顏色相同需設置狀態欄的透明度,代碼如下: shell:SystemTray.IsVisible="True" shell:SystemTray.Opacity="0.01" 2.頂部狀態欄高度為25,字的上下要留部分空白 3.內容欄目中設計為漸變顏色,代碼如下: <Grid x:Name="LayoutRoot"><Grid.RowDefinitions><RowDefinition Height="80"/><RowDefinition Height="*"/></Grid.RowDefinitions><Grid Grid.Row="0" Background="Blue"><TextBlock Text="我的應用" Margin="0,25,0,0" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="30"/></Grid><Grid Grid.Row="1"><Grid.Background><LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><GradientStop Color="#FF6CBFC3" Offset="1"/><GradientStop Color="#FF68AE61" Offset="0"/></LinearGradientBrush></Grid.Background></Grid></Grid>?
轉載于:https://www.cnblogs.com/cjxy1993/p/4355866.html
創作挑戰賽新人創作獎勵來咯,堅持創作打卡瓜分現金大獎總結
以上是生活随笔為你收集整理的windows phone 页面主题设计的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: [转]Fiddler模拟post四种请求
- 下一篇: 墨客原型系统——随笔分享APP