1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-08 06:31:35 +02:00
Commit Graph

3 Commits

Author SHA1 Message Date
TaaviE
4aea2e626c Improve icon size consistency in ControlCenterv2 (#2000)
Tinted the ic_delete_forever.xml correctly

Updated the default icon to look consistent with the rest

Due to being used in FABs, made ic_add white by-default and tinted ic_block properly

Adjusted Amazfit Bip and the ic_no_watch drawables to look more uniform with the rest

Re-imported the Amazfit Bip icon to fit the rest

Re-imported all material.io icons with the same DPI, renamed to original names, optimized and tinted every icon the same way

Updated the ic_switch_left icon to look better on smaller screens

scale refresh in control center to match the rest

Improved the icon size consistency in ControlCenter

Co-authored-by: TaaviE <taavi.eomae@gmail.com>
Co-authored-by: vanous <petr@linuks.cz>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2000
2020-09-01 21:27:07 +02:00
Andreas Shimokawa
038f101a12 Migrate more settings to per-device settings
Also add icons.
2019-05-22 10:49:59 +02:00
Andreas Shimokawa
9bfef4cf4f Make per-device settings more versatile, move more settings
This allows to construct per-device settings by device type very easily

device coordinators just do the following to declare which setting they support,
the settings activity is then composed at runtime.

@Override
public int[] getSupportedDeviceSpecificSettings(GBDevice device) {
     return new int[]{
            R.xml.devicesettings_miband3,
            R.xml.devicesettings_swipeunlock,
            R.xml.devicesettings_pairingkey
    };
}
2019-05-22 00:42:22 +02:00