Change Proximus Internet password

In some cases you'll handle the PPPoE connection in your router. The main reason is to connect to the Proximus network from your router and let your personal hardware manage the DHCP. If you know your login and password, it's really easy. But if like me, you lost your original password / don't remember it / never saved it in your favorite password tool / ... you're doomed. Or not. ...

December 24, 2020 · 2 min

Change the status bar color in your Xamarin.Forms app

It's the second time I need to change the status bar color in a Xamarin.Forms (Android) and I didn't remember how to do it. As I don't want to search it again, I decided to add the information here. The status bar is the top part of the application where you can find the battery level, the network status,... In your Android project, just add the following line in the styles.xml file and use the color you like: ...

October 5, 2020 · 1 min

Frame HeightRequest not applied

For each of my items in the ListView, I wanted to display the title of the show and the remaining episodes. But it can be really difficult to see the label on an image. A solution I used in my previous Windows Phone app was to add a border with a background color. So I decided to use the same tip with the Frame control. <Frame Grid.Row="0" HeightRequest="22" VerticalOptions="End" BackgroundColor="#80000000" > <StackLayout Orientation="Horizontal"> <Label Grid.Row="0" Text="{Binding Title}" TextColor="#FFFFFF" Margin="5,0,0,0" LineBreakMode="TailTruncation" HorizontalOptions="StartAndExpand" FontAttributes="Bold" FontSize="Subtitle"/> <Label Grid.Row="0" Text="{Binding User.Remaining}" TextColor="#FFFFFF" Margin="0,0,5,0" HorizontalOptions="End" FontAttributes="Bold" FontSize="Subtitle" /> </StackLayout> </Frame> ...

January 16, 2020 · 1 min

Syntax Highlighting In Wyam

In my previous blog post I saw that the syntax highlighting was weird on a phone. A carriage return was added automatically instead of taking advantage of the power of a scrollbar. To avoid the carriage return and let the scrollbar work as expected we need to override the CSS with the following style: pre code { white-space: pre; word-wrap: normal; } Just create the following folder structure in your input directory, create a file named override.css and add the pre code style in it. ...

January 5, 2020 · 1 min

Row height in ListView ItemTemplate

In my App I wanted to have a view for my TV shows. As I have a WPF and Windows Phone background, I tried to set the row height on the Grid RowDefinition. <ListView ItemsSource="{Binding Shows}" VerticalOptions="FillAndExpand" > <ListView.ItemTemplate> <DataTemplate> <ViewCell> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="100"/> </Grid.RowDefinitions> <ffimageloading:CachedImage Grid.Row="0" Source="{Binding Image.Banner}" Aspect="AspectFill" RetryCount= "3" RetryDelay= "600" HeightRequest="100" DownsampleToViewSize = "true" /> <Frame Grid.Row="0" HeightRequest="20" VerticalOptions="End" Padding="0" BackgroundColor="#80000000" > <StackLayout Orientation="Horizontal"> <Label Grid.Row="0" Text="{Binding Title}" TextColor="#FFFFFF" Margin="5,0,0,0" LineBreakMode="TailTruncation" HorizontalOptions="StartAndExpand"/> <Label Grid.Row="0" Text="{Binding User.Remaining}" TextColor="#FFFFFF" Margin="0,0,5,0" HorizontalOptions="End"/> </StackLayout> </Frame> </Grid> </ViewCell> </DataTemplate> </ListView.ItemTemplate> </ListView> But the result was completely wrong. The black frame is too big and the show title is not displayed. ...

January 4, 2020 · 2 min