{
range = new View()
{
- Position = new Position(39, 32),
+ Position = new Position(39, 21),
BackgroundImage = GetRangeImage(wifiAp),
};
this.Add(range);
this.Add(new TextLabel(wifiAp.NetworkInformation.Essid)
{
- Position = new Position(78, 28),
+ Position = new Position(78, 17),
PixelSize = 20f,
TextColor = new Color(0, 0x0C / 255f, 0x2B / 255f, 1.0f),
FontFamily = "BreezeSans",
detail = new TextLabel(GetDetailInfo(wifiAp))
{
WidthSpecification = LayoutParamPolicies.WrapContent,
- Position = new Position(79, 56),
+ Position = new Position(79, 45),
PixelSize = 14f,
TextColor = new Color(0, 0x0C / 255f, 0x2B / 255f, 1.0f),
FontFamily = "BreezeSans",
{
private View view = null;
public const int ListItemWidth = 460;
- public const int ListItemHeight = 89;
+ public const int ListItemHeight = 79;//89;
private WifiState State { get; set; } = new WifiState();
private ApManager ApManager { get; set; } = new ApManager(OnApTapped);
LinearOrientation = LinearLayout.Orientation.Vertical,
},
BackgroundImage = System.IO.Path.Combine(NUIApplication.Current.DirectoryInfo.Resource, "Rectangle_918.png"),
+ //BackgroundColor = Color.Red,
//Size = new Size(480, 401),
+ Size = new Size(480, 416),
};
view.Add(CreateHeader(480, 91));
private View CreateListViewPlaceHolder()
{
var view = new View();
- var listView = new ListView(480, 314)//480, 335
+ //var listView = new ListView(480, 324)//314)//480, 335
+ var listView = new ListView(480, 319)
{
Footer = CreateManualWifiView(),
Items = ApManager.Views,
var prompt = new TextLabel()
{
- Position = new Position(42, 32),
+ Position = new Position(40, 21),
PixelSize = 20,
TextColor = new Color(0, 0x14 / 255f, 0x47 / 255f, 1.0f),
FontFamily = "BreezeSans",
var progress = new View()
{
+ Size = new Size(22, 23),
Margin = new Extents(0, 0, 1, 0),
BackgroundImage = System.IO.Path.Combine(NUIApplication.Current.DirectoryInfo.Resource, "12_icon_scanning.png"),
};
view.Add(new TextLabel()
{
+ Size = new Size(190, 25),
TranslatableText = "WIFI_SCANNING",
Margin = new Extents(17, 0, 0, 0),
- PixelSize = 19f,
- TextColor = new Color(0, 14.0f / 255.0f, 47.0f / 255.0f, 1.0f),
+ VerticalAlignment = VerticalAlignment.Center,
+ HorizontalAlignment = HorizontalAlignment.Begin,
+ PixelSize = 20f,
+ TextColor = new Color(0, 0x0C / 255f, 0x2B / 255f, 1.0f),
FontFamily = "BreezeSans",
FontStyle = new PropertyMap().AddRegularFontStyle(),
});
var wifi = new TextLabel("Wi-Fi")
{
//Size = new Size(49, 24),
- PixelSize = 19f,
- TextColor = new Color(0, 14.0f / 255.0f, 47.0f / 255.0f, 1.0f),
+ PixelSize = 20f,
+ TextColor = new Color(0, 0x0C / 255f, 0x2B / 255f, 1.0f),
FontFamily = "BreezeSans",
FontStyle = new PropertyMap().AddRegularFontStyle(),
};