mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 18:35:40 +03:00
Change logo in login screen.
This commit is contained in:
parent
f025811025
commit
8237c949f1
5 changed files with 32 additions and 10 deletions
22
vector/src/main/res/drawable/element_logo_green.xml
Normal file
22
vector/src/main/res/drawable/element_logo_green.xml
Normal file
|
@ -0,0 +1,22 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="64dp"
|
||||
android:height="64dp"
|
||||
android:viewportWidth="64"
|
||||
android:viewportHeight="64">
|
||||
<path
|
||||
android:pathData="M23.04,3.84C23.04,1.7192 24.7593,0 26.88,0C41.0185,0 52.48,11.4615 52.48,25.6C52.48,27.7208 50.7608,29.44 48.64,29.44C46.5193,29.44 44.8,27.7208 44.8,25.6C44.8,15.7031 36.777,7.68 26.88,7.68C24.7593,7.68 23.04,5.9608 23.04,3.84Z"
|
||||
android:fillColor="#0DBD8B"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M40.96,60.16C40.96,62.2808 39.2407,64 37.12,64C22.9815,64 11.52,52.5385 11.52,38.4C11.52,36.2792 13.2392,34.56 15.36,34.56C17.4807,34.56 19.2,36.2792 19.2,38.4C19.2,48.2969 27.223,56.32 37.12,56.32C39.2407,56.32 40.96,58.0392 40.96,60.16Z"
|
||||
android:fillColor="#0DBD8B"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M3.84,40.96C1.7192,40.96 -0,39.2407 -0,37.12C-0,22.9815 11.4615,11.52 25.6,11.52C27.7208,11.52 29.44,13.2392 29.44,15.36C29.44,17.4807 27.7208,19.2 25.6,19.2C15.7031,19.2 7.68,27.223 7.68,37.12C7.68,39.2407 5.9608,40.96 3.84,40.96Z"
|
||||
android:fillColor="#0DBD8B"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M60.16,23.04C62.2808,23.04 64,24.7593 64,26.88C64,41.0185 52.5385,52.48 38.4,52.48C36.2792,52.48 34.56,50.7608 34.56,48.64C34.56,46.5193 36.2792,44.8 38.4,44.8C48.2969,44.8 56.32,36.777 56.32,26.88C56.32,24.7593 58.0392,23.04 60.16,23.04Z"
|
||||
android:fillColor="#0DBD8B"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
|
@ -2,15 +2,15 @@
|
|||
<animation-list xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:oneshot="false">
|
||||
<item
|
||||
android:drawable="@drawable/riot_splash_white"
|
||||
android:drawable="@drawable/element_logo_green"
|
||||
android:duration="@integer/splash_animation_velocity" />
|
||||
<item
|
||||
android:drawable="@drawable/riot_splash_white"
|
||||
android:drawable="@drawable/element_logo_green"
|
||||
android:duration="@integer/splash_animation_velocity" />
|
||||
<item
|
||||
android:drawable="@drawable/riot_splash_white"
|
||||
android:drawable="@drawable/element_logo_green"
|
||||
android:duration="@integer/splash_animation_velocity" />
|
||||
<item
|
||||
android:drawable="@drawable/riot_splash_white"
|
||||
android:drawable="@drawable/element_logo_green"
|
||||
android:duration="@integer/splash_animation_velocity" />
|
||||
</animation-list>
|
|
@ -20,9 +20,9 @@
|
|||
|
||||
<ImageView
|
||||
android:id="@+id/loginSplashLogo"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/riotx_logo"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:src="@drawable/element_logo_green"
|
||||
android:transitionName="loginLogoTransition"
|
||||
app:layout_constraintBottom_toTopOf="@+id/loginSplashTitle"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
@ -34,7 +34,7 @@
|
|||
android:id="@+id/loginSplashTitle"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="48dp"
|
||||
android:layout_marginTop="120dp"
|
||||
android:text="@string/login_splash_title"
|
||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title"
|
||||
android:transitionName="loginTitleTransition"
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="32dp"
|
||||
android:importantForAccessibility="no"
|
||||
android:src="@drawable/riotx_logo" />
|
||||
android:src="@drawable/element_logo_green" />
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<item name="android:id">@id/loginLogo</item>
|
||||
<item name="android:layout_width">60dp</item>
|
||||
<item name="android:layout_height">60dp</item>
|
||||
<item name="android:src">@drawable/riotx_logo</item>
|
||||
<item name="android:src">@drawable/element_logo_green</item>
|
||||
<item name="android:importantForAccessibility">no</item>
|
||||
<item name="layout_constraintTop_toTopOf">parent</item>
|
||||
<item name="layout_constraintStart_toStartOf">parent</item>
|
||||
|
|
Loading…
Reference in a new issue