Rename buddy.xml to dummy_person.xml

This commit is contained in:
krlvm 2022-07-13 23:13:17 +03:00 committed by Stypox
parent 429f2536af
commit 35eeccd45a
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23
14 changed files with 17 additions and 16 deletions

View File

@ -1551,7 +1551,8 @@ public final class VideoDetailFragment
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.detailUploaderThumbnailView.setImageDrawable(buddyDrawable);

View File

@ -97,7 +97,7 @@ public final class PicassoHelper {
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) {

View File

@ -271,7 +271,7 @@
android:layout_width="@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:src="@drawable/buddy"
android:src="@drawable/dummy_person"
app:shapeAppearance="@style/CircularImageView" />
<com.google.android.material.imageview.ShapeableImageView
@ -280,7 +280,7 @@
android:layout_height="@dimen/video_item_detail_sub_channel_image_size"
android:layout_gravity="bottom|right"
android:contentDescription="@string/detail_sub_channel_thumbnail_view_description"
android:src="@drawable/buddy"
android:src="@drawable/dummy_person"
android:visibility="gone"
app:shapeAppearance="@style/CircularImageView"
tools:visibility="visible" />

View File

@ -33,7 +33,7 @@
android:layout_width="@dimen/channel_avatar_size"
android:layout_height="@dimen/channel_avatar_size"
android:padding="1dp"
android:src="@drawable/buddy"
android:src="@drawable/dummy_person"
app:shapeAppearance="@style/CircularImageView"
app:strokeColor="#ffffff"
app:strokeWidth="2dp" />
@ -44,7 +44,7 @@
android:layout_height="@dimen/sub_channel_avatar_size"
android:layout_gravity="bottom|right"
android:padding="1dp"
android:src="@drawable/buddy"
android:src="@drawable/dummy_person"
android:visibility="gone"
app:shapeAppearance="@style/CircularImageView"
app:strokeColor="#ffffff"

View File

@ -258,7 +258,7 @@
android:layout_width="@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:src="@drawable/buddy"
android:src="@drawable/dummy_person"
app:shapeAppearance="@style/CircularImageView" />
<com.google.android.material.imageview.ShapeableImageView
@ -267,7 +267,7 @@
android:layout_height="@dimen/video_item_detail_sub_channel_image_size"
android:layout_gravity="bottom|right"
android:contentDescription="@string/detail_sub_channel_thumbnail_view_description"
android:src="@drawable/buddy"
android:src="@drawable/dummy_person"
android:visibility="gone"
app:shapeAppearance="@style/CircularImageView"
tools:ignore="RtlHardcoded"

View File

@ -18,7 +18,7 @@
android:layout_centerHorizontal="true"
android:layout_margin="2dp"
android:contentDescription="@string/detail_uploader_thumbnail_view_description"
android:src="@drawable/buddy"
android:src="@drawable/dummy_person"
app:shapeAppearance="@style/CircularImageView"
tools:ignore="RtlHardcoded" />

View File

@ -64,7 +64,7 @@
android:layout_height="@dimen/video_item_search_avatar_image_height"
android:layout_marginLeft="@dimen/video_item_search_avatar_left_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_constraintEnd_toStartOf="@+id/itemTitleView"
app:layout_constraintHorizontal_bias="0.5"

View File

@ -17,7 +17,7 @@
android:layout_centerVertical="true"
android:layout_marginStart="3dp"
android:layout_marginRight="15dp"
android:src="@drawable/buddy"
android:src="@drawable/dummy_person"
app:shapeAppearance="@style/CircularImageView"
tools:ignore="RtlHardcoded" />

View File

@ -20,7 +20,7 @@
android:layout_marginLeft="3dp"
android:layout_marginRight="@dimen/comment_item_avatar_right_margin"
android:focusable="false"
android:src="@drawable/buddy"
android:src="@drawable/dummy_person"
app:shapeAppearance="@style/CircularImageView"
tools:ignore="RtlHardcoded" />

View File

@ -17,7 +17,7 @@
android:layout_centerVertical="true"
android:layout_marginStart="3dp"
android:layout_marginRight="15dp"
android:src="@drawable/buddy"
android:src="@drawable/dummy_person"
app:shapeAppearance="@style/CircularImageView"
tools:ignore="RtlHardcoded" />

View File

@ -22,7 +22,7 @@
android:layout_width="48dp"
android:layout_height="48dp"
app:shapeAppearance="@style/CircularImageView"
tools:src="@drawable/buddy" />
tools:src="@drawable/dummy_person" />
<org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/title_view"

View File

@ -45,7 +45,7 @@
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:padding="0.7dp"
android:src="@drawable/buddy"
android:src="@drawable/dummy_person"
app:shapeAppearance="@style/CircularImageView"
app:strokeColor="#ffffff"
app:strokeWidth="1dp" />

View File

@ -19,7 +19,7 @@
android:layout_alignParentTop="true"
android:layout_marginStart="3dp"
android:layout_marginRight="8dp"
android:src="@drawable/buddy"
android:src="@drawable/dummy_person"
app:shapeAppearance="@style/CircularImageView"
tools:ignore="RtlHardcoded" />