diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-04-22 21:39:19 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-04-22 21:39:19 +0200 |
commit | ad839a1ddaea72f766be80266ae5b6d4fa7cae7f (patch) | |
tree | 9e11f0d427f83a595f866200ffaa6dff62523172 /src/main/java/de/pixart/messenger | |
parent | bcc69353e16dac911de23505b1c37bea2d3bdb80 (diff) |
made all text styleable
Diffstat (limited to 'src/main/java/de/pixart/messenger')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/adapter/ConversationAdapter.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/adapter/ConversationAdapter.java b/src/main/java/de/pixart/messenger/ui/adapter/ConversationAdapter.java index d6e875a94..76d13f7ed 100644 --- a/src/main/java/de/pixart/messenger/ui/adapter/ConversationAdapter.java +++ b/src/main/java/de/pixart/messenger/ui/adapter/ConversationAdapter.java @@ -85,8 +85,6 @@ public class ConversationAdapter extends ArrayAdapter<Conversation> { if (conversation == null) { return view; } - int c = Color.get(activity, conversation == selectedConversation ? R.attr.color_background_secondary : R.attr.color_background_primary); - viewHolder.swipeableItem.setBackgroundColor(c); if (conversation.getMode() == Conversation.MODE_SINGLE || activity.useSubjectToIdentifyConference()) { CharSequence name = conversation.getName(); if (name instanceof Jid) { @@ -332,7 +330,6 @@ public class ConversationAdapter extends ArrayAdapter<Conversation> { } public static class ViewHolder { - private View swipeableItem; private TextView name; private TextView lastMessage; private ImageView lastMessageIcon; @@ -353,7 +350,6 @@ public class ConversationAdapter extends ArrayAdapter<Conversation> { ViewHolder viewHolder = (ViewHolder) layout.getTag(); if (viewHolder == null) { viewHolder = new ViewHolder(); - viewHolder.swipeableItem = layout.findViewById(R.id.swipeable_item); viewHolder.name = layout.findViewById(R.id.conversation_name); viewHolder.lastMessage = layout.findViewById(R.id.conversation_lastmsg); viewHolder.lastMessageIcon = layout.findViewById(R.id.conversation_lastmsg_img); |