diff --git a/app/src/main/java/org/schabi/newpipe/ChannelActivity.java b/app/src/main/java/org/schabi/newpipe/ChannelActivity.java
index 9d8615177..d7176fcf5 100644
--- a/app/src/main/java/org/schabi/newpipe/ChannelActivity.java
+++ b/app/src/main/java/org/schabi/newpipe/ChannelActivity.java
@@ -129,6 +129,8 @@ public class ChannelActivity extends AppCompatActivity {
ImageView channelBanner = (ImageView) findViewById(R.id.channel_banner_image);
View channelContentView = (View) findViewById(R.id.channel_content_view);
FloatingActionButton feedButton = (FloatingActionButton) findViewById(R.id.channel_rss_fab);
+ ImageView avatarView = (ImageView) findViewById(R.id.channel_avatar_view);
+ ImageView haloView = (ImageView) findViewById(R.id.channel_avatar_halo);
progressBar.setVisibility(View.GONE);
channelContentView.setVisibility(View.VISIBLE);
@@ -142,6 +144,13 @@ public class ChannelActivity extends AppCompatActivity {
new FailedThumbnailListener(info.service_id));
}
+ if(info.avatar_url != null && !info.avatar_url.isEmpty()) {
+ avatarView.setVisibility(View.VISIBLE);
+ haloView.setVisibility(View.VISIBLE);
+ imageLoader.displayImage(info.avatar_url, avatarView,
+ new FailedThumbnailListener(info.service_id));
+ }
+
if(info.feed_url != null && !info.feed_url.isEmpty()) {
feedButton.setOnClickListener(new View.OnClickListener() {
@Override
diff --git a/app/src/main/res/drawable/white_circle.xml b/app/src/main/res/drawable/white_circle.xml
new file mode 100644
index 000000000..312f9c37c
--- /dev/null
+++ b/app/src/main/res/drawable/white_circle.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
diff --git a/app/src/main/res/layout/activity_channel.xml b/app/src/main/res/layout/activity_channel.xml
index f6da0cb71..db9139185 100644
--- a/app/src/main/res/layout/activity_channel.xml
+++ b/app/src/main/res/layout/activity_channel.xml
@@ -24,6 +24,7 @@
app:statusBarScrim="@color/light_youtube_dark_color"
app:layout_scrollFlags="scroll|exitUntilCollapsed">
+
+
+
+
+
50dp
18sp
18sp
+ 70dp
+ 74dp
6sp
20dp