Use the new font for the application name in main activity

This commit is contained in:
lynxnb 2021-09-14 12:42:33 +02:00
parent 7ec533885c
commit 827439d2d1
2 changed files with 34 additions and 8 deletions

View File

@ -0,0 +1,27 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="306.8dp"
android:height="86.4dp"
android:viewportWidth="306.8"
android:viewportHeight="86.4">
<path
android:fillColor="#FF000000"
android:pathData="M25.3,69.4c-4.7,0.1 -9.4,-0.7 -13.8,-2.6c-3.4,-1.5 -6.3,-3.8 -8.4,-6.8c-1.8,-2.6 -2.9,-5.6 -3.1,-8.8c0,-0.5 0.2,-1 0.5,-1.4c0.3,-0.4 0.8,-0.6 1.3,-0.6h7.9c0.6,0 1.2,0.1 1.7,0.5c0.4,0.4 0.7,0.8 1,1.3c0.4,1.3 1.1,2.5 2,3.5c1.1,1.3 2.6,2.2 4.1,2.9c2.1,0.8 4.3,1.2 6.6,1.1c4.3,0 7.4,-0.8 9.5,-2.3c2,-1.4 3.2,-3.7 3.1,-6.1c0.1,-1.6 -0.5,-3.2 -1.7,-4.4c-1.5,-1.3 -3.3,-2.3 -5.2,-3c-3,-1.1 -6.1,-2.1 -9.3,-2.9c-3.8,-0.9 -7.6,-2.3 -11.1,-4.1c-2.7,-1.4 -5.1,-3.5 -6.7,-6.1c-1.6,-2.8 -2.4,-6.1 -2.3,-9.3c-0.1,-3.4 0.9,-6.8 2.8,-9.7c2,-2.9 4.8,-5.3 8,-6.7c3.9,-1.7 8.1,-2.6 12.3,-2.4C28.3,1.5 31.7,2 35,3.2c2.7,1 5.2,2.4 7.4,4.3c1.8,1.6 3.3,3.6 4.5,5.8c1,1.9 1.5,3.9 1.6,6c0,0.5 -0.2,1 -0.5,1.4c-0.3,0.4 -0.8,0.6 -1.4,0.6h-8.3c-0.5,0 -1,-0.1 -1.4,-0.4c-0.5,-0.3 -0.9,-0.8 -1.2,-1.4c-0.4,-2.1 -1.7,-3.9 -3.5,-5c-2.2,-1.5 -4.9,-2.2 -7.5,-2.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.9,-0.2 4.2,-0.8c1,-0.5 1.9,-1.1 2.8,-1.9c0.6,-0.5 1.1,-1.1 1.5,-1.7c0.3,-0.5 0.8,-1 1.3,-1.3c0.5,-0.2 1,-0.3 1.5,-0.2h7.6c0.5,0 1.1,0.2 1.5,0.6c0.4,0.4 0.6,0.9 0.5,1.4c-0.2,1.3 -0.7,2.6 -1.5,3.7c-1.1,1.6 -2.4,3.1 -3.9,4.2c-1.9,1.5 -4.1,2.7 -6.4,3.4C290.9,69.1 287.9,69.5 284.9,69.4zM275.2,39.7h19.6v-0.3c0,-2.2 -0.3,-4.4 -1.2,-6.4c-0.7,-1.7 -1.9,-3.2 -3.4,-4.3c-3.2,-2.1 -7.4,-2.1 -10.6,0c-1.5,1.1 -2.6,2.6 -3.3,4.3c-0.8,2 -1.2,4.2 -1.1,6.4V39.7z"/>
</vector>

View File

@ -76,20 +76,19 @@
app:srcCompat="@drawable/ic_settings"
app:tint="?android:attr/textColorSecondary" />
<TextView
<ImageView
android:id="@+id/title_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="30dp"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="16dp"
android:fontFamily="sans-serif-medium"
android:text="@string/app_name"
android:textColor="?android:attr/textColorPrimary"
android:textSize="32sp"
android:textStyle="bold"
android:scaleType="fitStart"
app:srcCompat="@drawable/skyline_text"
app:layout_constraintEnd_toStartOf="@id/refresh_icon"
app:layout_constraintTop_toTopOf="parent" />
app:layout_constraintTop_toTopOf="parent"
app:tint="?android:attr/textColorPrimary"
android:contentDescription="@string/app_name" />
<TextView
android:id="@+id/sub_text"