Updated mountains drawable to properly handle main color change

This commit is contained in:
Sylvain Berfini 2024-04-26 13:55:52 +02:00
parent f532214e1a
commit 42e2a1c040
2 changed files with 8 additions and 20 deletions

View file

@ -1,5 +1,4 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="1084dp"
android:height="108dp"
android:viewportWidth="1084"
@ -7,28 +6,16 @@
<path
android:pathData="M0,0.3L272.6,54.7L413.7,36.2L473.3,0L598.8,48.3L807.8,0.8L990.4,36.3L1084,0.9L1084,108H0V0.3Z"
android:strokeAlpha="0.9"
android:fillColor="#FFB9A0"
android:fillAlpha="0.9"/>
android:fillColor="#FF5E00"
android:fillAlpha="0.3"/>
<path
android:pathData="M0,38.1L246.1,8.7L323,30.1L391.8,28L466.9,50.5L587.5,22.1L727.8,60L817.8,31.2L967,75.1L1056.5,25.1L1084,38.1L1084,107H0V38.1Z"
android:strokeAlpha="0.9"
android:fillColor="#FF9E79"
android:fillAlpha="0.9"/>
android:fillColor="#FF5E00"
android:fillAlpha="0.5"/>
<path
android:pathData="M0,108V101.9L132.4,59.5L288.2,71.7L358.8,64.3L416.5,82.8L595.2,98.1L727.8,61L842.1,68.4L926.6,39.1L1025.3,67.1L1084,101.9L1084,108H0Z"
android:strokeAlpha="0.9"
android:fillAlpha="0.9">
<aapt:attr name="android:fillColor">
<gradient
android:startX="542"
android:startY="76"
android:endX="542"
android:endY="105.5"
android:type="linear">
<item android:offset="0" android:color="#FFFF723B"/>
<item android:offset="0.9" android:color="#DDFFFFFF"/>
<item android:offset="1" android:color="#FFFFFFFF"/>
</gradient>
</aapt:attr>
</path>
android:fillColor="#FF5E00"
android:fillAlpha="0.7"/>
</vector>

View file

@ -60,7 +60,8 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/back"
app:layout_constraintBottom_toBottomOf="@id/title"/>
app:layout_constraintBottom_toBottomOf="@id/title"
app:tint="@color/main1_500" />
<androidx.appcompat.widget.AppCompatTextView
style="@style/assistant_page_title_style"