mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Fixed splashscreen color in dark mode & window background color for bottom system bar, other color related improvements
This commit is contained in:
parent
a3ed13bc79
commit
3cdcc4bb77
12 changed files with 16 additions and 15 deletions
|
|
@ -89,7 +89,7 @@
|
|||
android:gravity="center_vertical|start"
|
||||
android:text="@{model.lastMessageTextSender, default=`John Doe:`}"
|
||||
android:textSize="14sp"
|
||||
android:textColor="?attr/color_main2_400"
|
||||
android:textColor="?attr/color_main2_500"
|
||||
android:visibility="@{model.isBeingDeleted || model.lastMessageTextSender.length() == 0 || model.isComposing ? View.GONE : View.VISIBLE}"
|
||||
textFont="@{model.isBeingDeleted || model.unreadMessageCount > 0 || model.isComposing ? NotoSansFont.NotoSansBold : NotoSansFont.NotoSansRegular}"
|
||||
app:layout_constraintStart_toStartOf="@id/title"
|
||||
|
|
@ -121,7 +121,7 @@
|
|||
android:ellipsize="end"
|
||||
android:text="@{model.isBeingDeleted ? @string/conversations_list_is_being_removed_label : model.isComposing ? model.composingLabel : model.lastMessageText, default=`Hello there!`}"
|
||||
android:textSize="14sp"
|
||||
android:textColor="?attr/color_main2_400"
|
||||
android:textColor="?attr/color_main2_500"
|
||||
textFont="@{model.isBeingDeleted || model.unreadMessageCount > 0 || model.isComposing ? NotoSansFont.NotoSansBold : NotoSansFont.NotoSansRegular}"
|
||||
app:layout_constraintStart_toEndOf="@id/last_message_forward"
|
||||
app:layout_constraintEnd_toStartOf="@id/right_border"
|
||||
|
|
@ -181,7 +181,7 @@
|
|||
app:layout_constraintEnd_toStartOf="@id/last_sent_message_status"
|
||||
app:layout_constraintTop_toBottomOf="@id/date_time"
|
||||
app:layout_constraintBottom_toTopOf="@id/separator"
|
||||
app:tint="?attr/color_main2_400" />
|
||||
app:tint="?attr/color_main2_600" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ephemeral"
|
||||
|
|
@ -194,7 +194,7 @@
|
|||
app:layout_constraintEnd_toStartOf="@id/muted"
|
||||
app:layout_constraintTop_toBottomOf="@id/date_time"
|
||||
app:layout_constraintBottom_toTopOf="@id/separator"
|
||||
app:tint="?attr/color_main2_400" />
|
||||
app:tint="?attr/color_main2_600" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/warning_not_secured"
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:text="@{model.avatarModel.name, default=`John Doe`}"
|
||||
android:textSize="14sp"
|
||||
android:textColor="?attr/color_main2_800"
|
||||
android:layout_marginStart="10dp"
|
||||
app:layout_constraintVertical_chainStyle="packed"
|
||||
app:layout_constraintStart_toEndOf="@id/avatar"
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@
|
|||
android:textSize="14sp"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="end"
|
||||
android:textColor="?attr/color_main2_700"
|
||||
android:textColor="?attr/color_main2_800"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/avatar"/>
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@
|
|||
android:text="@{model.name, default=`John Doe`}"
|
||||
android:textSize="14sp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:textColor="?attr/color_main2_700"
|
||||
android:textColor="?attr/color_main2_800"
|
||||
app:layout_constraintStart_toEndOf="@id/avatar"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"/>
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@
|
|||
android:textSize="14sp"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="end"
|
||||
android:textColor="?attr/color_main2_700"
|
||||
android:textColor="?attr/color_main2_800"
|
||||
app:layout_constraintStart_toEndOf="@id/avatar"
|
||||
app:layout_constraintEnd_toStartOf="@id/selected"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@
|
|||
android:textSize="14sp"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="end"
|
||||
android:textColor="?attr/color_main2_700"
|
||||
android:textColor="?attr/color_main2_800"
|
||||
app:layout_constraintStart_toEndOf="@id/avatar"
|
||||
app:layout_constraintEnd_toStartOf="@id/selected"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@
|
|||
android:textSize="14sp"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="end"
|
||||
android:textColor="?attr/color_main2_700"
|
||||
android:textColor="?attr/color_main2_800"
|
||||
app:layout_constraintStart_toEndOf="@id/avatar"
|
||||
app:layout_constraintEnd_toStartOf="@id/selected"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@
|
|||
android:layout_marginStart="10dp"
|
||||
android:text="@{model.avatarModel.name, default=`John Doe`}"
|
||||
android:textSize="14sp"
|
||||
android:textColor="?attr/color_main2_700"
|
||||
android:textColor="?attr/color_main2_800"
|
||||
app:layout_constraintStart_toEndOf="@id/avatar"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@id/date_time"/>
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@
|
|||
android:layout_marginEnd="16dp"
|
||||
android:text="@{model.subject, default=`Meeting with John`}"
|
||||
android:textSize="13sp"
|
||||
android:textColor="?attr/color_main2_600"
|
||||
android:textColor="?attr/color_main2_800"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="end"
|
||||
android:drawableStart="@{model.isBroadcast ? @drawable/slideshow : @drawable/video_conference, default=@drawable/video_conference}"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<resources>
|
||||
<style name="AppSplashScreenTheme" parent="Theme.SplashScreen">
|
||||
<item name="windowSplashScreenBackground">@color/bc_black</item>
|
||||
<item name="windowSplashScreenBackground">@color/background_color_alt_dark_mode</item>
|
||||
<item name="windowSplashScreenAnimatedIcon">@drawable/linphone_splashscreen</item>
|
||||
<item name="postSplashScreenTheme">@style/Theme.Linphone</item>
|
||||
<item name="android:windowSplashScreenBrandingImage">
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="AppSplashScreenTheme" parent="Theme.SplashScreen">
|
||||
<item name="windowSplashScreenBackground">@color/bc_black</item>
|
||||
<item name="windowSplashScreenBackground">@color/background_color_alt_dark_mode</item>
|
||||
<item name="windowSplashScreenAnimatedIcon">@drawable/linphone_splashscreen</item>
|
||||
<item name="postSplashScreenTheme">@style/Theme.Linphone</item>
|
||||
<item name="android:windowSplashScreenBrandingImage">
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<resources>
|
||||
<style name="AppSplashScreenTheme" parent="Theme.SplashScreen">
|
||||
<item name="windowSplashScreenBackground">@color/background_color_dark_mode</item>
|
||||
<item name="windowSplashScreenBackground">@color/background_color_alt_dark_mode</item>
|
||||
<item name="windowSplashScreenAnimatedIcon">@drawable/linphone_splashscreen</item>
|
||||
<item name="postSplashScreenTheme">@style/Theme.Linphone</item>
|
||||
</style>
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
|
||||
<!-- Customize your theme here. -->
|
||||
<item name="android:windowActivityTransitions">true</item>
|
||||
<item name="android:windowBackground">@color/background_color_dark_mode</item>
|
||||
<item name="android:windowBackground">@color/background_color_alt_dark_mode</item>
|
||||
<item name="android:statusBarColor">?attr/color_main1_500</item>
|
||||
|
||||
<item name="color_main1_100">@color/orange_main_900</item>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue