mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Codacy :)
This commit is contained in:
parent
1618640046
commit
04ff70fa5b
1 changed files with 5 additions and 1 deletions
|
|
@ -289,7 +289,11 @@ public class MediaDetailFragment extends Fragment {
|
|||
|
||||
textView.setText(catName);
|
||||
if (categoriesLoaded && categoriesPresent) {
|
||||
textView.setCompoundDrawablesWithIntrinsicBounds(AppCompatResources.getDrawable(getContext(), R.drawable.ic_info_outline_white_24dp), null, null, null);
|
||||
textView.setCompoundDrawablesWithIntrinsicBounds(
|
||||
AppCompatResources.getDrawable(
|
||||
getContext(),
|
||||
R.drawable.ic_info_outline_white_24dp),
|
||||
null, null, null);
|
||||
textView.setCompoundDrawablePadding((int) UiUtils.convertDpToPixel(6, getContext()));
|
||||
textView.setGravity(Gravity.CENTER_VERTICAL);
|
||||
textView.setOnClickListener(view -> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue