Fix some bubble style

Change-Id: If636cb41326658afdf1cc3b01c886b85dd568c24
This commit is contained in:
SpiritCroc 2021-12-16 09:30:23 +01:00
parent 004a51646b
commit 94bd7c9e33
14 changed files with 5 additions and 22 deletions

View File

@ -67,6 +67,7 @@ function create_msg_bubble() {
mised 's|<!-- Filled for tail -->.*\(<!-- Filled for no tail -->\)|\1|' "$out_bubble" mised 's|<!-- Filled for tail -->.*\(<!-- Filled for no tail -->\)|\1|' "$out_bubble"
mised 's|<!-- Tail -->.*<!-- Tail end -->||' "$out_bubble" mised 's|<!-- Tail -->.*<!-- Tail end -->||' "$out_bubble"
mised 's|<!-- Outer radius -->.*\(<!-- Inner radius -->\)|\1|' "$out_bubble" mised 's|<!-- Outer radius -->.*\(<!-- Inner radius -->\)|\1|' "$out_bubble"
sed -i 's|sc_bubble_radius_in_tail|sc_bubble_radius|g' "$out_bubble"
fi fi
# Modify fill # Modify fill
if !((is_notice)); then if !((is_notice)); then

View File

@ -14,8 +14,6 @@ Note also that most of the comments should not be changed without checking their
<solid android:color="?sc_notice_bg_incoming" /> <solid android:color="?sc_notice_bg_incoming" />
<corners android:radius="@dimen/sc_bubble_radius" />
<corners android:bottomRightRadius="@dimen/sc_bubble_radius" <corners android:bottomRightRadius="@dimen/sc_bubble_radius"
android:bottomLeftRadius="@dimen/sc_bubble_radius" android:bottomLeftRadius="@dimen/sc_bubble_radius"
android:topLeftRadius="@dimen/sc_bubble_radius" /> android:topLeftRadius="@dimen/sc_bubble_radius" />

View File

@ -31,7 +31,7 @@ Note also that most of the comments should not be changed without checking their
<corners android:bottomRightRadius="@dimen/sc_bubble_radius" <corners android:bottomRightRadius="@dimen/sc_bubble_radius"
android:bottomLeftRadius="@dimen/sc_bubble_radius" android:bottomLeftRadius="@dimen/sc_bubble_radius"
android:topLeftRadius="@dimen/sc_bubble_radius" android:topLeftRadius="@dimen/sc_bubble_radius"
android:topRightRadius="@dimen/sc_bubble_radius_in_tail" /> android:topRightRadius="@dimen/sc_bubble_radius" />
</shape> </shape>
</item> </item>

View File

@ -14,8 +14,6 @@ Note also that most of the comments should not be changed without checking their
<solid android:color="?sc_notice_bg_outgoing" /> <solid android:color="?sc_notice_bg_outgoing" />
<corners android:radius="@dimen/sc_bubble_radius" />
<corners android:bottomLeftRadius="@dimen/sc_bubble_radius" <corners android:bottomLeftRadius="@dimen/sc_bubble_radius"
android:bottomRightRadius="@dimen/sc_bubble_radius" android:bottomRightRadius="@dimen/sc_bubble_radius"
android:topRightRadius="@dimen/sc_bubble_radius" /> android:topRightRadius="@dimen/sc_bubble_radius" />

View File

@ -31,7 +31,7 @@ Note also that most of the comments should not be changed without checking their
<corners android:bottomLeftRadius="@dimen/sc_bubble_radius" <corners android:bottomLeftRadius="@dimen/sc_bubble_radius"
android:bottomRightRadius="@dimen/sc_bubble_radius" android:bottomRightRadius="@dimen/sc_bubble_radius"
android:topRightRadius="@dimen/sc_bubble_radius" android:topRightRadius="@dimen/sc_bubble_radius"
android:topLeftRadius="@dimen/sc_bubble_radius_in_tail" /> android:topLeftRadius="@dimen/sc_bubble_radius" />
</shape> </shape>
</item> </item>

View File

@ -14,8 +14,6 @@ Note also that most of the comments should not be changed without checking their
<solid android:color="?sc_message_bg_incoming" /> <solid android:color="?sc_message_bg_incoming" />
<corners android:radius="@dimen/sc_bubble_radius" />
<corners android:bottomRightRadius="@dimen/sc_bubble_radius" <corners android:bottomRightRadius="@dimen/sc_bubble_radius"
android:bottomLeftRadius="@dimen/sc_bubble_radius" android:bottomLeftRadius="@dimen/sc_bubble_radius"
android:topLeftRadius="@dimen/sc_bubble_radius" /> android:topLeftRadius="@dimen/sc_bubble_radius" />

View File

@ -14,8 +14,6 @@ Note also that most of the comments should not be changed without checking their
<solid android:color="?sc_message_bg_outgoing" /> <solid android:color="?sc_message_bg_outgoing" />
<corners android:radius="@dimen/sc_bubble_radius" />
<corners android:bottomLeftRadius="@dimen/sc_bubble_radius" <corners android:bottomLeftRadius="@dimen/sc_bubble_radius"
android:bottomRightRadius="@dimen/sc_bubble_radius" android:bottomRightRadius="@dimen/sc_bubble_radius"
android:topRightRadius="@dimen/sc_bubble_radius" /> android:topRightRadius="@dimen/sc_bubble_radius" />

View File

@ -14,8 +14,6 @@ Note also that most of the comments should not be changed without checking their
<solid android:color="?sc_notice_bg_incoming" /> <solid android:color="?sc_notice_bg_incoming" />
<corners android:radius="@dimen/sc_bubble_radius" />
<corners android:bottomLeftRadius="@dimen/sc_bubble_radius" <corners android:bottomLeftRadius="@dimen/sc_bubble_radius"
android:bottomRightRadius="@dimen/sc_bubble_radius" android:bottomRightRadius="@dimen/sc_bubble_radius"
android:topRightRadius="@dimen/sc_bubble_radius" /> android:topRightRadius="@dimen/sc_bubble_radius" />

View File

@ -31,7 +31,7 @@ Note also that most of the comments should not be changed without checking their
<corners android:bottomLeftRadius="@dimen/sc_bubble_radius" <corners android:bottomLeftRadius="@dimen/sc_bubble_radius"
android:bottomRightRadius="@dimen/sc_bubble_radius" android:bottomRightRadius="@dimen/sc_bubble_radius"
android:topRightRadius="@dimen/sc_bubble_radius" android:topRightRadius="@dimen/sc_bubble_radius"
android:topLeftRadius="@dimen/sc_bubble_radius_in_tail" /> android:topLeftRadius="@dimen/sc_bubble_radius" />
</shape> </shape>
</item> </item>

View File

@ -14,8 +14,6 @@ Note also that most of the comments should not be changed without checking their
<solid android:color="?sc_notice_bg_outgoing" /> <solid android:color="?sc_notice_bg_outgoing" />
<corners android:radius="@dimen/sc_bubble_radius" />
<corners android:bottomRightRadius="@dimen/sc_bubble_radius" <corners android:bottomRightRadius="@dimen/sc_bubble_radius"
android:bottomLeftRadius="@dimen/sc_bubble_radius" android:bottomLeftRadius="@dimen/sc_bubble_radius"
android:topLeftRadius="@dimen/sc_bubble_radius" /> android:topLeftRadius="@dimen/sc_bubble_radius" />

View File

@ -31,7 +31,7 @@ Note also that most of the comments should not be changed without checking their
<corners android:bottomRightRadius="@dimen/sc_bubble_radius" <corners android:bottomRightRadius="@dimen/sc_bubble_radius"
android:bottomLeftRadius="@dimen/sc_bubble_radius" android:bottomLeftRadius="@dimen/sc_bubble_radius"
android:topLeftRadius="@dimen/sc_bubble_radius" android:topLeftRadius="@dimen/sc_bubble_radius"
android:topRightRadius="@dimen/sc_bubble_radius_in_tail" /> android:topRightRadius="@dimen/sc_bubble_radius" />
</shape> </shape>
</item> </item>

View File

@ -14,8 +14,6 @@ Note also that most of the comments should not be changed without checking their
<solid android:color="?sc_message_bg_incoming" /> <solid android:color="?sc_message_bg_incoming" />
<corners android:radius="@dimen/sc_bubble_radius" />
<corners android:bottomLeftRadius="@dimen/sc_bubble_radius" <corners android:bottomLeftRadius="@dimen/sc_bubble_radius"
android:bottomRightRadius="@dimen/sc_bubble_radius" android:bottomRightRadius="@dimen/sc_bubble_radius"
android:topRightRadius="@dimen/sc_bubble_radius" /> android:topRightRadius="@dimen/sc_bubble_radius" />

View File

@ -14,8 +14,6 @@ Note also that most of the comments should not be changed without checking their
<solid android:color="?sc_message_bg_outgoing" /> <solid android:color="?sc_message_bg_outgoing" />
<corners android:radius="@dimen/sc_bubble_radius" />
<corners android:bottomRightRadius="@dimen/sc_bubble_radius" <corners android:bottomRightRadius="@dimen/sc_bubble_radius"
android:bottomLeftRadius="@dimen/sc_bubble_radius" android:bottomLeftRadius="@dimen/sc_bubble_radius"
android:topLeftRadius="@dimen/sc_bubble_radius" /> android:topLeftRadius="@dimen/sc_bubble_radius" />

View File

@ -14,8 +14,6 @@ Note also that most of the comments should not be changed without checking their
<solid android:color="?sc_notice_bg_incoming" /> <solid android:color="?sc_notice_bg_incoming" />
<corners android:radius="@dimen/sc_bubble_radius" />
<corners android:bottomLeftRadius="@dimen/sc_bubble_radius" <corners android:bottomLeftRadius="@dimen/sc_bubble_radius"
android:bottomRightRadius="@dimen/sc_bubble_radius" android:bottomRightRadius="@dimen/sc_bubble_radius"
android:topRightRadius="@dimen/sc_bubble_radius" /> android:topRightRadius="@dimen/sc_bubble_radius" />