mBtDevice = btDevice;
mRssi = btDevice.Rssi;
string icon;
- icon = "/images/bluetooth_icon.png";
+ icon = "/images/bluetooth_icon.svg";
mIconDir = mResourcePath + icon;
}
{
static CollectionView mDeviceView = null;
static DeviceSource mDeviceSource = null;
+ private static bool isLightTheme => ThemeManager.PlatformThemeId == "org.tizen.default-light-theme";
private static CollectionView CreateCollectionView(DeviceSource source, bool isPairedDeviceView = false)
{
{
IsSelectable = true,
CornerRadius = 50,
- BackgroundColor = GetDefaultColorSelector(),
+ BackgroundColor = isLightTheme ? new Color("#FAFAFA") : new Color("#1D1A21"),
};
Button infoButton = new Button(style)
{
WidthSpecification = buttonSize,
HeightSpecification = buttonSize,
- IconURL = Resources.GetPath() + "/images/bluetooth_info_icon.png",
+ IconURL = Resources.GetPath() + "/images/bluetooth_info_icon.svg",
IsSelectable = false,
};