rebrand: fix splash screen

This commit is contained in:
hayzam 2024-03-01 17:22:34 +04:00
parent c4adf939f4
commit 8c7bbd92dd
9 changed files with 45 additions and 79 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

View file

@ -1,20 +1,19 @@
<vector
xmlns:android="http://schemas.android.com/apk/res/android"
android:name="vector"
android:width="60dp"
android:height="60dp"
android:width="30dp"
android:height="30dp"
android:viewportWidth="60"
android:viewportHeight="60">
<group
android:name="group"
android:translateX="15"
android:translateY="15"
android:scaleX="0.5"
android:scaleY="0.5">
<path
android:name="path"
android:pathData="M 53.893 48.839 C 56.543 45.357 58.459 41.276 59.39 36.828 C 51.515 43.716 41.339 47.882 30.236 47.882 C 19.111 47.882 9.047 43.873 1.173 36.976 C 4.074 50.479 15.993 60.599 30.266 60.599 C 36.279 60.598 41.87 58.797 46.551 55.708 C 49.343 57.294 56.667 61.285 57.624 60.051 C 58.282 59.201 56.671 55.692 56.671 55.692 L 53.893 48.839 Z M 59.301 21.99 C 59.189 21.455 58.702 20.063 58.702 20.063 C 54.383 8.89 42.981 0.963 30.318 0.963 L 30.245 0.963 C 24.273 0.963 18.582 2.728 13.782 5.763 C 11.591 4.504 3.17 -0.209 2.138 1.115 C 1.48 1.962 3.092 5.461 3.092 5.461 L 6.052 12.731 C 4.31 14.952 2.884 17.415 1.86 20.063 C 1.86 20.063 1.373 21.455 1.261 21.99 C 1.101 22.752 0.883 24.274 0.883 24.274 L 4.937 20.151 C 4.937 20.151 7.942 21.927 10.81 22.819 C 11.936 23.168 13.046 23.566 14.185 23.852 C 15.909 24.285 16.698 25.828 16.693 27.244 C 16.688 28.443 16.696 29.639 16.689 30.838 C 16.688 31.38 16.879 31.784 17.365 32.067 C 18.49 32.72 19.705 33.117 20.955 33.44 C 24.199 34.277 26.923 34.736 30.245 34.701 L 30.318 34.701 C 33.64 34.736 36.364 34.277 39.608 33.44 C 40.858 33.117 42.072 32.72 43.198 32.067 C 43.684 31.784 43.874 31.38 43.873 30.838 C 43.866 29.639 43.874 28.443 43.869 27.244 C 43.864 25.828 44.653 24.285 46.377 23.852 C 47.516 23.566 48.628 23.168 49.752 22.819 C 52.62 21.927 55.626 20.151 55.626 20.151 L 59.68 24.274 C 59.68 24.274 59.462 22.752 59.301 21.99"
android:fillColor="@color/primary_color"
android:strokeWidth="1"/>
android:scaleX="0.09"
android:scaleY="0.09">
<path android:fillColor="#4a6fa5"
android:pathData="M369.78,166.23l-96,166.23l-191.51,0l-82.27,-142.47l54.78,0l54.84,94.98l136.77,0l68.58,-118.74l-68.58,-118.74l-136.77,0l-54.84,94.98l-54.78,0l82.27,-142.47l191.51,0l96,166.23z" android:strokeWidth="0"/>
<path android:fillColor="#4a6fa5"
android:pathData="M219.07,94.98l-82.3,0l-27.41,47.49l82.32,0l13.73,23.76l-13.73,23.76l-82.32,0l27.41,47.49l82.3,0l41.12,-71.25l-41.12,-71.25z" android:strokeWidth="0"/>
</group>
</vector>

View file

@ -0,0 +1,20 @@
<vector
xmlns:android="http://schemas.android.com/apk/res/android"
android:name="vector"
android:width="60dp"
android:height="60dp"
android:viewportWidth="60"
android:viewportHeight="60">
<group
android:name="group"
android:translateX="15"
android:translateY="15"
android:scaleX="0.5"
android:scaleY="0.5">
<path
android:name="path"
android:pathData="M 53.893 48.839 C 56.543 45.357 58.459 41.276 59.39 36.828 C 51.515 43.716 41.339 47.882 30.236 47.882 C 19.111 47.882 9.047 43.873 1.173 36.976 C 4.074 50.479 15.993 60.599 30.266 60.599 C 36.279 60.598 41.87 58.797 46.551 55.708 C 49.343 57.294 56.667 61.285 57.624 60.051 C 58.282 59.201 56.671 55.692 56.671 55.692 L 53.893 48.839 Z M 59.301 21.99 C 59.189 21.455 58.702 20.063 58.702 20.063 C 54.383 8.89 42.981 0.963 30.318 0.963 L 30.245 0.963 C 24.273 0.963 18.582 2.728 13.782 5.763 C 11.591 4.504 3.17 -0.209 2.138 1.115 C 1.48 1.962 3.092 5.461 3.092 5.461 L 6.052 12.731 C 4.31 14.952 2.884 17.415 1.86 20.063 C 1.86 20.063 1.373 21.455 1.261 21.99 C 1.101 22.752 0.883 24.274 0.883 24.274 L 4.937 20.151 C 4.937 20.151 7.942 21.927 10.81 22.819 C 11.936 23.168 13.046 23.566 14.185 23.852 C 15.909 24.285 16.698 25.828 16.693 27.244 C 16.688 28.443 16.696 29.639 16.689 30.838 C 16.688 31.38 16.879 31.784 17.365 32.067 C 18.49 32.72 19.705 33.117 20.955 33.44 C 24.199 34.277 26.923 34.736 30.245 34.701 L 30.318 34.701 C 33.64 34.736 36.364 34.277 39.608 33.44 C 40.858 33.117 42.072 32.72 43.198 32.067 C 43.684 31.784 43.874 31.38 43.873 30.838 C 43.866 29.639 43.874 28.443 43.869 27.244 C 43.864 25.828 44.653 24.285 46.377 23.852 C 47.516 23.566 48.628 23.168 49.752 22.819 C 52.62 21.927 55.626 20.151 55.626 20.151 L 59.68 24.274 C 59.68 24.274 59.462 22.752 59.301 21.99"
android:fillColor="@color/primary_color"
android:strokeWidth="1"/>
</group>
</vector>

View file

@ -76,49 +76,13 @@
android:padding="20dp">
<ImageView
android:layout_width="50dp"
android:layout_width="250dp"
android:layout_height="wrap_content"
android:layout_gravity="clip_horizontal|center|center_vertical"
android:adjustViewBounds="true"
android:layout_gravity="center"
android:layout_marginBottom="10dp"
android:contentDescription="@null"
android:src="@drawable/linphone_logo_tinted"/>
<ImageView
android:layout_width="125dp"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:layout_gravity="center"
android:contentDescription="@null"
android:src="@drawable/linphone_app_name_logo" />
<TextView
android:textSize="13sp"
android:textColor="?accentColor"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/app_description" />
<TextView
style="@style/about_version_font"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:paddingTop="20dp"
android:textColorLink="?attr/secondaryTextColor"
android:text="@{String.format(@string/about_version, viewModel.appVersion)}" />
<TextView
style="@style/about_version_font"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:textColorLink="?attr/secondaryTextColor"
android:text="@{String.format(@string/about_liblinphone_sdk_version, viewModel.sdkVersion)}" />
</LinearLayout>
<LinearLayout

View file

@ -79,30 +79,13 @@
android:padding="20dp">
<ImageView
android:layout_width="50dp"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:layout_width="169dp"
android:layout_height="56dp"
android:layout_gravity="center"
android:layout_marginBottom="10dp"
android:contentDescription="@null"
android:src="@drawable/linphone_logo_tinted"/>
<ImageView
android:layout_width="125dp"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:layout_gravity="center"
android:contentDescription="@null"
android:src="@drawable/linphone_app_name_logo" />
<TextView
android:textSize="13sp"
android:textColor="?accentColor"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/app_description" />
<TextView
style="@style/about_version_font"
android:layout_width="wrap_content"
@ -110,9 +93,9 @@
android:layout_gravity="center"
android:gravity="center"
android:paddingTop="20dp"
android:text="@{String.format(@string/about_version, viewModel.appVersion)}"
android:textColorLink="?attr/secondaryTextColor"
android:textIsSelectable="true"
android:text="@{String.format(@string/about_version, viewModel.appVersion)}" />
android:textIsSelectable="true" />
<TextView
style="@style/about_version_font"
@ -120,9 +103,9 @@
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:text="@{String.format(@string/about_liblinphone_sdk_version, viewModel.sdkVersion)}"
android:textColorLink="?attr/secondaryTextColor"
android:textIsSelectable="true"
android:text="@{String.format(@string/about_liblinphone_sdk_version, viewModel.sdkVersion)}" />
android:textIsSelectable="true" />
</LinearLayout>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB