mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 19:38:08 +00:00
Added gradient to assistant & welcome header image
This commit is contained in:
parent
1445760cc0
commit
df728f6856
14 changed files with 46 additions and 39 deletions
|
|
@ -1,27 +0,0 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="481.54dp"
|
||||
android:height="54.66dp"
|
||||
android:viewportWidth="481.54"
|
||||
android:viewportHeight="54.66">
|
||||
<path
|
||||
android:pathData="m0,0.15 l121.11,27.53 62.69,-9.36 26.46,-18.32 55.77,24.42 92.81,-24.02 81.12,17.95 41.59,-17.92 0,54.22h-481.54z"
|
||||
android:strokeLineJoin="miter"
|
||||
android:strokeWidth="0.264583"
|
||||
android:fillColor="#ffb9a0"
|
||||
android:strokeColor="#00000000"
|
||||
android:strokeLineCap="butt"/>
|
||||
<path
|
||||
android:pathData="m0,19.77 l109.31,-14.89 34.19,10.88 30.53,-1.11 33.38,11.4 53.56,-14.36 62.33,19.19 40.01,-14.59 66.24,22.22 39.77,-25.27 12.22,6.55 0,34.88 -481.54,0z"
|
||||
android:strokeLineJoin="miter"
|
||||
android:strokeWidth="0.264583"
|
||||
android:fillColor="#ff9e79"
|
||||
android:strokeColor="#00000000"
|
||||
android:strokeLineCap="butt"/>
|
||||
<path
|
||||
android:pathData="m0,54.66 l0,-3.09 58.83,-21.45 69.2,6.16 31.34,-3.72 25.64,9.36 79.38,7.73 58.91,-18.78 50.76,3.72 37.58,-14.83 43.84,14.2 26.07,17.6 0,3.09z"
|
||||
android:strokeLineJoin="miter"
|
||||
android:strokeWidth="0.264583"
|
||||
android:fillColor="#ff723b"
|
||||
android:strokeColor="#00000000"
|
||||
android:strokeLineCap="butt"/>
|
||||
</vector>
|
||||
34
app/src/main/res/drawable/mountains.xml
Normal file
34
app/src/main/res/drawable/mountains.xml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<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"
|
||||
android:viewportHeight="108">
|
||||
<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"/>
|
||||
<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"/>
|
||||
<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>
|
||||
</vector>
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
android:id="@+id/header"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:src="@drawable/header"
|
||||
android:src="@drawable/mountains"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="fitXY"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
android:id="@+id/header"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:src="@drawable/header"
|
||||
android:src="@drawable/mountains"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="fitXY"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
android:id="@+id/header"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:src="@drawable/header"
|
||||
android:src="@drawable/mountains"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="fitXY"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginTop="19dp"
|
||||
android:src="@drawable/header"
|
||||
android:src="@drawable/mountains"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginTop="19dp"
|
||||
android:src="@drawable/header"
|
||||
android:src="@drawable/mountains"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
android:id="@+id/image"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:src="@drawable/header"
|
||||
android:src="@drawable/mountains"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginTop="19dp"
|
||||
android:src="@drawable/header"
|
||||
android:src="@drawable/mountains"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginTop="19dp"
|
||||
android:src="@drawable/header"
|
||||
android:src="@drawable/mountains"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginTop="19dp"
|
||||
android:src="@drawable/header"
|
||||
android:src="@drawable/mountains"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
android:id="@+id/header"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:src="@drawable/header"
|
||||
android:src="@drawable/mountains"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
android:id="@+id/header"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:src="@drawable/header"
|
||||
android:src="@drawable/mountains"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
android:id="@+id/header"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:src="@drawable/header"
|
||||
android:src="@drawable/mountains"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue