Commit b659f8c8 authored by Tiago Cunha's avatar Tiago Cunha

PR based feedback

parent dfec623b
......@@ -28,7 +28,7 @@ import chat.rocket.android.realm_helper.RealmListObserver;
import chat.rocket.android.realm_helper.RealmObjectObserver;
import chat.rocket.android.realm_helper.RealmStore;
import chat.rocket.android.renderer.UserRenderer;
import chat.rocket.android.widget.message.RocketChatAvatar;
import chat.rocket.android.widget.RocketChatAvatar;
public class SidebarMainFragment extends AbstractFragment {
......
......@@ -11,7 +11,7 @@ import com.amulyakhare.textdrawable.TextDrawable;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import chat.rocket.android.log.RCLog;
import chat.rocket.android.widget.message.RocketChatAvatar;
import chat.rocket.android.widget.RocketChatAvatar;
/**
* Helper for rendering user avatar image.
......
......@@ -9,7 +9,7 @@ import chat.rocket.android.helper.DateTime;
import chat.rocket.android.helper.TextUtils;
import chat.rocket.android.model.SyncState;
import chat.rocket.android.realm_helper.RealmModelViewHolder;
import chat.rocket.android.widget.message.RocketChatAvatar;
import chat.rocket.android.widget.RocketChatAvatar;
public abstract class AbstractMessageViewHolder extends RealmModelViewHolder<PairedMessage> {
protected final RocketChatAvatar avatar;
......
......@@ -6,7 +6,7 @@ import android.widget.ImageView;
import android.widget.TextView;
import chat.rocket.android.R;
import chat.rocket.android.widget.message.RocketChatAvatar;
import chat.rocket.android.widget.RocketChatAvatar;
/**
* ViewHolder for UsersOfRoom.
......
......@@ -10,7 +10,7 @@ import chat.rocket.android.R;
import chat.rocket.android.model.ddp.User;
import chat.rocket.android.realm_helper.RealmAutoCompleteAdapter;
import chat.rocket.android.renderer.UserRenderer;
import chat.rocket.android.widget.message.RocketChatAvatar;
import chat.rocket.android.widget.RocketChatAvatar;
/**
* adapter to suggest user names.
......
......@@ -12,7 +12,7 @@ import chat.rocket.android.helper.TextUtils;
import chat.rocket.android.model.SyncState;
import chat.rocket.android.model.ddp.Message;
import chat.rocket.android.model.ddp.User;
import chat.rocket.android.widget.message.RocketChatAvatar;
import chat.rocket.android.widget.RocketChatAvatar;
import chat.rocket.android.widget.message.RocketChatMessageAttachmentsLayout;
import chat.rocket.android.widget.message.RocketChatMessageLayout;
import chat.rocket.android.widget.message.RocketChatMessageUrlsLayout;
......
......@@ -8,7 +8,7 @@ import chat.rocket.android.R;
import chat.rocket.android.helper.Avatar;
import chat.rocket.android.helper.TextUtils;
import chat.rocket.android.model.ddp.User;
import chat.rocket.android.widget.message.RocketChatAvatar;
import chat.rocket.android.widget.RocketChatAvatar;
/**
* Renderer for User model.
......
......@@ -30,7 +30,7 @@
android:layout_width="@dimen/margin_8"
android:layout_height="wrap_content" />
<chat.rocket.android.widget.message.RocketChatAvatar
<chat.rocket.android.widget.RocketChatAvatar
android:id="@+id/current_user_avatar"
android:layout_width="40dp"
android:layout_height="40dp" />
......
......@@ -13,7 +13,7 @@
android:layout_height="wrap_content"
android:layout_marginBottom="2dp">
<chat.rocket.android.widget.message.RocketChatAvatar
<chat.rocket.android.widget.RocketChatAvatar
android:id="@+id/user_avatar"
android:layout_width="32dp"
android:layout_height="32dp"
......
......@@ -12,7 +12,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content">
<chat.rocket.android.widget.message.RocketChatAvatar
<chat.rocket.android.widget.RocketChatAvatar
android:id="@+id/user_avatar"
android:layout_width="32dp"
android:layout_height="32dp"
......
......@@ -11,7 +11,7 @@
android:layout_height="8dp"
android:layout_margin="@dimen/margin_8" />
<chat.rocket.android.widget.message.RocketChatAvatar
<chat.rocket.android.widget.RocketChatAvatar
android:id="@+id/room_user_avatar"
android:layout_width="24dp"
android:layout_height="24dp" />
......
package chat.rocket.android.widget.message;
package chat.rocket.android.widget;
import android.annotation.TargetApi;
import android.content.Context;
......
......@@ -99,9 +99,9 @@
<com.facebook.drawee.view.SimpleDraweeView
android:id="@+id/image"
android:layout_width="match_parent"
android:layout_height="200dp"
android:layout_height="150dp"
android:layout_marginBottom="8dp"
fresco:actualImageScaleType="fitCenter" />
fresco:actualImageScaleType="fitStart" />
<!-- audio -->
<!-- video -->
......
......@@ -9,6 +9,6 @@
<com.facebook.drawee.view.SimpleDraweeView
android:id="@+id/message_inline_image"
android:layout_width="match_parent"
android:layout_height="200dp"
fresco:actualImageScaleType="fitCenter" />
android:layout_height="150dp"
fresco:actualImageScaleType="fitStart" />
</FrameLayout>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment