mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-11 18:29:05 +01:00
Use new colors for step bubbles when adding contacts remotely
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
android:radius="32dp"/>
|
||||
|
||||
<solid
|
||||
android:color="@color/briar_lime_600"/>
|
||||
android:color="@color/step_bubble_completed_background"/>
|
||||
|
||||
</shape>
|
||||
|
||||
|
||||
13
briar-android/src/main/res/drawable/bubble_current.xml
Normal file
13
briar-android/src/main/res/drawable/bubble_current.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<corners
|
||||
android:radius="32dp"/>
|
||||
|
||||
<solid
|
||||
android:color="@color/step_bubble_current_background"/>
|
||||
|
||||
</shape>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
android:radius="32dp"/>
|
||||
|
||||
<solid
|
||||
android:color="@color/briar_accent"/>
|
||||
android:color="@color/step_bubble_future_background"/>
|
||||
|
||||
</shape>
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
android:layout_height="1dp"
|
||||
android:layout_margin="16dp"
|
||||
android:alpha="0.5"
|
||||
android:background="@color/briar_accent"
|
||||
android:background="@color/step_bubble_current_background"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/stepOne"
|
||||
app:layout_constraintEnd_toStartOf="@+id/stepTwo"
|
||||
app:layout_constraintStart_toEndOf="@+id/stepOne"
|
||||
@@ -94,12 +94,12 @@
|
||||
android:layout_width="38dp"
|
||||
android:layout_height="38dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:background="@drawable/bubble_accent"
|
||||
android:background="@drawable/bubble_current"
|
||||
android:scaleType="center"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/imageView"
|
||||
app:srcCompat="@drawable/ic_call_made"
|
||||
app:tint="@android:color/white" />
|
||||
app:tint="@color/step_bubble_current_foreground" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/yourLink"
|
||||
@@ -166,12 +166,12 @@
|
||||
android:layout_width="38dp"
|
||||
android:layout_height="38dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:background="@drawable/bubble_accent"
|
||||
android:background="@drawable/bubble_current"
|
||||
android:scaleType="center"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/copyButton"
|
||||
app:srcCompat="@drawable/ic_call_received"
|
||||
app:tint="@android:color/white" />
|
||||
app:tint="@color/step_bubble_current_foreground" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/inputLink"
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="1dp"
|
||||
android:layout_margin="16dp"
|
||||
android:background="@color/briar_accent"
|
||||
android:background="@color/step_bubble_current_background"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/stepOne"
|
||||
app:layout_constraintEnd_toStartOf="@+id/stepTwo"
|
||||
app:layout_constraintStart_toEndOf="@+id/stepOne"
|
||||
@@ -96,13 +96,13 @@
|
||||
android:layout_width="38dp"
|
||||
android:layout_height="38dp"
|
||||
android:layout_marginTop="32dp"
|
||||
android:background="@drawable/bubble_accent"
|
||||
android:background="@drawable/bubble_current"
|
||||
android:scaleType="center"
|
||||
app:layout_constraintBottom_toTopOf="@+id/contactNameLayout"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/imageView"
|
||||
app:srcCompat="@drawable/ic_person"
|
||||
app:tint="@android:color/white" />
|
||||
app:tint="@color/step_bubble_current_foreground" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/nicknameIntro"
|
||||
|
||||
@@ -31,6 +31,13 @@
|
||||
<color name="il_orange">@color/briar_orange_400</color>
|
||||
<color name="il_red">@color/briar_red_500_new</color>
|
||||
|
||||
<color name="step_bubble_completed_background">@color/briar_blue_800_new</color>
|
||||
<color name="step_bubble_completed_foreground">@color/briar_blue_300</color>
|
||||
<color name="step_bubble_current_background">@color/briar_blue_400_new</color>
|
||||
<color name="step_bubble_current_foreground">@color/briar_blue_900</color>
|
||||
<color name="step_bubble_future_background">@color/briar_night_700_new</color>
|
||||
<color name="step_bubble_future_foreground">@color/briar_night_100</color>
|
||||
|
||||
<color name="md_theme_onBackground">#E0E4D2</color>
|
||||
<color name="md_theme_onSurface">#E0E4D2</color>
|
||||
<color name="md_theme_error">@color/briar_red_400</color>
|
||||
|
||||
@@ -7,9 +7,15 @@
|
||||
<color name="briar_lime_400">#82c91e</color>
|
||||
<color name="briar_lime_400_new">#A3E635</color>
|
||||
|
||||
<color name="briar_blue_900">#184080</color>
|
||||
<color name="briar_blue_800">#134a81</color>
|
||||
<color name="briar_blue_800_new">#1649A0</color>
|
||||
<color name="briar_blue_600">#1b69b6</color>
|
||||
<color name="briar_blue_600_new">#196FDE</color>
|
||||
<color name="briar_blue_400">#418cd8</color>
|
||||
<color name="briar_blue_400_new">#52ADF9</color>
|
||||
<color name="briar_blue_300">#8BCAFD</color>
|
||||
<color name="briar_blue_100">#DDEDFE</color>
|
||||
|
||||
<color name="briar_orange_200">#fed69f</color>
|
||||
<color name="briar_orange_400">#FBBF24</color>
|
||||
@@ -24,14 +30,18 @@
|
||||
<color name="briar_night_950">#0e171f</color>
|
||||
<color name="briar_night_800">#212d3b</color>
|
||||
<color name="briar_night_700">#2e3d4f</color>
|
||||
<color name="briar_night_700_new">#334155</color>
|
||||
<color name="briar_night_600">#475569</color>
|
||||
<color name="briar_night_500">#435b77</color>
|
||||
<color name="briar_night_100">#F1F5F9</color>
|
||||
<color name="briar_night_50">#ebf3fa</color>
|
||||
|
||||
<color name="briar_gray_900">#2e2e2e</color>
|
||||
<color name="briar_gray_700">#374151</color>
|
||||
<color name="briar_gray_500">#a7a7a7</color>
|
||||
<color name="briar_gray_300">#cccccc</color>
|
||||
<color name="briar_gray_200">#dfdfdf</color>
|
||||
<color name="briar_gray_200_new">#E5E7EB</color>
|
||||
<color name="briar_gray_100">#f2f2f2</color>
|
||||
|
||||
<color name="briar_brand_blue">@color/briar_night_700</color>
|
||||
@@ -68,6 +78,13 @@
|
||||
<color name="il_orange">@color/briar_orange_500_new</color>
|
||||
<color name="il_red">@color/briar_red_600</color>
|
||||
|
||||
<color name="step_bubble_completed_background">@color/briar_blue_100</color>
|
||||
<color name="step_bubble_completed_foreground">@color/briar_blue_600_new</color>
|
||||
<color name="step_bubble_current_background">@color/briar_blue_600_new</color>
|
||||
<color name="step_bubble_current_foreground">@android:color/white</color>
|
||||
<color name="step_bubble_future_background">@color/briar_gray_200_new</color>
|
||||
<color name="step_bubble_future_foreground">@color/briar_gray_700</color>
|
||||
|
||||
<!-- text colors -->
|
||||
<color name="briar_text_link">@color/briar_blue_400</color>
|
||||
<color name="briar_text_link_inverse">@android:color/white</color>
|
||||
|
||||
@@ -146,20 +146,21 @@
|
||||
<style name="StepBubble">
|
||||
<item name="android:layout_width">28dp</item>
|
||||
<item name="android:layout_height">28dp</item>
|
||||
<!-- FIXME in dark theme accent is same color as StepBubble.Completed -->
|
||||
<item name="android:background">@drawable/bubble_accent</item>
|
||||
<item name="android:background">@drawable/bubble_current</item>
|
||||
<item name="android:gravity">center</item>
|
||||
<item name="android:textColor">@android:color/white</item>
|
||||
<item name="android:textColor">@color/step_bubble_current_foreground</item>
|
||||
<item name="android:textSize">18sp</item>
|
||||
</style>
|
||||
|
||||
<style name="StepBubble.Upcoming">
|
||||
<item name="android:alpha">0.5</item>
|
||||
<item name="android:background">@drawable/bubble_future</item>
|
||||
<item name="android:textColor">@color/step_bubble_future_foreground</item>
|
||||
</style>
|
||||
|
||||
<style name="StepBubble.Completed">
|
||||
<item name="android:background">@drawable/bubble_completed</item>
|
||||
<item name="android:scaleType">center</item>
|
||||
<item name="tint">@color/step_bubble_completed_foreground</item>
|
||||
<item name="srcCompat">@drawable/ic_check_white</item>
|
||||
</style>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user