mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-25 10:05:49 +01:00
Add icons for navigation, cardio, strength training, video gaming
This commit is contained in:
parent
a5b5b586aa
commit
96314937d0
@ -48,7 +48,7 @@ public enum ActivityKind {
|
||||
BASKETBALL(0x00040000, R.string.activity_type_basketball, R.drawable.ic_activity_basketball),
|
||||
PINGPONG(0x00080000, R.string.activity_type_pingpong, R.drawable.ic_activity_pingpong),
|
||||
BADMINTON(0x00100000, R.string.activity_type_badminton, R.drawable.ic_activity_badmington),
|
||||
STRENGTH_TRAINING(0x00200000, R.string.activity_type_strength_training),
|
||||
STRENGTH_TRAINING(0x00200000, R.string.activity_type_strength_training, R.drawable.ic_activity_dumbbell),
|
||||
HIKING(0x00400000, R.string.activity_type_hiking, R.drawable.ic_activity_hiking),
|
||||
CLIMBING(0x00800000, R.string.activity_type_climbing, R.drawable.ic_activity_climbing),
|
||||
REM_SLEEP(0x01000000, R.string.abstract_chart_fragment_kind_rem_sleep, R.drawable.ic_activity_sleep),
|
||||
@ -59,7 +59,7 @@ public enum ActivityKind {
|
||||
VIVOMOVE_HR_TRANSITION(0x00000001 | 0x00000010 | 0x00000020 | 0x00000200 | 0x00000040, R.string.transition),
|
||||
|
||||
// Non-legacy activity kinds after 0x04000000
|
||||
NAVIGATE(0x04000000, R.string.activity_type_navigate),
|
||||
NAVIGATE(0x04000000, R.string.activity_type_navigate, R.drawable.ic_navigation),
|
||||
INDOOR_TRACK(0x04000001, R.string.activity_type_indoor_track),
|
||||
HANDCYCLING(0x04000002, R.string.activity_type_handcycling),
|
||||
E_BIKE(0x04000003, R.string.activity_type_e_bike, R.drawable.ic_activity_biking),
|
||||
@ -75,7 +75,7 @@ public enum ActivityKind {
|
||||
TABLE_TENNIS(0x0400000d, R.string.activity_type_table_tennis, R.drawable.ic_activity_pingpong),
|
||||
AMERICAN_FOOTBALL(0x0400000e, R.string.activity_type_american_football),
|
||||
TRAINING(0x0400000f, R.string.activity_type_training),
|
||||
CARDIO(0x04000010, R.string.activity_type_cardio),
|
||||
CARDIO(0x04000010, R.string.activity_type_cardio, R.drawable.ic_heartrate),
|
||||
BREATHWORK(0x04000011, R.string.activity_type_breathwork),
|
||||
INDOOR_WALKING(0x04000012, R.string.activity_type_indoor_walking, R.drawable.ic_activity_walking),
|
||||
XC_CLASSIC_SKI(0x04000013, R.string.activity_type_xc_classic_ski),
|
||||
@ -125,7 +125,7 @@ public enum ActivityKind {
|
||||
HEALTH_SNAPSHOT(0x04000043, R.string.activity_type_health_snapshot),
|
||||
MARINE(0x04000044, R.string.activity_type_marine),
|
||||
HIIT(0x04000045, R.string.activity_type_hiit),
|
||||
VIDEO_GAMING(0x04000046, R.string.activity_type_video_gaming),
|
||||
VIDEO_GAMING(0x04000046, R.string.activity_type_video_gaming, R.drawable.ic_videogame),
|
||||
RACKET(0x04000047, R.string.activity_type_racket),
|
||||
PICKLEBALL(0x04000048, R.string.activity_type_pickleball),
|
||||
PADEL(0x04000049, R.string.activity_type_padel),
|
||||
|
33
app/src/main/res/drawable/ic_activity_dumbbell.xml
Normal file
33
app/src/main/res/drawable/ic_activity_dumbbell.xml
Normal file
@ -0,0 +1,33 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:tint="#7E7E7E"
|
||||
android:viewportWidth="512"
|
||||
android:viewportHeight="512">
|
||||
|
||||
<!--
|
||||
Licensed under public domain
|
||||
https://www.svgrepo.com/svg/480564/dumbbell-8
|
||||
-->
|
||||
|
||||
<path
|
||||
android:fillColor="#000000"
|
||||
android:pathData="M141.7,141.55H79.08c-8.49,0 -15.37,6.88 -15.37,15.36v198.18c0,8.48 6.88,15.36 15.37,15.36h62.62c8.49,0 15.37,-6.88 15.37,-15.36V156.91C157.07,148.43 150.19,141.55 141.7,141.55z" />
|
||||
|
||||
<path
|
||||
android:fillColor="#000000"
|
||||
android:pathData="M32.37,189.73H12.8C5.74,189.73 0,195.47 0,202.54v106.93c0,7.07 5.74,12.8 12.8,12.8h19.57c7.07,0 12.8,-5.74 12.8,-12.8V202.54C45.18,195.47 39.44,189.73 32.37,189.73z" />
|
||||
|
||||
<path
|
||||
android:fillColor="#000000"
|
||||
android:pathData="M177.69,228.89h156.62v54.21h-156.62z" />
|
||||
|
||||
<path
|
||||
android:fillColor="#000000"
|
||||
android:pathData="M432.92,141.55h-62.62c-8.49,0 -15.37,6.88 -15.37,15.36v198.18c0,8.48 6.88,15.36 15.37,15.36h62.62c8.49,0 15.37,-6.88 15.37,-15.36V156.91C448.29,148.43 441.41,141.55 432.92,141.55z" />
|
||||
|
||||
<path
|
||||
android:fillColor="#000000"
|
||||
android:pathData="M499.2,189.73h-19.57c-7.07,0 -12.8,5.74 -12.8,12.8v106.93c0,7.07 5.74,12.8 12.8,12.8h19.57c7.07,0 12.8,-5.74 12.8,-12.8V202.54C512,195.47 506.26,189.73 499.2,189.73z" />
|
||||
|
||||
</vector>
|
Loading…
Reference in New Issue
Block a user