Skip to content

Commit c301b70

Browse files
committed
added transparent strokeColor to ShapableImageView because its buggy
1 parent d0b59f9 commit c301b70

13 files changed

+15
-2
lines changed

app/src/main/java/co/tinode/tindroid/MessageActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -872,8 +872,8 @@ public void onData(MsgServerData data) {
872872
sendNoteRead(data.seq);
873873
}
874874
// Cancel typing animation.
875-
mTypingAnimationTimer =
876-
UiUtils.toolbarTypingIndicator(MessageActivity.this, mTypingAnimationTimer, -1);
875+
runOnUiThread(() -> mTypingAnimationTimer =
876+
UiUtils.toolbarTypingIndicator(MessageActivity.this, mTypingAnimationTimer, -1));
877877
runMessagesLoader();
878878
}
879879

app/src/main/res/layout/contact_basic.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
android:layout_width="48dp"
2323
android:layout_height="48dp"
2424
android:contentDescription="@string/avatar"
25+
app:strokeColor="@android:color/transparent"
2526
app:shapeAppearanceOverlay="@style/roundImageView"
2627
app:srcCompat="@drawable/ic_person_circle" />
2728

@@ -30,6 +31,7 @@
3031
android:layout_width="48dp"
3132
android:layout_height="48dp"
3233
android:contentDescription="@string/avatar"
34+
app:strokeColor="@android:color/transparent"
3335
app:shapeAppearanceOverlay="@style/roundImageView"
3436
app:srcCompat="@drawable/ic_selected" />
3537
</ImageSwitcher>

app/src/main/res/layout/fragment_acc_personal.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
android:clickable="true"
2020
android:contentDescription="@string/avatar"
2121
android:focusable="true"
22+
app:strokeColor="@android:color/transparent"
2223
app:shapeAppearanceOverlay="@style/roundImageView"
2324
app:srcCompat="@drawable/disk" />
2425

app/src/main/res/layout/fragment_account_info.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
android:layout_gravity="center"
1515
android:layout_margin="4sp"
1616
android:contentDescription="@string/avatar"
17+
app:strokeColor="@android:color/transparent"
1718
app:shapeAppearanceOverlay="@style/roundImageView"
1819
app:srcCompat="@drawable/disk" />
1920

app/src/main/res/layout/fragment_add_group.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
android:clickable="true"
2929
android:contentDescription="@string/avatar"
3030
android:focusable="true"
31+
app:strokeColor="@android:color/transparent"
3132
app:shapeAppearanceOverlay="@style/roundImageView"
3233
app:srcCompat="@drawable/ic_group_grey" />
3334

app/src/main/res/layout/fragment_call.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
android:contentDescription="@string/avatar"
3838
android:focusable="false"
3939
android:elevation="@dimen/fab_elevation"
40+
app:strokeColor="@android:color/transparent"
4041
app:layout_constraintStart_toStartOf="parent"
4142
app:layout_constraintEnd_toEndOf="parent"
4243
app:layout_constraintTop_toTopOf="parent"

app/src/main/res/layout/fragment_incoming_call.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
android:contentDescription="@string/avatar"
5050
android:focusable="false"
5151
android:elevation="@dimen/fab_elevation"
52+
app:strokeColor="@android:color/transparent"
5253
app:layout_constraintEnd_toEndOf="parent"
5354
app:layout_constraintStart_toStartOf="parent"
5455
app:layout_constraintTop_toTopOf="parent"

app/src/main/res/layout/fragment_signup.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
android:clickable="true"
1616
android:contentDescription="@string/avatar"
1717
android:focusable="true"
18+
app:strokeColor="@android:color/transparent"
1819
app:shapeAppearanceOverlay="@style/roundImageView"
1920
app:srcCompat="@drawable/ic_person_grey" />
2021

app/src/main/res/layout/fragment_topic_info.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
android:clickable="true"
2929
android:contentDescription="@string/avatar"
3030
android:focusable="true"
31+
app:strokeColor="@android:color/transparent"
3132
app:shapeAppearanceOverlay="@style/roundImageView"
3233
app:srcCompat="@drawable/disk" />
3334

app/src/main/res/layout/fragment_tpc_general.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
android:clickable="true"
2626
android:contentDescription="@string/avatar"
2727
android:focusable="true"
28+
app:strokeColor="@android:color/transparent"
2829
app:shapeAppearanceOverlay="@style/roundImageView"
2930
app:srcCompat="@drawable/disk" />
3031

0 commit comments

Comments
 (0)