Switch to android defined black and white

This commit is contained in:
Jarne Demeulemeester 2023-01-19 00:37:27 +01:00
parent afce1873d1
commit 85e1175a30
No known key found for this signature in database
GPG key ID: 65C6006F2032DD14
25 changed files with 67 additions and 69 deletions

View file

@ -10,7 +10,7 @@
android:id="@+id/player_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/black"
android:background="@android:color/black"
app:animation_enabled="false"
app:show_buffering="always" />
@ -30,7 +30,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="@style/TextAppearance.Material3.HeadlineSmall"
android:textColor="@color/white"
android:textColor="@android:color/white"
tools:text="+00:00:10 [00:00:20]" />
</LinearLayout>
@ -54,7 +54,7 @@
android:layout_height="24dp"
android:layout_marginVertical="16dp"
android:gravity="center"
android:textColor="@color/white"
android:textColor="@android:color/white"
tools:text="58%" />
<ProgressBar
@ -93,7 +93,7 @@
android:layout_height="24dp"
android:layout_marginVertical="16dp"
android:gravity="center"
android:textColor="@color/white"
android:textColor="@android:color/white"
tools:text="58%" />
<ProgressBar

View file

@ -54,7 +54,7 @@
android:layout_height="match_parent"
android:gravity="center"
android:text="M"
android:textColor="@color/white"
android:textColor="@android:color/white"
tools:ignore="HardcodedText" />
</FrameLayout>
@ -229,7 +229,7 @@
android:layout_height="48dp"
android:layout_centerHorizontal="true"
android:elevation="8dp"
android:indeterminateTint="@color/white"
android:indeterminateTint="@android:color/white"
android:padding="8dp"
android:visibility="invisible" />
</RelativeLayout>

View file

@ -66,7 +66,7 @@
android:layout_height="match_parent"
android:gravity="center"
android:text="M"
android:textColor="@color/white"
android:textColor="@android:color/white"
tools:ignore="HardcodedText" />
</FrameLayout>

View file

@ -43,7 +43,7 @@
android:ellipsize="end"
android:maxLines="1"
android:textAppearance="@style/TextAppearance.Material3.TitleLarge"
android:textColor="@color/white"
android:textColor="@android:color/white"
tools:text="The Dawn of Despair" />
</LinearLayout>
@ -65,7 +65,7 @@
android:contentDescription="@string/select_playback_speed"
android:padding="16dp"
android:src="@drawable/ic_gauge"
app:tint="@color/white" />
app:tint="@android:color/white" />
<Space
android:layout_width="16dp"
@ -80,7 +80,7 @@
android:contentDescription="@string/select_audio_track"
android:padding="16dp"
android:src="@drawable/ic_speaker"
app:tint="@color/white" />
app:tint="@android:color/white" />
<Space
android:layout_width="16dp"
@ -95,7 +95,7 @@
android:contentDescription="@string/select_subtile_track"
android:padding="16dp"
android:src="@drawable/ic_closed_caption"
app:tint="@color/white" />
app:tint="@android:color/white" />
</LinearLayout>
@ -131,21 +131,21 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/circle_background"
android:backgroundTint="@color/white"
android:backgroundTint="@android:color/white"
android:padding="16dp"
android:src="@drawable/ic_play"
app:tint="@color/black" />
app:tint="@android:color/black" />
<ImageButton
android:id="@+id/exo_pause"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/circle_background"
android:backgroundTint="@color/white"
android:backgroundTint="@android:color/white"
android:padding="16dp"
android:src="@drawable/ic_pause"
android:visibility="gone"
app:tint="@color/black" />
app:tint="@android:color/black" />
<ImageButton
android:id="@+id/exo_ffwd"
@ -185,7 +185,7 @@
android:id="@+id/exo_position"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/white"
android:textColor="@android:color/white"
android:textSize="14sp"
tools:text="00:00" />
@ -196,7 +196,7 @@
<View
android:layout_width="4dp"
android:layout_height="1dp"
android:background="@color/white" />
android:background="@android:color/white" />
<Space
android:layout_width="8dp"
@ -206,7 +206,7 @@
android:id="@+id/exo_duration"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/white"
android:textColor="@android:color/white"
android:textSize="14sp"
tools:text="24:21" />
</LinearLayout>

