mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 03:59:35 +01:00
parent
6a5aaac224
commit
f9ecf17504
@ -212,7 +212,7 @@ dependencies {
|
||||
implementation 'me.zhanghai.android.effortlesspermissions:library:1.1.0'
|
||||
implementation 'org.apache.commons:commons-lang3:3.9'
|
||||
implementation 'com.github.wooplr:Spotlight:1.3'
|
||||
implementation('com.github.mario:chatkit:d63d61db95', {
|
||||
implementation('com.github.mario:chatkit:3c6c60228b', {
|
||||
exclude group: 'com.facebook.fresco'
|
||||
})
|
||||
|
||||
|
@ -36,6 +36,7 @@ import com.bluelinelabs.conductor.Router;
|
||||
import com.bluelinelabs.conductor.RouterTransaction;
|
||||
import com.bluelinelabs.conductor.changehandler.HorizontalChangeHandler;
|
||||
import com.bluelinelabs.conductor.changehandler.VerticalChangeHandler;
|
||||
import com.google.android.material.appbar.MaterialToolbar;
|
||||
import com.nextcloud.talk.R;
|
||||
import com.nextcloud.talk.application.NextcloudTalkApplication;
|
||||
import com.nextcloud.talk.controllers.CallNotificationController;
|
||||
@ -58,7 +59,7 @@ public final class MainActivity extends BaseActivity implements ActionBarProvide
|
||||
private static final String TAG = "MainActivity";
|
||||
|
||||
@BindView(R.id.toolbar)
|
||||
Toolbar toolbar;
|
||||
MaterialToolbar toolbar;
|
||||
@BindView(R.id.controller_container)
|
||||
ViewGroup container;
|
||||
|
||||
|
@ -27,6 +27,9 @@ import android.view.View;
|
||||
import android.widget.ImageButton;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
|
||||
import androidx.emoji.widget.EmojiTextView;
|
||||
|
||||
import butterknife.BindView;
|
||||
import butterknife.ButterKnife;
|
||||
import com.facebook.drawee.backends.pipeline.Fresco;
|
||||
@ -168,9 +171,9 @@ public class CallItem extends AbstractFlexibleItem<CallItem.RoomItemViewHolder>
|
||||
static class RoomItemViewHolder extends FlexibleViewHolder {
|
||||
|
||||
@BindView(R.id.name_text)
|
||||
public TextView roomDisplayName;
|
||||
public EmojiTextView roomDisplayName;
|
||||
@BindView(R.id.secondary_text)
|
||||
public TextView roomLastPing;
|
||||
public EmojiTextView roomLastPing;
|
||||
@BindView(R.id.avatar_image)
|
||||
public SimpleDraweeView avatarImageView;
|
||||
@BindView(R.id.more_menu)
|
||||
|
@ -29,6 +29,9 @@ import android.text.format.DateUtils;
|
||||
import android.view.View;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
|
||||
import androidx.emoji.widget.EmojiTextView;
|
||||
|
||||
import butterknife.BindView;
|
||||
import butterknife.ButterKnife;
|
||||
import com.amulyakhare.textdrawable.TextDrawable;
|
||||
@ -279,13 +282,13 @@ public class ConversationItem extends AbstractFlexibleItem<ConversationItem.Conv
|
||||
@BindView(R.id.dialogAvatar)
|
||||
SimpleDraweeView dialogAvatar;
|
||||
@BindView(R.id.dialogName)
|
||||
TextView dialogName;
|
||||
EmojiTextView dialogName;
|
||||
@BindView(R.id.dialogDate)
|
||||
TextView dialogDate;
|
||||
@BindView(R.id.dialogLastMessageUserAvatar)
|
||||
SimpleDraweeView dialogLastMessageUserAvatar;
|
||||
@BindView(R.id.dialogLastMessage)
|
||||
TextView dialogLastMessage;
|
||||
EmojiTextView dialogLastMessage;
|
||||
@BindView(R.id.dialogUnreadBubble)
|
||||
TextView dialogUnreadBubble;
|
||||
@BindView(R.id.passwordProtectedRoomImageView)
|
||||
|
@ -26,6 +26,9 @@ import android.text.TextUtils;
|
||||
import android.view.View;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
|
||||
import androidx.emoji.widget.EmojiTextView;
|
||||
|
||||
import butterknife.BindView;
|
||||
import butterknife.ButterKnife;
|
||||
import com.facebook.drawee.backends.pipeline.Fresco;
|
||||
@ -245,7 +248,7 @@ public class UserItem extends AbstractFlexibleItem<UserItem.UserItemViewHolder>
|
||||
static class UserItemViewHolder extends FlexibleViewHolder {
|
||||
|
||||
@BindView(R.id.name_text)
|
||||
public TextView contactDisplayName;
|
||||
public EmojiTextView contactDisplayName;
|
||||
@BindView(R.id.simple_drawee_view)
|
||||
public SimpleDraweeView simpleDraweeView;
|
||||
@Nullable
|
||||
|
@ -130,7 +130,7 @@ class NextcloudTalkApplication : MultiDexApplication(), LifecycleObserver {
|
||||
|
||||
componentApplication.inject(this)
|
||||
|
||||
setAppTheme(appPreferences!!.theme)
|
||||
setAppTheme(appPreferences.theme)
|
||||
super.onCreate()
|
||||
|
||||
val imagePipelineConfig = ImagePipelineConfig.newBuilder(this)
|
||||
|
@ -49,6 +49,7 @@ import android.widget.RelativeLayout;
|
||||
import android.widget.TextView;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.emoji.widget.EmojiEditText;
|
||||
import androidx.recyclerview.widget.LinearLayoutManager;
|
||||
import androidx.recyclerview.widget.RecyclerView;
|
||||
|
||||
@ -161,7 +162,7 @@ public class ChatController extends BaseController implements MessagesListAdapte
|
||||
@BindView(R.id.messageInputView)
|
||||
MessageInput messageInputView;
|
||||
@BindView(R.id.messageInput)
|
||||
EditText messageInput;
|
||||
EmojiEditText messageInput;
|
||||
@BindView(R.id.popupBubbleView)
|
||||
PopupBubble popupBubble;
|
||||
@BindView(R.id.progressBar)
|
||||
|
@ -40,6 +40,7 @@ import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.core.view.ViewCompat;
|
||||
import androidx.emoji.widget.EmojiTextView;
|
||||
import androidx.work.OneTimeWorkRequest;
|
||||
import androidx.work.WorkManager;
|
||||
import autodagger.AutoInjector;
|
||||
@ -103,7 +104,7 @@ public class SettingsController extends BaseController {
|
||||
@BindView(R.id.avatar_image)
|
||||
SimpleDraweeView avatarImageView;
|
||||
@BindView(R.id.display_name_text)
|
||||
TextView displayNameTextView;
|
||||
EmojiTextView displayNameTextView;
|
||||
@BindView(R.id.base_url_text)
|
||||
TextView baseUrlTextView;
|
||||
@BindView(R.id.settings_call_sound)
|
||||
|
@ -35,7 +35,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<androidx.appcompat.widget.Toolbar
|
||||
<com.google.android.material.appbar.MaterialToolbar
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?android:attr/actionBarSize"
|
||||
|
@ -46,7 +46,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
<androidx.emoji.widget.EmojiTextView
|
||||
android:id="@+id/display_name_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
@ -38,7 +38,7 @@
|
||||
android:tint="@color/colorPrimary"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
<EmojiTextView
|
||||
android:id="@+id/name_text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
@ -73,7 +73,7 @@
|
||||
android:layout_toEndOf="@id/frame_layout"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
<androidx.emoji.widget.EmojiTextView
|
||||
android:id="@+id/name_text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
@ -82,7 +82,7 @@
|
||||
android:textAppearance="?android:attr/textAppearanceListItem"
|
||||
tools:text="Call item text" />
|
||||
|
||||
<TextView
|
||||
<androidx.emoji.widget.EmojiTextView
|
||||
android:id="@+id/secondary_text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
@ -66,7 +66,7 @@
|
||||
android:layout_toEndOf="@id/frame_layout"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
<androidx.emoji.widget.EmojiTextView
|
||||
android:id="@+id/name_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
@ -75,7 +75,7 @@
|
||||
android:textAppearance="?android:attr/textAppearanceListItem"
|
||||
tools:text="Call item text" />
|
||||
|
||||
<TextView
|
||||
<androidx.emoji.widget.EmojiTextView
|
||||
android:id="@+id/secondary_text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
@ -71,7 +71,7 @@
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_toEndOf="@id/dialogAvatarFrameLayout">
|
||||
|
||||
<TextView
|
||||
<androidx.emoji.widget.EmojiTextView
|
||||
android:id="@id/dialogLastMessage"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
@ -120,7 +120,7 @@
|
||||
android:maxLines="1"
|
||||
android:textColor="@color/conversation_date" />
|
||||
|
||||
<TextView
|
||||
<androidx.emoji.widget.EmojiTextView
|
||||
android:id="@id/dialogName"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
@ -23,7 +23,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<EditText
|
||||
<androidx.emoji.widget.EmojiEditText
|
||||
android:id="@id/messageInput"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
Loading…
Reference in New Issue
Block a user