Remove CustomTextView dependency and reimplement it from scratch

The dependency caused some errors. It is old and unmaintained anyway.
This commit is contained in:
Bazsalanszky 2024-08-09 08:52:47 +02:00
parent c60d88b2fe
commit 2a08a26a36
43 changed files with 221 additions and 129 deletions

View File

@ -254,8 +254,6 @@ dependencies {
// Loading ProgressBar // Loading ProgressBar
implementation 'com.lsjwzh:materialloadingprogressbar:0.5.8-RELEASE' implementation 'com.lsjwzh:materialloadingprogressbar:0.5.8-RELEASE'
// Customizable TextView
implementation 'com.libRG:customtextview:2.4'
// Dismiss gesturing // Dismiss gesturing
implementation 'app.futured.hauler:hauler:5.0.0' implementation 'app.futured.hauler:hauler:5.0.0'

View File

@ -0,0 +1,85 @@
package eu.toldi.infinityforlemmy;
import android.content.Context;
import android.graphics.drawable.GradientDrawable;
import android.util.AttributeSet;
import androidx.appcompat.widget.AppCompatTextView;
import android.content.res.TypedArray;
public class CustomTextView extends AppCompatTextView {
private float radius = 6f;
private boolean roundedView = true;
private int shape = 0;
public CustomTextView(Context context) {
super(context);
init(null);
}
public CustomTextView(Context context, AttributeSet attrs) {
super(context, attrs);
init(attrs);
}
public CustomTextView(Context context, AttributeSet attrs, int defStyleAttr) {
super(context, attrs, defStyleAttr);
init(attrs);
}
private void init(AttributeSet attrs) {
if (attrs != null) {
TypedArray a = getContext().obtainStyledAttributes(attrs, R.styleable.CustomTextView);
radius = a.getDimension(R.styleable.CustomTextView_lib_setRadius, radius);
roundedView = a.getBoolean(R.styleable.CustomTextView_lib_setRoundedView, roundedView);
shape = a.getInt(R.styleable.CustomTextView_lib_setShape, shape);
a.recycle();
}
updateBackground();
}
private void updateBackground() {
GradientDrawable drawable = new GradientDrawable();
if (shape == 0) { // Rectangle
drawable.setShape(GradientDrawable.RECTANGLE);
} else if (shape == 1) { // Oval
drawable.setShape(GradientDrawable.OVAL);
}
if (roundedView) {
drawable.setCornerRadius(radius);
} else {
drawable.setCornerRadius(0);
}
this.setBackground(drawable);
}
public void setBackgroundColor(int color) {
GradientDrawable background = (GradientDrawable) this.getBackground();
background.setColor(color);
this.setBackground(background);
}
public void setBorderColor(int borderColor, int borderWidthDp) {
GradientDrawable background = (GradientDrawable) this.getBackground();
background.setStroke(dpToPx(borderWidthDp), borderColor);
this.setBackground(background);
}
public void setBorderColor(int borderColor) {
this.setBorderColor(borderColor, 1);
}
private int dpToPx(int dp) {
float density = getContext().getResources().getDisplayMetrics().density;
return Math.round(dp * density);
}
}

View File

@ -39,7 +39,7 @@ import com.google.android.material.divider.MaterialDivider;
import com.google.android.material.materialswitch.MaterialSwitch; import com.google.android.material.materialswitch.MaterialSwitch;
import com.google.android.material.snackbar.Snackbar; import com.google.android.material.snackbar.Snackbar;
import com.google.gson.Gson; import com.google.gson.Gson;
import com.libRG.CustomTextView; import eu.toldi.infinityforlemmy.CustomTextView;
import org.greenrobot.eventbus.EventBus; import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe; import org.greenrobot.eventbus.Subscribe;

View File

@ -39,7 +39,7 @@ import com.google.android.material.divider.MaterialDivider;
import com.google.android.material.floatingactionbutton.FloatingActionButton; import com.google.android.material.floatingactionbutton.FloatingActionButton;
import com.google.android.material.materialswitch.MaterialSwitch; import com.google.android.material.materialswitch.MaterialSwitch;
import com.google.android.material.snackbar.Snackbar; import com.google.android.material.snackbar.Snackbar;
import com.libRG.CustomTextView; import eu.toldi.infinityforlemmy.CustomTextView;
import org.greenrobot.eventbus.EventBus; import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe; import org.greenrobot.eventbus.Subscribe;

View File

@ -36,7 +36,7 @@ import com.google.android.material.dialog.MaterialAlertDialogBuilder;
import com.google.android.material.divider.MaterialDivider; import com.google.android.material.divider.MaterialDivider;
import com.google.android.material.materialswitch.MaterialSwitch; import com.google.android.material.materialswitch.MaterialSwitch;
import com.google.android.material.snackbar.Snackbar; import com.google.android.material.snackbar.Snackbar;
import com.libRG.CustomTextView; import eu.toldi.infinityforlemmy.CustomTextView;
import org.greenrobot.eventbus.EventBus; import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe; import org.greenrobot.eventbus.Subscribe;

View File

@ -35,7 +35,7 @@ import com.google.android.material.snackbar.Snackbar;
import com.google.android.material.textfield.TextInputEditText; import com.google.android.material.textfield.TextInputEditText;
import com.google.android.material.textfield.TextInputLayout; import com.google.android.material.textfield.TextInputLayout;
import com.google.gson.Gson; import com.google.gson.Gson;
import com.libRG.CustomTextView; import eu.toldi.infinityforlemmy.CustomTextView;
import org.greenrobot.eventbus.EventBus; import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe; import org.greenrobot.eventbus.Subscribe;

View File

@ -35,7 +35,7 @@ import com.google.android.material.dialog.MaterialAlertDialogBuilder;
import com.google.android.material.divider.MaterialDivider; import com.google.android.material.divider.MaterialDivider;
import com.google.android.material.materialswitch.MaterialSwitch; import com.google.android.material.materialswitch.MaterialSwitch;
import com.google.android.material.snackbar.Snackbar; import com.google.android.material.snackbar.Snackbar;
import com.libRG.CustomTextView; import eu.toldi.infinityforlemmy.CustomTextView;
import org.greenrobot.eventbus.EventBus; import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe; import org.greenrobot.eventbus.Subscribe;

View File

@ -42,7 +42,7 @@ import com.google.android.material.divider.MaterialDivider;
import com.google.android.material.floatingactionbutton.FloatingActionButton; import com.google.android.material.floatingactionbutton.FloatingActionButton;
import com.google.android.material.materialswitch.MaterialSwitch; import com.google.android.material.materialswitch.MaterialSwitch;
import com.google.android.material.snackbar.Snackbar; import com.google.android.material.snackbar.Snackbar;
import com.libRG.CustomTextView; import eu.toldi.infinityforlemmy.CustomTextView;
import org.greenrobot.eventbus.EventBus; import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe; import org.greenrobot.eventbus.Subscribe;

View File

@ -37,7 +37,7 @@ import com.google.android.material.button.MaterialButton;
import com.google.android.material.dialog.MaterialAlertDialogBuilder; import com.google.android.material.dialog.MaterialAlertDialogBuilder;
import com.google.android.material.materialswitch.MaterialSwitch; import com.google.android.material.materialswitch.MaterialSwitch;
import com.google.android.material.snackbar.Snackbar; import com.google.android.material.snackbar.Snackbar;
import com.libRG.CustomTextView; import eu.toldi.infinityforlemmy.CustomTextView;
import org.greenrobot.eventbus.EventBus; import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe; import org.greenrobot.eventbus.Subscribe;

View File

@ -49,7 +49,7 @@ import com.google.android.exoplayer2.ui.PlayerView;
import com.google.android.exoplayer2.ui.TimeBar; import com.google.android.exoplayer2.ui.TimeBar;
import com.google.android.material.button.MaterialButton; import com.google.android.material.button.MaterialButton;
import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableList;
import com.libRG.CustomTextView; import eu.toldi.infinityforlemmy.CustomTextView;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Locale; import java.util.Locale;

View File

@ -54,7 +54,7 @@ import com.google.android.exoplayer2.ui.PlayerView;
import com.google.android.exoplayer2.ui.TimeBar; import com.google.android.exoplayer2.ui.TimeBar;
import com.google.android.material.button.MaterialButton; import com.google.android.material.button.MaterialButton;
import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableList;
import com.libRG.CustomTextView; import eu.toldi.infinityforlemmy.CustomTextView;
import org.greenrobot.eventbus.EventBus; import org.greenrobot.eventbus.EventBus;
@ -2897,7 +2897,7 @@ public class PostRecyclerViewAdapter extends PagingDataAdapter<Post, RecyclerVie
ImageView stickiedPostImageView; ImageView stickiedPostImageView;
TextView postTimeTextView; TextView postTimeTextView;
TextView titleTextView; TextView titleTextView;
CustomTextView typeTextView; eu.toldi.infinityforlemmy.CustomTextView typeTextView;
ImageView archivedImageView; ImageView archivedImageView;
ImageView lockedImageView; ImageView lockedImageView;
ImageView crosspostImageView; ImageView crosspostImageView;
@ -2932,7 +2932,7 @@ public class PostRecyclerViewAdapter extends PagingDataAdapter<Post, RecyclerVie
ImageView stickiedPostImageView, ImageView stickiedPostImageView,
TextView postTimeTextView, TextView postTimeTextView,
TextView titleTextView, TextView titleTextView,
CustomTextView typeTextView, eu.toldi.infinityforlemmy.CustomTextView typeTextView,
ImageView archivedImageView, ImageView archivedImageView,
ImageView lockedImageView, ImageView lockedImageView,
ImageView crosspostImageView, ImageView crosspostImageView,
@ -3506,7 +3506,7 @@ public class PostRecyclerViewAdapter extends PagingDataAdapter<Post, RecyclerVie
ImageView stickiedPostImageView, ImageView stickiedPostImageView,
TextView postTimeTextView, TextView postTimeTextView,
TextView titleTextView, TextView titleTextView,
CustomTextView typeTextView, eu.toldi.infinityforlemmy.CustomTextView typeTextView,
ImageView archivedImageView, ImageView archivedImageView,
ImageView lockedImageView, ImageView lockedImageView,
ImageView crosspostImageView, ImageView crosspostImageView,
@ -3580,7 +3580,7 @@ public class PostRecyclerViewAdapter extends PagingDataAdapter<Post, RecyclerVie
ImageView stickiedPostImageView, ImageView stickiedPostImageView,
TextView postTimeTextView, TextView postTimeTextView,
TextView titleTextView, TextView titleTextView,
CustomTextView typeTextView, eu.toldi.infinityforlemmy.CustomTextView typeTextView,
ImageView crosspostImageView, ImageView crosspostImageView,
ImageView archivedImageView, ImageView archivedImageView,
ImageView lockedImageView, ImageView lockedImageView,
@ -4038,7 +4038,7 @@ public class PostRecyclerViewAdapter extends PagingDataAdapter<Post, RecyclerVie
ImageView stickiedPostImageView, ImageView stickiedPostImageView,
TextView postTimeTextView, TextView postTimeTextView,
TextView titleTextView, TextView titleTextView,
CustomTextView typeTextView, eu.toldi.infinityforlemmy.CustomTextView typeTextView,
ImageView archivedImageView, ImageView archivedImageView,
ImageView lockedImageView, ImageView lockedImageView,
ImageView crosspostImageView, ImageView crosspostImageView,
@ -5357,7 +5357,7 @@ public class PostRecyclerViewAdapter extends PagingDataAdapter<Post, RecyclerVie
ImageView stickiedPostImageView, ImageView stickiedPostImageView,
TextView postTimeTextView, TextView postTimeTextView,
TextView titleTextView, TextView titleTextView,
CustomTextView typeTextView, eu.toldi.infinityforlemmy.CustomTextView typeTextView,
ImageView crosspostImageView, ImageView crosspostImageView,
ImageView archivedImageView, ImageView archivedImageView,
ImageView lockedImageView, ImageView lockedImageView,

View File

@ -109,7 +109,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_custom_text_view_post_gallery_activity" android:id="@+id/nsfw_custom_text_view_post_gallery_activity"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -116,7 +116,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_custom_text_view_post_image_activity" android:id="@+id/nsfw_custom_text_view_post_image_activity"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -116,7 +116,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_custom_text_view_post_link_activity" android:id="@+id/nsfw_custom_text_view_post_link_activity"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -109,7 +109,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_custom_text_view_post_poll_activity" android:id="@+id/nsfw_custom_text_view_post_poll_activity"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -115,7 +115,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_custom_text_view_post_text_activity" android:id="@+id/nsfw_custom_text_view_post_text_activity"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -109,7 +109,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_custom_text_view_post_video_activity" android:id="@+id/nsfw_custom_text_view_post_video_activity"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -110,7 +110,7 @@
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_custom_text_view_submit_crosspost_activity" android:id="@+id/nsfw_custom_text_view_submit_crosspost_activity"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -128,7 +128,7 @@
app:flChildSpacingForLastRow="align" app:flChildSpacingForLastRow="align"
app:flRowSpacing="8dp"> app:flRowSpacing="8dp">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/type_text_view_theme_preview_posts_fragment" android:id="@+id/type_text_view_theme_preview_posts_fragment"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -140,7 +140,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/spoiler_custom_text_view_theme_preview_posts_fragment" android:id="@+id/spoiler_custom_text_view_theme_preview_posts_fragment"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -153,7 +153,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_text_view_theme_preview_posts_fragment" android:id="@+id/nsfw_text_view_theme_preview_posts_fragment"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -31,7 +31,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal" /> android:orientation="horizontal" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/image_index_text_view_item_post_card_2_gallery_type" android:id="@+id/image_index_text_view_item_post_card_2_gallery_type"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -73,7 +73,7 @@
app:flChildSpacingForLastRow="align" app:flChildSpacingForLastRow="align"
app:flRowSpacing="8dp"> app:flRowSpacing="8dp">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/type_text_view_item_post_card_2_gallery_type" android:id="@+id/type_text_view_item_post_card_2_gallery_type"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -85,7 +85,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/spoiler_custom_text_view_item_post_card_2_gallery_type" android:id="@+id/spoiler_custom_text_view_item_post_card_2_gallery_type"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -99,7 +99,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_text_view_item_post_card_2_gallery_type" android:id="@+id/nsfw_text_view_item_post_card_2_gallery_type"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -112,7 +112,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/flair_custom_text_view_item_post_card_2_gallery_type" android:id="@+id/flair_custom_text_view_item_post_card_2_gallery_type"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -125,7 +125,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/awards_text_view_item_post_card_2_gallery_type" android:id="@+id/awards_text_view_item_post_card_2_gallery_type"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -41,7 +41,7 @@
app:flChildSpacingForLastRow="align" app:flChildSpacingForLastRow="align"
app:flRowSpacing="8dp"> app:flRowSpacing="8dp">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/type_text_view_item_post_card_2_text" android:id="@+id/type_text_view_item_post_card_2_text"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -53,7 +53,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/spoiler_custom_text_view_item_post_card_2_text" android:id="@+id/spoiler_custom_text_view_item_post_card_2_text"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -67,7 +67,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_text_view_item_post_card_2_text" android:id="@+id/nsfw_text_view_item_post_card_2_text"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -80,7 +80,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/flair_custom_text_view_item_post_card_2_text" android:id="@+id/flair_custom_text_view_item_post_card_2_text"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -93,7 +93,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/awards_text_view_item_post_card_2_text" android:id="@+id/awards_text_view_item_post_card_2_text"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -74,7 +74,7 @@
app:flChildSpacingForLastRow="align" app:flChildSpacingForLastRow="align"
app:flRowSpacing="8dp"> app:flRowSpacing="8dp">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/type_text_view_item_post_card_2_video_autoplay" android:id="@+id/type_text_view_item_post_card_2_video_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -86,7 +86,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/spoiler_custom_text_view_item_post_card_2_video_autoplay" android:id="@+id/spoiler_custom_text_view_item_post_card_2_video_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -100,7 +100,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_text_view_item_post_card_2_video_autoplay" android:id="@+id/nsfw_text_view_item_post_card_2_video_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -113,7 +113,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/flair_custom_text_view_item_post_card_2_video_autoplay" android:id="@+id/flair_custom_text_view_item_post_card_2_video_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -126,7 +126,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/awards_text_view_item_post_card_2_video_autoplay" android:id="@+id/awards_text_view_item_post_card_2_video_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -74,7 +74,7 @@
app:flChildSpacingForLastRow="align" app:flChildSpacingForLastRow="align"
app:flRowSpacing="8dp"> app:flRowSpacing="8dp">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/type_text_view_item_post_card_2_video_autoplay" android:id="@+id/type_text_view_item_post_card_2_video_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -86,7 +86,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/spoiler_custom_text_view_item_post_card_2_video_autoplay" android:id="@+id/spoiler_custom_text_view_item_post_card_2_video_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -100,7 +100,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_text_view_item_post_card_2_video_autoplay" android:id="@+id/nsfw_text_view_item_post_card_2_video_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -113,7 +113,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/flair_custom_text_view_item_post_card_2_video_autoplay" android:id="@+id/flair_custom_text_view_item_post_card_2_video_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -126,7 +126,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/awards_text_view_item_post_card_2_video_autoplay" android:id="@+id/awards_text_view_item_post_card_2_video_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -85,7 +85,7 @@
app:flChildSpacingForLastRow="align" app:flChildSpacingForLastRow="align"
app:flRowSpacing="8dp"> app:flRowSpacing="8dp">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/type_text_view_item_post_card_2_with_preview" android:id="@+id/type_text_view_item_post_card_2_with_preview"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -97,7 +97,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/spoiler_custom_text_view_item_post_card_2_with_preview" android:id="@+id/spoiler_custom_text_view_item_post_card_2_with_preview"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -111,7 +111,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_text_view_item_post_card_2_with_preview" android:id="@+id/nsfw_text_view_item_post_card_2_with_preview"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -124,7 +124,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/flair_custom_text_view_item_post_card_2_with_preview" android:id="@+id/flair_custom_text_view_item_post_card_2_with_preview"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -137,7 +137,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/awards_text_view_item_post_card_2_with_preview" android:id="@+id/awards_text_view_item_post_card_2_with_preview"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -29,7 +29,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal" /> android:orientation="horizontal" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/image_index_text_view_item_post_card_3_gallery_type" android:id="@+id/image_index_text_view_item_post_card_3_gallery_type"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -182,7 +182,7 @@
app:flRowSpacing="8dp" app:flRowSpacing="8dp"
android:visibility="gone"> android:visibility="gone">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/type_text_view_item_post_card_3_with_preview" android:id="@+id/type_text_view_item_post_card_3_with_preview"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -193,7 +193,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/spoiler_custom_text_view_item_post_card_3_with_preview" android:id="@+id/spoiler_custom_text_view_item_post_card_3_with_preview"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -207,7 +207,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_text_view_item_post_card_3_with_preview" android:id="@+id/nsfw_text_view_item_post_card_3_with_preview"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -220,7 +220,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/flair_custom_text_view_item_post_card_3_with_preview" android:id="@+id/flair_custom_text_view_item_post_card_3_with_preview"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -233,7 +233,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/awards_text_view_item_post_card_3_with_preview" android:id="@+id/awards_text_view_item_post_card_3_with_preview"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -114,7 +114,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/title_text_view_item_post_compact"> app:layout_constraintTop_toBottomOf="@id/title_text_view_item_post_compact">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/type_text_view_item_post_compact" android:id="@+id/type_text_view_item_post_compact"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -125,7 +125,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/spoiler_custom_text_view_item_post_compact" android:id="@+id/spoiler_custom_text_view_item_post_compact"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -139,7 +139,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_text_view_item_post_compact" android:id="@+id/nsfw_text_view_item_post_compact"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -152,7 +152,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/flair_custom_text_view_item_post_compact" android:id="@+id/flair_custom_text_view_item_post_compact"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -165,7 +165,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/awards_text_view_item_post_compact" android:id="@+id/awards_text_view_item_post_compact"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -176,7 +176,7 @@
app:layout_constraintStart_toEndOf="@id/barrier2" app:layout_constraintStart_toEndOf="@id/barrier2"
app:layout_constraintTop_toBottomOf="@id/title_text_view_item_post_compact_right_thumbnail"> app:layout_constraintTop_toBottomOf="@id/title_text_view_item_post_compact_right_thumbnail">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/type_text_view_item_post_compact_right_thumbnail" android:id="@+id/type_text_view_item_post_compact_right_thumbnail"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -187,7 +187,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/spoiler_custom_text_view_item_post_compact_right_thumbnail" android:id="@+id/spoiler_custom_text_view_item_post_compact_right_thumbnail"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -201,7 +201,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_text_view_item_post_compact_right_thumbnail" android:id="@+id/nsfw_text_view_item_post_compact_right_thumbnail"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -214,7 +214,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/flair_custom_text_view_item_post_compact_right_thumbnail" android:id="@+id/flair_custom_text_view_item_post_compact_right_thumbnail"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -227,7 +227,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/awards_text_view_item_post_compact_right_thumbnail" android:id="@+id/awards_text_view_item_post_compact_right_thumbnail"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -131,7 +131,7 @@
app:flRowSpacing="8dp" app:flRowSpacing="8dp"
app:flRowVerticalGravity="center"> app:flRowVerticalGravity="center">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/type_text_view_item_post_detail_gallery" android:id="@+id/type_text_view_item_post_detail_gallery"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -143,7 +143,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/spoiler_custom_text_view_item_post_detail_gallery" android:id="@+id/spoiler_custom_text_view_item_post_detail_gallery"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -157,7 +157,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_text_view_item_post_detail_gallery" android:id="@+id/nsfw_text_view_item_post_detail_gallery"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -170,7 +170,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/flair_custom_text_view_item_post_detail_gallery" android:id="@+id/flair_custom_text_view_item_post_detail_gallery"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -234,7 +234,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal" /> android:orientation="horizontal" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/image_index_text_view_item_post_detail_gallery" android:id="@+id/image_index_text_view_item_post_detail_gallery"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -132,7 +132,7 @@
app:flRowSpacing="8dp" app:flRowSpacing="8dp"
app:flRowVerticalGravity="center"> app:flRowVerticalGravity="center">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/type_text_view_item_post_detail_image_and_gif_autoplay" android:id="@+id/type_text_view_item_post_detail_image_and_gif_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -144,7 +144,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/spoiler_custom_text_view_item_post_detail_image_and_gif_autoplay" android:id="@+id/spoiler_custom_text_view_item_post_detail_image_and_gif_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -158,7 +158,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_text_view_item_post_detail_image_and_gif_autoplay" android:id="@+id/nsfw_text_view_item_post_detail_image_and_gif_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -171,7 +171,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/flair_custom_text_view_item_post_detail_image_and_gif_autoplay" android:id="@+id/flair_custom_text_view_item_post_detail_image_and_gif_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -131,7 +131,7 @@
app:flRowSpacing="8dp" app:flRowSpacing="8dp"
app:flRowVerticalGravity="center"> app:flRowVerticalGravity="center">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/type_text_view_item_post_detail_link" android:id="@+id/type_text_view_item_post_detail_link"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -143,7 +143,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/spoiler_custom_text_view_item_post_detail_link" android:id="@+id/spoiler_custom_text_view_item_post_detail_link"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -157,7 +157,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_text_view_item_post_detail_link" android:id="@+id/nsfw_text_view_item_post_detail_link"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -170,7 +170,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/flair_custom_text_view_item_post_detail_link" android:id="@+id/flair_custom_text_view_item_post_detail_link"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -144,7 +144,7 @@
app:flRowSpacing="8dp" app:flRowSpacing="8dp"
app:flRowVerticalGravity="center"> app:flRowVerticalGravity="center">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/type_text_view_item_post_detail_no_preview" android:id="@+id/type_text_view_item_post_detail_no_preview"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -156,7 +156,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/spoiler_custom_text_view_item_post_detail_no_preview" android:id="@+id/spoiler_custom_text_view_item_post_detail_no_preview"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -170,7 +170,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_text_view_item_post_detail_no_preview" android:id="@+id/nsfw_text_view_item_post_detail_no_preview"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -183,7 +183,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/flair_custom_text_view_item_post_detail_no_preview" android:id="@+id/flair_custom_text_view_item_post_detail_no_preview"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -143,7 +143,7 @@
app:flRowSpacing="8dp" app:flRowSpacing="8dp"
app:flRowVerticalGravity="center"> app:flRowVerticalGravity="center">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/type_text_view_item_post_detail_text" android:id="@+id/type_text_view_item_post_detail_text"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -155,7 +155,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/spoiler_custom_text_view_item_post_detail_text" android:id="@+id/spoiler_custom_text_view_item_post_detail_text"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -169,7 +169,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_text_view_item_post_detail_text" android:id="@+id/nsfw_text_view_item_post_detail_text"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -182,7 +182,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/flair_custom_text_view_item_post_detail_text" android:id="@+id/flair_custom_text_view_item_post_detail_text"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -131,7 +131,7 @@
app:flRowSpacing="8dp" app:flRowSpacing="8dp"
app:flRowVerticalGravity="center"> app:flRowVerticalGravity="center">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/type_text_view_item_post_detail_video_and_gif_preview" android:id="@+id/type_text_view_item_post_detail_video_and_gif_preview"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -142,7 +142,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/spoiler_custom_text_view_item_post_detail_video_and_gif_preview" android:id="@+id/spoiler_custom_text_view_item_post_detail_video_and_gif_preview"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -156,7 +156,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_text_view_item_post_detail_video_and_gif_preview" android:id="@+id/nsfw_text_view_item_post_detail_video_and_gif_preview"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -169,7 +169,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/flair_custom_text_view_item_post_detail_video_and_gif_preview" android:id="@+id/flair_custom_text_view_item_post_detail_video_and_gif_preview"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -131,7 +131,7 @@
app:flRowSpacing="8dp" app:flRowSpacing="8dp"
app:flRowVerticalGravity="center"> app:flRowVerticalGravity="center">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/type_text_view_item_post_detail_video_autoplay" android:id="@+id/type_text_view_item_post_detail_video_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -143,7 +143,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/spoiler_custom_text_view_item_post_detail_video_autoplay" android:id="@+id/spoiler_custom_text_view_item_post_detail_video_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -157,7 +157,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_text_view_item_post_detail_video_autoplay" android:id="@+id/nsfw_text_view_item_post_detail_video_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -170,7 +170,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/flair_custom_text_view_item_post_detail_video_autoplay" android:id="@+id/flair_custom_text_view_item_post_detail_video_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -133,7 +133,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"> app:layout_constraintTop_toTopOf="parent">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/type_text_view_item_post_detail_video_autoplay" android:id="@+id/type_text_view_item_post_detail_video_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -145,7 +145,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/spoiler_custom_text_view_item_post_detail_video_autoplay" android:id="@+id/spoiler_custom_text_view_item_post_detail_video_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -159,7 +159,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_text_view_item_post_detail_video_autoplay" android:id="@+id/nsfw_text_view_item_post_detail_video_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -172,7 +172,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/flair_custom_text_view_item_post_detail_video_autoplay" android:id="@+id/flair_custom_text_view_item_post_detail_video_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -22,7 +22,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal" /> android:orientation="horizontal" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/image_index_text_view_item_post_gallery_gallery_type" android:id="@+id/image_index_text_view_item_post_gallery_gallery_type"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -143,7 +143,7 @@
app:flChildSpacingForLastRow="align" app:flChildSpacingForLastRow="align"
app:flRowSpacing="8dp"> app:flRowSpacing="8dp">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/type_text_view_item_post_gallery_type" android:id="@+id/type_text_view_item_post_gallery_type"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -155,7 +155,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/spoiler_text_view_item_post_gallery_type" android:id="@+id/spoiler_text_view_item_post_gallery_type"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -169,7 +169,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_text_view_item_post_gallery_type" android:id="@+id/nsfw_text_view_item_post_gallery_type"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -182,7 +182,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/flair_text_view_item_post_gallery_type" android:id="@+id/flair_text_view_item_post_gallery_type"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -195,7 +195,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/awards_text_view_item_post_gallery_type" android:id="@+id/awards_text_view_item_post_gallery_type"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -243,7 +243,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal" /> android:orientation="horizontal" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/image_index_text_view_item_post_gallery_type" android:id="@+id/image_index_text_view_item_post_gallery_type"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -155,7 +155,7 @@
app:flChildSpacingForLastRow="align" app:flChildSpacingForLastRow="align"
app:flRowSpacing="8dp"> app:flRowSpacing="8dp">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/type_text_view_item_post_text_type" android:id="@+id/type_text_view_item_post_text_type"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -167,7 +167,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/spoiler_custom_text_view_item_post_text_type" android:id="@+id/spoiler_custom_text_view_item_post_text_type"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -181,7 +181,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_text_view_item_post_text_type" android:id="@+id/nsfw_text_view_item_post_text_type"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -194,7 +194,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/flair_custom_text_view_item_post_text_type" android:id="@+id/flair_custom_text_view_item_post_text_type"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -207,7 +207,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/awards_text_view_item_post_text_type" android:id="@+id/awards_text_view_item_post_text_type"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -143,7 +143,7 @@
app:flChildSpacingForLastRow="align" app:flChildSpacingForLastRow="align"
app:flRowSpacing="8dp"> app:flRowSpacing="8dp">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/type_text_view_item_post_video_type_autoplay" android:id="@+id/type_text_view_item_post_video_type_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -155,7 +155,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/spoiler_custom_text_view_item_post_video_type_autoplay" android:id="@+id/spoiler_custom_text_view_item_post_video_type_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -169,7 +169,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_text_view_item_post_video_type_autoplay" android:id="@+id/nsfw_text_view_item_post_video_type_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -182,7 +182,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/flair_custom_text_view_item_post_video_type_autoplay" android:id="@+id/flair_custom_text_view_item_post_video_type_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -195,7 +195,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/awards_text_view_item_post_video_type_autoplay" android:id="@+id/awards_text_view_item_post_video_type_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -143,7 +143,7 @@
app:flChildSpacingForLastRow="align" app:flChildSpacingForLastRow="align"
app:flRowSpacing="8dp"> app:flRowSpacing="8dp">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/type_text_view_item_post_video_type_autoplay" android:id="@+id/type_text_view_item_post_video_type_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -155,7 +155,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/spoiler_custom_text_view_item_post_video_type_autoplay" android:id="@+id/spoiler_custom_text_view_item_post_video_type_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -169,7 +169,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_text_view_item_post_video_type_autoplay" android:id="@+id/nsfw_text_view_item_post_video_type_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -182,7 +182,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/flair_custom_text_view_item_post_video_type_autoplay" android:id="@+id/flair_custom_text_view_item_post_video_type_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -195,7 +195,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/awards_text_view_item_post_video_type_autoplay" android:id="@+id/awards_text_view_item_post_video_type_autoplay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -143,7 +143,7 @@
app:flChildSpacingForLastRow="align" app:flChildSpacingForLastRow="align"
app:flRowSpacing="8dp"> app:flRowSpacing="8dp">
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/type_text_view_item_post_with_preview" android:id="@+id/type_text_view_item_post_with_preview"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -154,7 +154,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/spoiler_custom_text_view_item_post_with_preview" android:id="@+id/spoiler_custom_text_view_item_post_with_preview"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -168,7 +168,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/nsfw_text_view_item_post_with_preview" android:id="@+id/nsfw_text_view_item_post_with_preview"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -181,7 +181,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/flair_custom_text_view_item_post_with_preview" android:id="@+id/flair_custom_text_view_item_post_with_preview"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -194,7 +194,7 @@
app:lib_setRoundedView="true" app:lib_setRoundedView="true"
app:lib_setShape="rectangle" /> app:lib_setShape="rectangle" />
<com.libRG.CustomTextView <eu.toldi.infinityforlemmy.CustomTextView
android:id="@+id/awards_text_view_item_post_with_preview" android:id="@+id/awards_text_view_item_post_with_preview"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -49,4 +49,13 @@
<attr name="backgroundColor" format="color"/> <attr name="backgroundColor" format="color"/>
<attr name="cardViewBackgroundColor" format="color"/> <attr name="cardViewBackgroundColor" format="color"/>
</declare-styleable> </declare-styleable>
<declare-styleable name="CustomTextView">
<attr name="lib_setRadius" format="dimension" />
<attr name="lib_setRoundedView" format="boolean" />
<attr name="lib_setShape" format="enum">
<enum name="rectangle" value="0"/>
<enum name="oval" value="1"/>
</attr>
</declare-styleable>
</resources> </resources>