View file

@ -44,7 +44,7 @@
android:paddingTop="4dp"
android:paddingRight="12dp"
android:paddingBottom="4dp"
android:textColor="@color/white"
android:textColor="@android:color/white"
android:textSize="14sp" />
<Button

View file

@ -4,7 +4,7 @@
<shape android:shape="rectangle">
<solid android:color="?android:attr/windowBackground"/>
<padding android:bottom="4dp" android:left="4dp" android:right="4dp" android:top="4dp" />
<stroke android:width="2dp" android:color="@color/white" />
<stroke android:width="2dp" android:color="@android:color/white" />
<corners android:bottomLeftRadius="10dp" android:bottomRightRadius="10dp" android:topLeftRadius="10dp" android:topRightRadius="10dp" />
</shape>
</item>

View file

@ -8,13 +8,13 @@
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
<path
android:pathData="M12,19l-7,-7l7,-7"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
</vector>

View file

@ -6,5 +6,5 @@
android:tint="?attr/colorControlNormal">
<path
android:pathData="M19,4L5,4c-1.11,0 -2,0.9 -2,2v12c0,1.1 0.89,2 2,2h14c1.1,0 2,-0.9 2,-2L21,6c0,-1.1 -0.9,-2 -2,-2zM19,18L5,18L5,6h14v12zM7,15h3c0.55,0 1,-0.45 1,-1v-1L9.5,13v0.5h-2v-3h2v0.5L11,11v-1c0,-0.55 -0.45,-1 -1,-1L7,9c-0.55,0 -1,0.45 -1,1v4c0,0.55 0.45,1 1,1zM14,15h3c0.55,0 1,-0.45 1,-1v-1h-1.5v0.5h-2v-3h2v0.5L18,11v-1c0,-0.55 -0.45,-1 -1,-1h-3c-0.55,0 -1,0.45 -1,1v4c0,0.55 0.45,1 1,1z"
android:fillColor="@color/white"/>
android:fillColor="@android:color/white"/>
</vector>

View file

@ -9,20 +9,20 @@
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
<path
android:pathData="M7,10l5,5l5,-5"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
<path
android:pathData="M12,15L12,3"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
</vector>

View file

@ -8,13 +8,13 @@
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
<path
android:pathData="M2,19l9,-7l-9,-7l0,14z"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
</vector>

View file

@ -9,14 +9,14 @@
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
<path
android:pathData="M20.3 18c.4-1 .7-2.2.7-3.4C21 9.8 17 6 12 6s-9 3.8-9 8.6c0 1.2.3 2.4.7 3.4"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
</vector>

View file

@ -8,6 +8,6 @@
android:strokeLineJoin="round"
android:strokeWidth="4"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
</vector>

View file

@ -9,34 +9,34 @@
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
<path
android:pathData="M17.5,10.5m-0.5,0a0.5,0.5 0,1 1,1 0a0.5,0.5 0,1 1,-1 0"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
<path
android:pathData="M8.5,7.5m-0.5,0a0.5,0.5 0,1 1,1 0a0.5,0.5 0,1 1,-1 0"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
<path
android:pathData="M6.5,12.5m-0.5,0a0.5,0.5 0,1 1,1 0a0.5,0.5 0,1 1,-1 0"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
<path
android:pathData="M12,2C6.5,2 2,6.5 2,12s4.5,10 10,10c0.926,0 1.648,-0.746 1.648,-1.688 0,-0.437 -0.18,-0.835 -0.437,-1.125 -0.29,-0.289 -0.438,-0.652 -0.438,-1.125a1.64,1.64 0,0 1,1.668 -1.668h1.996c3.051,0 5.555,-2.503 5.555,-5.554C21.965,6.012 17.461,2 12,2z"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
</vector>

View file

@ -8,13 +8,13 @@
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
<path
android:pathData="M22,19l-9,-7l9,-7l0,14z"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
</vector>

View file

@ -8,13 +8,13 @@
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
<path
android:pathData="M3,13a9,9 0,1 0,3 -7.7L3,8"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
</vector>

View file

@ -8,13 +8,13 @@
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
<path
android:pathData="M5,19L5,5"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
</vector>

View file

@ -8,13 +8,13 @@
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
<path
android:pathData="M19,5L19,19"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
</vector>

View file

@ -9,20 +9,20 @@
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
<path
android:pathData="M12,14m-4,0a4,4 0,1 1,8 0a4,4 0,1 1,-8 0"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
<path
android:pathData="M12,6L12.01,6"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
</vector>

View file

@ -8,62 +8,62 @@
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
<path
android:pathData="M12,2v2"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
<path
android:pathData="M12,20v2"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
<path
android:pathData="M5,5l1.5,1.5"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
<path
android:pathData="M17.5,17.5L19,19"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
<path
android:pathData="M2,12h2"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
<path
android:pathData="M20,12h2"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
<path
android:pathData="M5,19l1.5,-1.5"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
<path
android:pathData="M17.5,6.5L19,5"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
</vector>

View file

@ -8,27 +8,27 @@
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
<path
android:pathData="M19,6v14a2,2 0,0 1,-2 2H7a2,2 0,0 1,-2 -2V6m3,0V4a2,2 0,0 1,2 -2h4a2,2 0,0 1,2 2v2"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
<path
android:pathData="M10,11L10,17"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
<path
android:pathData="M14,11L14,17"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
</vector>

View file

@ -8,13 +8,13 @@
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
<path
android:pathData="M19.07,4.93a10,10 0,0 1,0 14.14M15.54,8.46a5,5 0,0 1,0 7.07"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="@color/white"
android:strokeColor="@android:color/white"
android:strokeLineCap="round"/>
</vector>

View file

@ -11,7 +11,7 @@
<item android:id="@android:id/progress">
<scale android:scaleGravity="bottom" android:scaleWidth="0%" android:scaleHeight="100%">
<shape >
<solid android:color="@color/white"/>
<solid android:color="@android:color/white"/>
<corners android:radius="100dp"/>
</shape>
</scale>

View file

@ -3,7 +3,7 @@
android:color="?attr/colorControlHighlight">
<item android:id="@android:id/mask">
<shape android:shape="oval">
<solid android:color="@color/white" />
<solid android:color="@android:color/white" />
</shape>
</item>
<item>

View file

@ -38,8 +38,6 @@
<color name="neutral_50">#F7FBFF</color>
<color name="transparent_white_300">#4DFFFFFF</color>
<color name="transparent_black_300">#4D000000</color>
<color name="black">#FF000000</color>
<color name="white">#FFFFFFFF</color>
<color name="red">#EB5757</color>
<color name="yellow">#F2C94C</color>
<color name="player_background">#AA000000</color>

View file

@ -5,13 +5,13 @@
<style name="Base.Theme.Findroid" parent="Theme.Material3.DayNight.NoActionBar">
<!-- Primary -->
<item name="colorPrimary">@color/primary_light</item>
<item name="colorOnPrimary">@color/white</item>
<item name="colorOnPrimary">@android:color/white</item>
<item name="colorPrimaryContainer">@color/primary_container_light</item>
<item name="colorOnPrimaryContainer">@color/on_primary_container_light</item>
<!-- Secondary -->
<item name="colorSecondary">@color/secondary_light</item>
<item name="colorOnSecondary">@color/white</item>
<item name="colorOnSecondary">@android:color/white</item>
<item name="colorSecondaryContainer">@color/secondary_container_light</item>
<item name="colorOnSecondaryContainer">@color/on_secondary_container_light</item>
@ -21,7 +21,7 @@
<!-- Error -->
<item name="colorError">@color/red</item>
<item name="colorOnError">@color/white</item>
<item name="colorOnError">@android:color/white</item>
<!-- Status bar -->
<item name="android:statusBarColor">?attr/colorSurface</item>