Skip to content

Commit

Permalink
Replaced icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Aircoookie committed Dec 10, 2022
1 parent a84eaf0 commit 485e94a
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 7 deletions.
Binary file modified WLED/WLED.Android/Resources/drawable/icon_add.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified WLED/WLED.Android/Resources/drawable/icon_back.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified WLED/WLED.Android/Resources/drawable/icon_bin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified WLED/WLED.Android/Resources/drawable/icon_check.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified WLED/WLED.Android/Resources/drawable/icon_delete.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified WLED/WLED.Android/Resources/drawable/icon_modify.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified WLED/WLED.Android/Resources/drawable/icon_power.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions WLED/WLED/DeviceListViewPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@
Font="18" TextColor="white"
Grid.Row="1" Grid.Column="0" />
<ImageButton Source="icon_power.png" Clicked="OnPowerButtonTapped"
CornerRadius="32" BackgroundColor="{Binding StateColor}" BorderColor="White" BorderWidth="4"
CornerRadius="32" BackgroundColor="{Binding StateColor}" BorderColor="White" BorderWidth="2"
Grid.Row="0" Grid.Column="1" Grid.RowSpan="2" />
<!--<Image Source="icon_power.png" Scale ="0.8" Grid.Row="0" Grid.Column="1" Grid.RowSpan="2" InputTransparent="True" BackgroundColor="Transparent"/>-->

<Slider Maximum="255.1" Minimum="0.9" Value="{Binding BrightnessCurrent, Mode=TwoWay}"
MinimumTrackColor="{Binding ColorCurrent}" MaximumTrackColor="#333" ThumbColor="White" ios:Slider.UpdateOnTap="true"
Expand Down
6 changes: 2 additions & 4 deletions WLED/WLED/DeviceModificationListViewPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,9 @@
<Label Text="{Binding Status}"
Font="18" TextColor="{Binding TextColor}"
Grid.Row="1" Grid.Column="0" />
<Button Clicked="OnDeleteButtonTapped" BackgroundColor="#D9321F"
CornerRadius="34" BorderColor="White" BorderWidth="4"
<ImageButton Source="icon_delete.png" Clicked="OnDeleteButtonTapped" BackgroundColor="#D9321F"
CornerRadius="34" BorderColor="White" BorderWidth="2"
Grid.Row="0" Grid.Column="1" Grid.RowSpan="2" />

<Image Source="icon_delete.png" Scale ="0.8" Grid.Row="0" Grid.Column="1" Grid.RowSpan="2" InputTransparent="True" BackgroundColor="Transparent"/>
</Grid>
</ViewCell>
</DataTemplate>
Expand Down
2 changes: 1 addition & 1 deletion WLED/WLED/DeviceModificationListViewPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public DeviceModificationListViewPage (ObservableCollection<WLEDDevice> items)

private void OnDeleteButtonTapped(object sender, EventArgs e)
{
Button s = sender as Button;
ImageButton s = sender as ImageButton;
if (!(s.Parent.BindingContext is WLEDDevice targetDevice)) return;

DeviceList.Remove(targetDevice);
Expand Down

0 comments on commit 485e94a

Please sign in to comment.