mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-01-11 01:40:59 +00:00
Rename buddy.xml to dummy_person.xml
This commit is contained in:
parent
429f2536af
commit
35eeccd45a
@ -1551,7 +1551,8 @@ public final class VideoDetailFragment
|
|||||||
binding.detailUploaderThumbnailView.setVisibility(View.GONE);
|
binding.detailUploaderThumbnailView.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
final Drawable buddyDrawable = AppCompatResources.getDrawable(activity, R.drawable.buddy);
|
final Drawable buddyDrawable
|
||||||
|
= AppCompatResources.getDrawable(activity, R.drawable.dummy_person);
|
||||||
binding.detailSubChannelThumbnailView.setImageDrawable(buddyDrawable);
|
binding.detailSubChannelThumbnailView.setImageDrawable(buddyDrawable);
|
||||||
binding.detailUploaderThumbnailView.setImageDrawable(buddyDrawable);
|
binding.detailUploaderThumbnailView.setImageDrawable(buddyDrawable);
|
||||||
|
|
||||||
|
@ -97,7 +97,7 @@ public final class PicassoHelper {
|
|||||||
|
|
||||||
|
|
||||||
public static RequestCreator loadAvatar(final String url) {
|
public static RequestCreator loadAvatar(final String url) {
|
||||||
return loadImageDefault(url, R.drawable.buddy);
|
return loadImageDefault(url, R.drawable.dummy_person);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static RequestCreator loadThumbnail(final String url) {
|
public static RequestCreator loadThumbnail(final String url) {
|
||||||
|
@ -271,7 +271,7 @@
|
|||||||
android:layout_width="@dimen/video_item_detail_uploader_image_size"
|
android:layout_width="@dimen/video_item_detail_uploader_image_size"
|
||||||
android:layout_height="@dimen/video_item_detail_uploader_image_size"
|
android:layout_height="@dimen/video_item_detail_uploader_image_size"
|
||||||
android:contentDescription="@string/detail_uploader_thumbnail_view_description"
|
android:contentDescription="@string/detail_uploader_thumbnail_view_description"
|
||||||
android:src="@drawable/buddy"
|
android:src="@drawable/dummy_person"
|
||||||
app:shapeAppearance="@style/CircularImageView" />
|
app:shapeAppearance="@style/CircularImageView" />
|
||||||
|
|
||||||
<com.google.android.material.imageview.ShapeableImageView
|
<com.google.android.material.imageview.ShapeableImageView
|
||||||
@ -280,7 +280,7 @@
|
|||||||
android:layout_height="@dimen/video_item_detail_sub_channel_image_size"
|
android:layout_height="@dimen/video_item_detail_sub_channel_image_size"
|
||||||
android:layout_gravity="bottom|right"
|
android:layout_gravity="bottom|right"
|
||||||
android:contentDescription="@string/detail_sub_channel_thumbnail_view_description"
|
android:contentDescription="@string/detail_sub_channel_thumbnail_view_description"
|
||||||
android:src="@drawable/buddy"
|
android:src="@drawable/dummy_person"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
app:shapeAppearance="@style/CircularImageView"
|
app:shapeAppearance="@style/CircularImageView"
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
android:layout_width="@dimen/channel_avatar_size"
|
android:layout_width="@dimen/channel_avatar_size"
|
||||||
android:layout_height="@dimen/channel_avatar_size"
|
android:layout_height="@dimen/channel_avatar_size"
|
||||||
android:padding="1dp"
|
android:padding="1dp"
|
||||||
android:src="@drawable/buddy"
|
android:src="@drawable/dummy_person"
|
||||||
app:shapeAppearance="@style/CircularImageView"
|
app:shapeAppearance="@style/CircularImageView"
|
||||||
app:strokeColor="#ffffff"
|
app:strokeColor="#ffffff"
|
||||||
app:strokeWidth="2dp" />
|
app:strokeWidth="2dp" />
|
||||||
@ -44,7 +44,7 @@
|
|||||||
android:layout_height="@dimen/sub_channel_avatar_size"
|
android:layout_height="@dimen/sub_channel_avatar_size"
|
||||||
android:layout_gravity="bottom|right"
|
android:layout_gravity="bottom|right"
|
||||||
android:padding="1dp"
|
android:padding="1dp"
|
||||||
android:src="@drawable/buddy"
|
android:src="@drawable/dummy_person"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
app:shapeAppearance="@style/CircularImageView"
|
app:shapeAppearance="@style/CircularImageView"
|
||||||
app:strokeColor="#ffffff"
|
app:strokeColor="#ffffff"
|
||||||
|
@ -258,7 +258,7 @@
|
|||||||
android:layout_width="@dimen/video_item_detail_uploader_image_size"
|
android:layout_width="@dimen/video_item_detail_uploader_image_size"
|
||||||
android:layout_height="@dimen/video_item_detail_uploader_image_size"
|
android:layout_height="@dimen/video_item_detail_uploader_image_size"
|
||||||
android:contentDescription="@string/detail_uploader_thumbnail_view_description"
|
android:contentDescription="@string/detail_uploader_thumbnail_view_description"
|
||||||
android:src="@drawable/buddy"
|
android:src="@drawable/dummy_person"
|
||||||
app:shapeAppearance="@style/CircularImageView" />
|
app:shapeAppearance="@style/CircularImageView" />
|
||||||
|
|
||||||
<com.google.android.material.imageview.ShapeableImageView
|
<com.google.android.material.imageview.ShapeableImageView
|
||||||
@ -267,7 +267,7 @@
|
|||||||
android:layout_height="@dimen/video_item_detail_sub_channel_image_size"
|
android:layout_height="@dimen/video_item_detail_sub_channel_image_size"
|
||||||
android:layout_gravity="bottom|right"
|
android:layout_gravity="bottom|right"
|
||||||
android:contentDescription="@string/detail_sub_channel_thumbnail_view_description"
|
android:contentDescription="@string/detail_sub_channel_thumbnail_view_description"
|
||||||
android:src="@drawable/buddy"
|
android:src="@drawable/dummy_person"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
app:shapeAppearance="@style/CircularImageView"
|
app:shapeAppearance="@style/CircularImageView"
|
||||||
tools:ignore="RtlHardcoded"
|
tools:ignore="RtlHardcoded"
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
android:layout_centerHorizontal="true"
|
android:layout_centerHorizontal="true"
|
||||||
android:layout_margin="2dp"
|
android:layout_margin="2dp"
|
||||||
android:contentDescription="@string/detail_uploader_thumbnail_view_description"
|
android:contentDescription="@string/detail_uploader_thumbnail_view_description"
|
||||||
android:src="@drawable/buddy"
|
android:src="@drawable/dummy_person"
|
||||||
app:shapeAppearance="@style/CircularImageView"
|
app:shapeAppearance="@style/CircularImageView"
|
||||||
tools:ignore="RtlHardcoded" />
|
tools:ignore="RtlHardcoded" />
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
android:layout_height="@dimen/video_item_search_avatar_image_height"
|
android:layout_height="@dimen/video_item_search_avatar_image_height"
|
||||||
android:layout_marginLeft="@dimen/video_item_search_avatar_left_margin"
|
android:layout_marginLeft="@dimen/video_item_search_avatar_left_margin"
|
||||||
android:layout_marginRight="@dimen/video_item_search_avatar_right_margin"
|
android:layout_marginRight="@dimen/video_item_search_avatar_right_margin"
|
||||||
android:src="@drawable/buddy"
|
android:src="@drawable/dummy_person"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toStartOf="@+id/itemTitleView"
|
app:layout_constraintEnd_toStartOf="@+id/itemTitleView"
|
||||||
app:layout_constraintHorizontal_bias="0.5"
|
app:layout_constraintHorizontal_bias="0.5"
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:layout_marginStart="3dp"
|
android:layout_marginStart="3dp"
|
||||||
android:layout_marginRight="15dp"
|
android:layout_marginRight="15dp"
|
||||||
android:src="@drawable/buddy"
|
android:src="@drawable/dummy_person"
|
||||||
app:shapeAppearance="@style/CircularImageView"
|
app:shapeAppearance="@style/CircularImageView"
|
||||||
tools:ignore="RtlHardcoded" />
|
tools:ignore="RtlHardcoded" />
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
android:layout_marginLeft="3dp"
|
android:layout_marginLeft="3dp"
|
||||||
android:layout_marginRight="@dimen/comment_item_avatar_right_margin"
|
android:layout_marginRight="@dimen/comment_item_avatar_right_margin"
|
||||||
android:focusable="false"
|
android:focusable="false"
|
||||||
android:src="@drawable/buddy"
|
android:src="@drawable/dummy_person"
|
||||||
app:shapeAppearance="@style/CircularImageView"
|
app:shapeAppearance="@style/CircularImageView"
|
||||||
tools:ignore="RtlHardcoded" />
|
tools:ignore="RtlHardcoded" />
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:layout_marginStart="3dp"
|
android:layout_marginStart="3dp"
|
||||||
android:layout_marginRight="15dp"
|
android:layout_marginRight="15dp"
|
||||||
android:src="@drawable/buddy"
|
android:src="@drawable/dummy_person"
|
||||||
app:shapeAppearance="@style/CircularImageView"
|
app:shapeAppearance="@style/CircularImageView"
|
||||||
tools:ignore="RtlHardcoded" />
|
tools:ignore="RtlHardcoded" />
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
android:layout_width="48dp"
|
android:layout_width="48dp"
|
||||||
android:layout_height="48dp"
|
android:layout_height="48dp"
|
||||||
app:shapeAppearance="@style/CircularImageView"
|
app:shapeAppearance="@style/CircularImageView"
|
||||||
tools:src="@drawable/buddy" />
|
tools:src="@drawable/dummy_person" />
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
android:id="@+id/title_view"
|
android:id="@+id/title_view"
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:padding="0.7dp"
|
android:padding="0.7dp"
|
||||||
android:src="@drawable/buddy"
|
android:src="@drawable/dummy_person"
|
||||||
app:shapeAppearance="@style/CircularImageView"
|
app:shapeAppearance="@style/CircularImageView"
|
||||||
app:strokeColor="#ffffff"
|
app:strokeColor="#ffffff"
|
||||||
app:strokeWidth="1dp" />
|
app:strokeWidth="1dp" />
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
android:layout_alignParentTop="true"
|
android:layout_alignParentTop="true"
|
||||||
android:layout_marginStart="3dp"
|
android:layout_marginStart="3dp"
|
||||||
android:layout_marginRight="8dp"
|
android:layout_marginRight="8dp"
|
||||||
android:src="@drawable/buddy"
|
android:src="@drawable/dummy_person"
|
||||||
app:shapeAppearance="@style/CircularImageView"
|
app:shapeAppearance="@style/CircularImageView"
|
||||||
tools:ignore="RtlHardcoded" />
|
tools:ignore="RtlHardcoded" />
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user