mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 19:38:08 +00:00
Fix composing
This commit is contained in:
parent
f662ff0fa1
commit
30a893fc15
2 changed files with 7 additions and 3 deletions
|
|
@ -56,15 +56,17 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="end"
|
||||
android:textSize="11.7sp"
|
||||
android:maxLines="1"
|
||||
android:textColor="@color/colorC"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/remote_composing"
|
||||
style="@style/font11"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@id/footer"
|
||||
android:textSize="11.7sp"
|
||||
android:maxLines="1"
|
||||
android:text="@string/remote_composing"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
|
|
|||
|
|
@ -850,8 +850,10 @@ public class GroupChatFragment extends Fragment implements ChatRoomListener, Con
|
|||
}
|
||||
|
||||
mRemoteComposing.setVisibility(View.VISIBLE);
|
||||
mParticipantsLabel.setVisibility(View.GONE);
|
||||
if (composing.size() == 0) {
|
||||
mRemoteComposing.setVisibility(View.INVISIBLE);
|
||||
mRemoteComposing.setVisibility(View.GONE);
|
||||
mParticipantsLabel.setVisibility(View.VISIBLE);
|
||||
} else if (composing.size() == 1) {
|
||||
mRemoteComposing.setText(getString(R.string.remote_composing_single).replace("%s", composing.get(0)));
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue