mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-02-06 14:44:53 +01:00
Compare commits
3 Commits
1c4e5f3659
...
a7c2a67d0c
Author | SHA1 | Date | |
---|---|---|---|
|
a7c2a67d0c | ||
|
4ec6666f93 | ||
|
fcc0181075 |
@ -21,6 +21,7 @@ import android.view.Window;
|
|||||||
import android.view.WindowManager;
|
import android.view.WindowManager;
|
||||||
import android.view.inputmethod.EditorInfo;
|
import android.view.inputmethod.EditorInfo;
|
||||||
import android.widget.LinearLayout;
|
import android.widget.LinearLayout;
|
||||||
|
import android.widget.ProgressBar;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
|
|
||||||
@ -170,6 +171,9 @@ public class ViewUserDetailActivity extends BaseActivity implements SortTypeSele
|
|||||||
|
|
||||||
@BindView(R.id.user_qualified_name_text_view_view_user_detail_activity)
|
@BindView(R.id.user_qualified_name_text_view_view_user_detail_activity)
|
||||||
TextView qualifiedNameTextView;
|
TextView qualifiedNameTextView;
|
||||||
|
|
||||||
|
@BindView(R.id.loading_user_progress_indicator_view_user_detail_activity)
|
||||||
|
ProgressBar progressBar;
|
||||||
@BindView(R.id.subscribe_user_chip_view_user_detail_activity)
|
@BindView(R.id.subscribe_user_chip_view_user_detail_activity)
|
||||||
Chip subscribeUserChip;
|
Chip subscribeUserChip;
|
||||||
@BindView(R.id.karma_text_view_view_user_detail_activity)
|
@BindView(R.id.karma_text_view_view_user_detail_activity)
|
||||||
@ -310,6 +314,7 @@ public class ViewUserDetailActivity extends BaseActivity implements SortTypeSele
|
|||||||
private void setupVisibleElements() {
|
private void setupVisibleElements() {
|
||||||
Resources resources = getResources();
|
Resources resources = getResources();
|
||||||
String title = username;
|
String title = username;
|
||||||
|
progressBar.setVisibility(View.GONE);
|
||||||
userNameTextView.setText(title);
|
userNameTextView.setText(title);
|
||||||
qualifiedNameTextView.setText(qualifiedName);
|
qualifiedNameTextView.setText(qualifiedName);
|
||||||
toolbar.setTitle(title);
|
toolbar.setTitle(title);
|
||||||
|
@ -57,6 +57,7 @@ import com.libRG.CustomTextView;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
import java.util.concurrent.Executor;
|
import java.util.concurrent.Executor;
|
||||||
|
import java.util.regex.Pattern;
|
||||||
|
|
||||||
import javax.inject.Provider;
|
import javax.inject.Provider;
|
||||||
|
|
||||||
@ -579,12 +580,16 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
|||||||
((PostDetailBaseViewHolder) holder).mCrosspostImageView.setVisibility(View.VISIBLE);
|
((PostDetailBaseViewHolder) holder).mCrosspostImageView.setVisibility(View.VISIBLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!mHideSubredditAndUserPrefix) {
|
if (mHideSubredditAndUserPrefix) {
|
||||||
((PostDetailBaseViewHolder) holder).mSubredditTextView.setText(mPost.getSubredditNamePrefixed());
|
|
||||||
((PostDetailBaseViewHolder) holder).mUserTextView.setText(mPost.getAuthorNamePrefixed());
|
|
||||||
} else {
|
|
||||||
((PostDetailBaseViewHolder) holder).mSubredditTextView.setText(mPost.getSubredditName());
|
((PostDetailBaseViewHolder) holder).mSubredditTextView.setText(mPost.getSubredditName());
|
||||||
((PostDetailBaseViewHolder) holder).mUserTextView.setText(mPost.getAuthor());
|
((PostDetailBaseViewHolder) holder).mUserTextView.setText(mPost.getAuthor());
|
||||||
|
} else {
|
||||||
|
((PostDetailBaseViewHolder) holder).mSubredditTextView.setText(mPost.getSubredditName());
|
||||||
|
((PostDetailBaseViewHolder) holder).mCommunityInstanceTextView.setText('@' + mPost.getSubredditNamePrefixed().split(Pattern.quote("@"))[1]);
|
||||||
|
((PostDetailBaseViewHolder) holder).mUserTextView.setText(mPost.getAuthor());
|
||||||
|
((PostDetailBaseViewHolder) holder).mUserInstanceTextView.setText('@' + mPost.getAuthorNamePrefixed().split(Pattern.quote("@"))[1]);
|
||||||
|
((PostDetailBaseViewHolder) holder).mCommunityInstanceTextView.setTextColor(CustomThemeWrapper.darkenColor(mSubredditColor, 0.7f));
|
||||||
|
((PostDetailBaseViewHolder) holder).mUserInstanceTextView.setTextColor(CustomThemeWrapper.darkenColor(mPost.isModerator() || mPost.isAdmin() ? mModeratorColor : mUsernameColor, 0.7f));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mPost.isModerator() || mPost.isAdmin()) {
|
if (mPost.isModerator() || mPost.isAdmin()) {
|
||||||
@ -1175,7 +1180,9 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
|||||||
public class PostDetailBaseViewHolder extends RecyclerView.ViewHolder {
|
public class PostDetailBaseViewHolder extends RecyclerView.ViewHolder {
|
||||||
AspectRatioGifImageView mIconGifImageView;
|
AspectRatioGifImageView mIconGifImageView;
|
||||||
TextView mSubredditTextView;
|
TextView mSubredditTextView;
|
||||||
|
TextView mCommunityInstanceTextView;
|
||||||
TextView mUserTextView;
|
TextView mUserTextView;
|
||||||
|
TextView mUserInstanceTextView;
|
||||||
TextView mAuthorFlairTextView;
|
TextView mAuthorFlairTextView;
|
||||||
TextView mPostTimeTextView;
|
TextView mPostTimeTextView;
|
||||||
TextView mTitleTextView;
|
TextView mTitleTextView;
|
||||||
@ -1204,7 +1211,9 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
|||||||
|
|
||||||
void setBaseView(AspectRatioGifImageView mIconGifImageView,
|
void setBaseView(AspectRatioGifImageView mIconGifImageView,
|
||||||
TextView mSubredditTextView,
|
TextView mSubredditTextView,
|
||||||
|
TextView mCommunityInstanceTextView,
|
||||||
TextView mUserTextView,
|
TextView mUserTextView,
|
||||||
|
TextView mUserInstanceTextView,
|
||||||
TextView mAuthorFlairTextView,
|
TextView mAuthorFlairTextView,
|
||||||
TextView mPostTimeTextView,
|
TextView mPostTimeTextView,
|
||||||
TextView mTitleTextView,
|
TextView mTitleTextView,
|
||||||
@ -1228,7 +1237,9 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
|||||||
ImageView mShareButton) {
|
ImageView mShareButton) {
|
||||||
this.mIconGifImageView = mIconGifImageView;
|
this.mIconGifImageView = mIconGifImageView;
|
||||||
this.mSubredditTextView = mSubredditTextView;
|
this.mSubredditTextView = mSubredditTextView;
|
||||||
|
this.mCommunityInstanceTextView = mCommunityInstanceTextView;
|
||||||
this.mUserTextView = mUserTextView;
|
this.mUserTextView = mUserTextView;
|
||||||
|
this.mUserInstanceTextView = mUserInstanceTextView;
|
||||||
this.mAuthorFlairTextView = mAuthorFlairTextView;
|
this.mAuthorFlairTextView = mAuthorFlairTextView;
|
||||||
this.mPostTimeTextView = mPostTimeTextView;
|
this.mPostTimeTextView = mPostTimeTextView;
|
||||||
this.mTitleTextView = mTitleTextView;
|
this.mTitleTextView = mTitleTextView;
|
||||||
@ -1257,16 +1268,18 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
|||||||
|
|
||||||
mIconGifImageView.setOnClickListener(view -> mSubredditTextView.performClick());
|
mIconGifImageView.setOnClickListener(view -> mSubredditTextView.performClick());
|
||||||
|
|
||||||
mSubredditTextView.setOnClickListener(view -> {
|
View.OnClickListener communityClickListener = view -> {
|
||||||
Intent intent;
|
Intent intent;
|
||||||
intent = new Intent(mActivity, ViewSubredditDetailActivity.class);
|
intent = new Intent(mActivity, ViewSubredditDetailActivity.class);
|
||||||
intent.putExtra(ViewSubredditDetailActivity.EXTRA_SUBREDDIT_NAME_KEY,
|
intent.putExtra(ViewSubredditDetailActivity.EXTRA_SUBREDDIT_NAME_KEY,
|
||||||
mPost.getSubredditName());
|
mPost.getSubredditName());
|
||||||
intent.putExtra(ViewSubredditDetailActivity.EXTRA_COMMUNITY_FULL_NAME_KEY, mPost.getSubredditNamePrefixed());
|
intent.putExtra(ViewSubredditDetailActivity.EXTRA_COMMUNITY_FULL_NAME_KEY, mPost.getSubredditNamePrefixed());
|
||||||
mActivity.startActivity(intent);
|
mActivity.startActivity(intent);
|
||||||
});
|
};
|
||||||
|
mSubredditTextView.setOnClickListener(communityClickListener);
|
||||||
|
mCommunityInstanceTextView.setOnClickListener(communityClickListener);
|
||||||
|
|
||||||
mUserTextView.setOnClickListener(view -> {
|
View.OnClickListener onUserClick = view -> {
|
||||||
if (mPost.isAuthorDeleted()) {
|
if (mPost.isAuthorDeleted()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -1274,7 +1287,9 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
|||||||
intent.putExtra(ViewUserDetailActivity.EXTRA_USER_NAME_KEY, mPost.getAuthor());
|
intent.putExtra(ViewUserDetailActivity.EXTRA_USER_NAME_KEY, mPost.getAuthor());
|
||||||
intent.putExtra(ViewUserDetailActivity.EXTRA_QUALIFIED_USER_NAME_KEY, mPost.getAuthorNamePrefixed());
|
intent.putExtra(ViewUserDetailActivity.EXTRA_QUALIFIED_USER_NAME_KEY, mPost.getAuthorNamePrefixed());
|
||||||
mActivity.startActivity(intent);
|
mActivity.startActivity(intent);
|
||||||
});
|
};
|
||||||
|
mUserTextView.setOnClickListener(onUserClick);
|
||||||
|
mUserInstanceTextView.setOnClickListener(onUserClick);
|
||||||
|
|
||||||
mAuthorFlairTextView.setOnClickListener(view -> mUserTextView.performClick());
|
mAuthorFlairTextView.setOnClickListener(view -> mUserTextView.performClick());
|
||||||
|
|
||||||
@ -1723,8 +1738,14 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
|||||||
AspectRatioGifImageView mIconGifImageView;
|
AspectRatioGifImageView mIconGifImageView;
|
||||||
@BindView(R.id.subreddit_text_view_item_post_detail_video_autoplay)
|
@BindView(R.id.subreddit_text_view_item_post_detail_video_autoplay)
|
||||||
TextView mSubredditTextView;
|
TextView mSubredditTextView;
|
||||||
|
|
||||||
|
@BindView(R.id.community_instance_text_view_item_post_detail_video_autoplay)
|
||||||
|
TextView mCommunityInstanceTextView;
|
||||||
@BindView(R.id.user_text_view_item_post_detail_video_autoplay)
|
@BindView(R.id.user_text_view_item_post_detail_video_autoplay)
|
||||||
TextView mUserTextView;
|
TextView mUserTextView;
|
||||||
|
@BindView(R.id.user_instance_text_view_item_post_detail_video_autoplay)
|
||||||
|
TextView mUserInstanceTextView;
|
||||||
|
|
||||||
@BindView(R.id.author_flair_text_view_item_post_detail_video_autoplay)
|
@BindView(R.id.author_flair_text_view_item_post_detail_video_autoplay)
|
||||||
TextView mAuthorFlairTextView;
|
TextView mAuthorFlairTextView;
|
||||||
@BindView(R.id.post_time_text_view_item_post_detail_video_autoplay)
|
@BindView(R.id.post_time_text_view_item_post_detail_video_autoplay)
|
||||||
@ -1799,7 +1820,9 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
|||||||
ButterKnife.bind(this, itemView);
|
ButterKnife.bind(this, itemView);
|
||||||
setBaseView(mIconGifImageView,
|
setBaseView(mIconGifImageView,
|
||||||
mSubredditTextView,
|
mSubredditTextView,
|
||||||
|
mCommunityInstanceTextView,
|
||||||
mUserTextView,
|
mUserTextView,
|
||||||
|
mUserInstanceTextView,
|
||||||
mAuthorFlairTextView,
|
mAuthorFlairTextView,
|
||||||
mPostTimeTextView,
|
mPostTimeTextView,
|
||||||
mTitleTextView,
|
mTitleTextView,
|
||||||
@ -2034,8 +2057,12 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
|||||||
AspectRatioGifImageView mIconGifImageView;
|
AspectRatioGifImageView mIconGifImageView;
|
||||||
@BindView(R.id.subreddit_text_view_item_post_detail_video_and_gif_preview)
|
@BindView(R.id.subreddit_text_view_item_post_detail_video_and_gif_preview)
|
||||||
TextView mSubredditTextView;
|
TextView mSubredditTextView;
|
||||||
|
@BindView(R.id.community_instance_text_view_item_post_detail_video_and_gif_preview)
|
||||||
|
TextView mCommunityInstanceTextView;
|
||||||
@BindView(R.id.user_text_view_item_post_detail_video_and_gif_preview)
|
@BindView(R.id.user_text_view_item_post_detail_video_and_gif_preview)
|
||||||
TextView mUserTextView;
|
TextView mUserTextView;
|
||||||
|
@BindView(R.id.user_instance_text_view_item_post_detail_video_and_gif_preview)
|
||||||
|
TextView mUserInstanceTextView;
|
||||||
@BindView(R.id.author_flair_text_view_item_post_detail_video_and_gif_preview)
|
@BindView(R.id.author_flair_text_view_item_post_detail_video_and_gif_preview)
|
||||||
TextView mAuthorFlairTextView;
|
TextView mAuthorFlairTextView;
|
||||||
@BindView(R.id.post_time_text_view_item_post_detail_video_and_gif_preview)
|
@BindView(R.id.post_time_text_view_item_post_detail_video_and_gif_preview)
|
||||||
@ -2095,7 +2122,9 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
|||||||
ButterKnife.bind(this, itemView);
|
ButterKnife.bind(this, itemView);
|
||||||
setBaseView(mIconGifImageView,
|
setBaseView(mIconGifImageView,
|
||||||
mSubredditTextView,
|
mSubredditTextView,
|
||||||
|
mCommunityInstanceTextView,
|
||||||
mUserTextView,
|
mUserTextView,
|
||||||
|
mUserInstanceTextView,
|
||||||
mAuthorFlairTextView,
|
mAuthorFlairTextView,
|
||||||
mPostTimeTextView,
|
mPostTimeTextView,
|
||||||
mTitleTextView,
|
mTitleTextView,
|
||||||
@ -2167,8 +2196,12 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
|||||||
AspectRatioGifImageView mIconGifImageView;
|
AspectRatioGifImageView mIconGifImageView;
|
||||||
@BindView(R.id.subreddit_text_view_item_post_detail_image_and_gif_autoplay)
|
@BindView(R.id.subreddit_text_view_item_post_detail_image_and_gif_autoplay)
|
||||||
TextView mSubredditTextView;
|
TextView mSubredditTextView;
|
||||||
|
@BindView(R.id.community_instance_text_view_item_post_detail_image_and_gif_autoplay)
|
||||||
|
TextView mCommunityInstanceTextView;
|
||||||
@BindView(R.id.user_text_view_item_post_detail_image_and_gif_autoplay)
|
@BindView(R.id.user_text_view_item_post_detail_image_and_gif_autoplay)
|
||||||
TextView mUserTextView;
|
TextView mUserTextView;
|
||||||
|
@BindView(R.id.user_instance_text_view_item_post_detail_image_and_gif_autoplay)
|
||||||
|
TextView mUserInstanceTextView;
|
||||||
@BindView(R.id.author_flair_text_view_item_post_detail_image_and_gif_autoplay)
|
@BindView(R.id.author_flair_text_view_item_post_detail_image_and_gif_autoplay)
|
||||||
TextView mAuthorFlairTextView;
|
TextView mAuthorFlairTextView;
|
||||||
@BindView(R.id.post_time_text_view_item_post_detail_image_and_gif_autoplay)
|
@BindView(R.id.post_time_text_view_item_post_detail_image_and_gif_autoplay)
|
||||||
@ -2228,7 +2261,9 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
|||||||
ButterKnife.bind(this, itemView);
|
ButterKnife.bind(this, itemView);
|
||||||
setBaseView(mIconGifImageView,
|
setBaseView(mIconGifImageView,
|
||||||
mSubredditTextView,
|
mSubredditTextView,
|
||||||
|
mCommunityInstanceTextView,
|
||||||
mUserTextView,
|
mUserTextView,
|
||||||
|
mUserInstanceTextView,
|
||||||
mAuthorFlairTextView,
|
mAuthorFlairTextView,
|
||||||
mPostTimeTextView,
|
mPostTimeTextView,
|
||||||
mTitleTextView,
|
mTitleTextView,
|
||||||
@ -2284,8 +2319,12 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
|||||||
AspectRatioGifImageView mIconGifImageView;
|
AspectRatioGifImageView mIconGifImageView;
|
||||||
@BindView(R.id.subreddit_text_view_item_post_detail_link)
|
@BindView(R.id.subreddit_text_view_item_post_detail_link)
|
||||||
TextView mSubredditTextView;
|
TextView mSubredditTextView;
|
||||||
|
@BindView(R.id.community_instance_text_view_item_post_detail_link)
|
||||||
|
TextView mCommunityInstanceTextView;
|
||||||
@BindView(R.id.user_text_view_item_post_detail_link)
|
@BindView(R.id.user_text_view_item_post_detail_link)
|
||||||
TextView mUserTextView;
|
TextView mUserTextView;
|
||||||
|
@BindView(R.id.user_instance_text_view_item_post_detail_link)
|
||||||
|
TextView mUserInstanceTextView;
|
||||||
@BindView(R.id.author_flair_text_view_item_post_detail_link)
|
@BindView(R.id.author_flair_text_view_item_post_detail_link)
|
||||||
TextView mAuthorFlairTextView;
|
TextView mAuthorFlairTextView;
|
||||||
@BindView(R.id.post_time_text_view_item_post_detail_link)
|
@BindView(R.id.post_time_text_view_item_post_detail_link)
|
||||||
@ -2347,7 +2386,9 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
|||||||
ButterKnife.bind(this, itemView);
|
ButterKnife.bind(this, itemView);
|
||||||
setBaseView(mIconGifImageView,
|
setBaseView(mIconGifImageView,
|
||||||
mSubredditTextView,
|
mSubredditTextView,
|
||||||
|
mCommunityInstanceTextView,
|
||||||
mUserTextView,
|
mUserTextView,
|
||||||
|
mUserInstanceTextView,
|
||||||
mAuthorFlairTextView,
|
mAuthorFlairTextView,
|
||||||
mPostTimeTextView,
|
mPostTimeTextView,
|
||||||
mTitleTextView,
|
mTitleTextView,
|
||||||
@ -2392,8 +2433,12 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
|||||||
AspectRatioGifImageView mIconGifImageView;
|
AspectRatioGifImageView mIconGifImageView;
|
||||||
@BindView(R.id.subreddit_text_view_item_post_detail_no_preview_link)
|
@BindView(R.id.subreddit_text_view_item_post_detail_no_preview_link)
|
||||||
TextView mSubredditTextView;
|
TextView mSubredditTextView;
|
||||||
|
@BindView(R.id.community_instance_text_view_item_post_detail_no_preview_link)
|
||||||
|
TextView mCommunityInstanceTextView;
|
||||||
@BindView(R.id.user_text_view_item_post_detail_no_preview_link)
|
@BindView(R.id.user_text_view_item_post_detail_no_preview_link)
|
||||||
TextView mUserTextView;
|
TextView mUserTextView;
|
||||||
|
@BindView(R.id.user_instance_text_view_item_post_detail_no_preview_link)
|
||||||
|
TextView mUserInstanceTextView;
|
||||||
@BindView(R.id.author_flair_text_view_item_post_detail_no_preview_link)
|
@BindView(R.id.author_flair_text_view_item_post_detail_no_preview_link)
|
||||||
TextView mAuthorFlairTextView;
|
TextView mAuthorFlairTextView;
|
||||||
@BindView(R.id.post_time_text_view_item_post_detail_no_preview_link)
|
@BindView(R.id.post_time_text_view_item_post_detail_no_preview_link)
|
||||||
@ -2447,7 +2492,9 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
|||||||
ButterKnife.bind(this, itemView);
|
ButterKnife.bind(this, itemView);
|
||||||
setBaseView(mIconGifImageView,
|
setBaseView(mIconGifImageView,
|
||||||
mSubredditTextView,
|
mSubredditTextView,
|
||||||
|
mCommunityInstanceTextView,
|
||||||
mUserTextView,
|
mUserTextView,
|
||||||
|
mUserInstanceTextView,
|
||||||
mAuthorFlairTextView,
|
mAuthorFlairTextView,
|
||||||
mPostTimeTextView,
|
mPostTimeTextView,
|
||||||
mTitleTextView,
|
mTitleTextView,
|
||||||
@ -2537,8 +2584,12 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
|||||||
AspectRatioGifImageView mIconGifImageView;
|
AspectRatioGifImageView mIconGifImageView;
|
||||||
@BindView(R.id.subreddit_text_view_item_post_detail_gallery)
|
@BindView(R.id.subreddit_text_view_item_post_detail_gallery)
|
||||||
TextView mSubredditTextView;
|
TextView mSubredditTextView;
|
||||||
|
@BindView(R.id.community_instance_text_view_item_post_detail_gallery)
|
||||||
|
TextView mCommunityInstanceTextView;
|
||||||
@BindView(R.id.user_text_view_item_post_detail_gallery)
|
@BindView(R.id.user_text_view_item_post_detail_gallery)
|
||||||
TextView mUserTextView;
|
TextView mUserTextView;
|
||||||
|
@BindView(R.id.user_instance_text_view_item_post_detail_gallery)
|
||||||
|
TextView mUserInstanceTextView;
|
||||||
@BindView(R.id.author_flair_text_view_item_post_detail_gallery)
|
@BindView(R.id.author_flair_text_view_item_post_detail_gallery)
|
||||||
TextView mAuthorFlairTextView;
|
TextView mAuthorFlairTextView;
|
||||||
@BindView(R.id.post_time_text_view_item_post_detail_gallery)
|
@BindView(R.id.post_time_text_view_item_post_detail_gallery)
|
||||||
@ -2596,7 +2647,9 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
|||||||
ButterKnife.bind(this, itemView);
|
ButterKnife.bind(this, itemView);
|
||||||
setBaseView(mIconGifImageView,
|
setBaseView(mIconGifImageView,
|
||||||
mSubredditTextView,
|
mSubredditTextView,
|
||||||
|
mCommunityInstanceTextView,
|
||||||
mUserTextView,
|
mUserTextView,
|
||||||
|
mUserInstanceTextView,
|
||||||
mAuthorFlairTextView,
|
mAuthorFlairTextView,
|
||||||
mPostTimeTextView,
|
mPostTimeTextView,
|
||||||
mTitleTextView,
|
mTitleTextView,
|
||||||
@ -2735,8 +2788,12 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
|||||||
AspectRatioGifImageView mIconGifImageView;
|
AspectRatioGifImageView mIconGifImageView;
|
||||||
@BindView(R.id.subreddit_text_view_item_post_detail_text)
|
@BindView(R.id.subreddit_text_view_item_post_detail_text)
|
||||||
TextView mSubredditTextView;
|
TextView mSubredditTextView;
|
||||||
|
@BindView(R.id.community_instance_text_view_item_post_detail_text)
|
||||||
|
TextView mCommunityInstanceTextView;
|
||||||
@BindView(R.id.user_text_view_item_post_detail_text)
|
@BindView(R.id.user_text_view_item_post_detail_text)
|
||||||
TextView mUserTextView;
|
TextView mUserTextView;
|
||||||
|
@BindView(R.id.user_instance_text_view_item_post_detail_text)
|
||||||
|
TextView mUserInstanceTextView;
|
||||||
@BindView(R.id.author_flair_text_view_item_post_detail_text)
|
@BindView(R.id.author_flair_text_view_item_post_detail_text)
|
||||||
TextView mAuthorFlairTextView;
|
TextView mAuthorFlairTextView;
|
||||||
@BindView(R.id.post_time_text_view_item_post_detail_text)
|
@BindView(R.id.post_time_text_view_item_post_detail_text)
|
||||||
@ -2786,7 +2843,9 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
|||||||
ButterKnife.bind(this, itemView);
|
ButterKnife.bind(this, itemView);
|
||||||
setBaseView(mIconGifImageView,
|
setBaseView(mIconGifImageView,
|
||||||
mSubredditTextView,
|
mSubredditTextView,
|
||||||
|
mCommunityInstanceTextView,
|
||||||
mUserTextView,
|
mUserTextView,
|
||||||
|
mUserInstanceTextView,
|
||||||
mAuthorFlairTextView,
|
mAuthorFlairTextView,
|
||||||
mPostTimeTextView,
|
mPostTimeTextView,
|
||||||
mTitleTextView,
|
mTitleTextView,
|
||||||
|
@ -2547,7 +2547,7 @@ public class PostRecyclerViewAdapter extends PagingDataAdapter<Post, RecyclerVie
|
|||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
userTextView.setOnClickListener(view -> {
|
View.OnClickListener onClickListener = view -> {
|
||||||
if (!canStartActivity) {
|
if (!canStartActivity) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -2564,49 +2564,35 @@ public class PostRecyclerViewAdapter extends PagingDataAdapter<Post, RecyclerVie
|
|||||||
intent.putExtra(ViewUserDetailActivity.EXTRA_USER_NAME_KEY, post.getAuthor());
|
intent.putExtra(ViewUserDetailActivity.EXTRA_USER_NAME_KEY, post.getAuthor());
|
||||||
intent.putExtra(ViewUserDetailActivity.EXTRA_QUALIFIED_USER_NAME_KEY, post.getAuthorNamePrefixed());
|
intent.putExtra(ViewUserDetailActivity.EXTRA_QUALIFIED_USER_NAME_KEY, post.getAuthorNamePrefixed());
|
||||||
mActivity.startActivity(intent);
|
mActivity.startActivity(intent);
|
||||||
});
|
};
|
||||||
|
userTextView.setOnClickListener(onClickListener);
|
||||||
|
userInstanceTextView.setOnClickListener(onClickListener);
|
||||||
|
|
||||||
|
|
||||||
|
View.OnClickListener onClickListener1 = view -> {
|
||||||
|
int position = getBindingAdapterPosition();
|
||||||
|
if (position < 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
Post post = getItem(position);
|
||||||
|
if (post != null) {
|
||||||
|
if (canStartActivity) {
|
||||||
|
canStartActivity = false;
|
||||||
|
Intent intent = new Intent(mActivity, ViewSubredditDetailActivity.class);
|
||||||
|
intent.putExtra(ViewSubredditDetailActivity.EXTRA_SUBREDDIT_NAME_KEY,
|
||||||
|
post.getSubredditName());
|
||||||
|
intent.putExtra(ViewSubredditDetailActivity.EXTRA_COMMUNITY_FULL_NAME_KEY,
|
||||||
|
post.getSubredditNamePrefixed());
|
||||||
|
mActivity.startActivity(intent);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
communityInstanceTextView.setOnClickListener(onClickListener1);
|
||||||
if (mDisplaySubredditName) {
|
if (mDisplaySubredditName) {
|
||||||
subredditTextView.setOnClickListener(view -> {
|
subredditTextView.setOnClickListener(onClickListener1);
|
||||||
int position = getBindingAdapterPosition();
|
|
||||||
if (position < 0) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
Post post = getItem(position);
|
|
||||||
if (post != null) {
|
|
||||||
if (canStartActivity) {
|
|
||||||
canStartActivity = false;
|
|
||||||
Intent intent = new Intent(mActivity, ViewSubredditDetailActivity.class);
|
|
||||||
intent.putExtra(ViewSubredditDetailActivity.EXTRA_SUBREDDIT_NAME_KEY,
|
|
||||||
post.getSubredditName());
|
|
||||||
intent.putExtra(ViewSubredditDetailActivity.EXTRA_COMMUNITY_FULL_NAME_KEY,
|
|
||||||
post.getSubredditNamePrefixed());
|
|
||||||
mActivity.startActivity(intent);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
iconGifImageView.setOnClickListener(view -> subredditTextView.performClick());
|
iconGifImageView.setOnClickListener(view -> subredditTextView.performClick());
|
||||||
} else {
|
} else {
|
||||||
subredditTextView.setOnClickListener(view -> {
|
subredditTextView.setOnClickListener(onClickListener1);
|
||||||
int position = getBindingAdapterPosition();
|
|
||||||
if (position < 0) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
Post post = getItem(position);
|
|
||||||
if (post != null) {
|
|
||||||
if (canStartActivity) {
|
|
||||||
canStartActivity = false;
|
|
||||||
Intent intent = new Intent(mActivity, ViewSubredditDetailActivity.class);
|
|
||||||
intent.putExtra(ViewSubredditDetailActivity.EXTRA_SUBREDDIT_NAME_KEY,
|
|
||||||
post.getSubredditName());
|
|
||||||
intent.putExtra(ViewSubredditDetailActivity.EXTRA_COMMUNITY_FULL_NAME_KEY,
|
|
||||||
post.getSubredditNamePrefixed());
|
|
||||||
mActivity.startActivity(intent);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
iconGifImageView.setOnClickListener(view -> userTextView.performClick());
|
iconGifImageView.setOnClickListener(view -> userTextView.performClick());
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4025,7 +4011,7 @@ public class PostRecyclerViewAdapter extends PagingDataAdapter<Post, RecyclerVie
|
|||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
nameTextView.setOnClickListener(view -> {
|
View.OnClickListener onClickListener = view -> {
|
||||||
int position = getBindingAdapterPosition();
|
int position = getBindingAdapterPosition();
|
||||||
if (position < 0) {
|
if (position < 0) {
|
||||||
return;
|
return;
|
||||||
@ -4047,7 +4033,10 @@ public class PostRecyclerViewAdapter extends PagingDataAdapter<Post, RecyclerVie
|
|||||||
mActivity.startActivity(intent);
|
mActivity.startActivity(intent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
};
|
||||||
|
nameTextView.setOnClickListener(onClickListener);
|
||||||
|
instanceTextView.setOnClickListener(onClickListener);
|
||||||
|
|
||||||
|
|
||||||
iconGifImageView.setOnClickListener(view -> nameTextView.performClick());
|
iconGifImageView.setOnClickListener(view -> nameTextView.performClick());
|
||||||
|
|
||||||
|
@ -51,6 +51,12 @@
|
|||||||
android:paddingEnd="16dp"
|
android:paddingEnd="16dp"
|
||||||
android:layout_below="@id/banner_image_view_view_user_detail_activity">
|
android:layout_below="@id/banner_image_view_view_user_detail_activity">
|
||||||
|
|
||||||
|
<ProgressBar
|
||||||
|
android:id="@+id/loading_user_progress_indicator_view_user_detail_activity"
|
||||||
|
style="?android:attr/progressBarStyle"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/user_name_text_view_view_user_detail_activity"
|
android:id="@+id/user_name_text_view_view_user_detail_activity"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@ -59,15 +65,14 @@
|
|||||||
android:layout_marginBottom="4dp"
|
android:layout_marginBottom="4dp"
|
||||||
android:textSize="?attr/font_18"
|
android:textSize="?attr/font_18"
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
android:layout_gravity="center_horizontal"/>
|
android:layout_gravity="center_horizontal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/user_qualified_name_text_view_view_user_detail_activity"
|
android:id="@+id/user_qualified_name_text_view_view_user_detail_activity"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_horizontal"
|
android:layout_gravity="center_horizontal"
|
||||||
android:layout_marginBottom="16dp"
|
android:layout_marginBottom="16dp" />
|
||||||
android:text="TextView" />
|
|
||||||
|
|
||||||
<com.google.android.material.chip.Chip
|
<com.google.android.material.chip.Chip
|
||||||
android:id="@+id/subscribe_user_chip_view_user_detail_activity"
|
android:id="@+id/subscribe_user_chip_view_user_detail_activity"
|
||||||
|
@ -51,6 +51,12 @@
|
|||||||
android:paddingEnd="16dp"
|
android:paddingEnd="16dp"
|
||||||
android:layout_below="@id/banner_image_view_view_user_detail_activity">
|
android:layout_below="@id/banner_image_view_view_user_detail_activity">
|
||||||
|
|
||||||
|
<ProgressBar
|
||||||
|
android:id="@+id/loading_user_progress_indicator_view_user_detail_activity"
|
||||||
|
style="?android:attr/progressBarStyle"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/user_name_text_view_view_user_detail_activity"
|
android:id="@+id/user_name_text_view_view_user_detail_activity"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@ -59,14 +65,14 @@
|
|||||||
android:layout_marginBottom="4dp"
|
android:layout_marginBottom="4dp"
|
||||||
android:textSize="?attr/font_18"
|
android:textSize="?attr/font_18"
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
android:layout_gravity="center_horizontal"/>
|
android:layout_gravity="center_horizontal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/user_qualified_name_text_view_view_user_detail_activity"
|
android:id="@+id/user_qualified_name_text_view_view_user_detail_activity"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_horizontal"
|
android:layout_gravity="center_horizontal"
|
||||||
android:layout_marginBottom="16dp"
|
android:layout_marginBottom="16dp" />
|
||||||
android:text="TextView" />
|
|
||||||
|
|
||||||
<com.google.android.material.chip.Chip
|
<com.google.android.material.chip.Chip
|
||||||
android:id="@+id/subscribe_user_chip_view_user_detail_activity"
|
android:id="@+id/subscribe_user_chip_view_user_detail_activity"
|
||||||
|
@ -51,6 +51,12 @@
|
|||||||
android:paddingEnd="16dp"
|
android:paddingEnd="16dp"
|
||||||
android:layout_below="@id/banner_image_view_view_user_detail_activity">
|
android:layout_below="@id/banner_image_view_view_user_detail_activity">
|
||||||
|
|
||||||
|
<ProgressBar
|
||||||
|
android:id="@+id/loading_user_progress_indicator_view_user_detail_activity"
|
||||||
|
style="?android:attr/progressBarStyle"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/user_name_text_view_view_user_detail_activity"
|
android:id="@+id/user_name_text_view_view_user_detail_activity"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@ -66,8 +72,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_horizontal"
|
android:layout_gravity="center_horizontal"
|
||||||
android:layout_marginBottom="16dp"
|
android:layout_marginBottom="16dp" />
|
||||||
android:text="TextView" />
|
|
||||||
|
|
||||||
<com.google.android.material.chip.Chip
|
<com.google.android.material.chip.Chip
|
||||||
android:id="@+id/subscribe_user_chip_view_user_detail_activity"
|
android:id="@+id/subscribe_user_chip_view_user_detail_activity"
|
||||||
|
@ -26,67 +26,59 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginEnd="8dp"
|
|
||||||
android:textSize="?attr/font_default"
|
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_gallery"
|
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_gallery"
|
||||||
app:layout_constraintEnd_toStartOf="@id/guideline"
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
|
||||||
app:layout_constraintHorizontal_bias="0"
|
<TextView
|
||||||
app:layout_constrainedWidth="true" />
|
android:id="@+id/community_instance_text_view_item_post_detail_gallery"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
|
app:layout_constraintStart_toEndOf="@+id/subreddit_text_view_item_post_detail_gallery"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/user_text_view_item_post_detail_gallery"
|
android:id="@+id/user_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"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginEnd="8dp"
|
|
||||||
android:textSize="?attr/font_default"
|
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/author_flair_text_view_item_post_detail_gallery"
|
app:layout_constraintBottom_toTopOf="@+id/author_flair_text_view_item_post_detail_gallery"
|
||||||
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_gallery"
|
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_gallery"
|
||||||
app:layout_constraintEnd_toStartOf="@id/guideline"
|
app:layout_constraintTop_toBottomOf="@+id/subreddit_text_view_item_post_detail_gallery" />
|
||||||
app:layout_constraintTop_toBottomOf="@+id/subreddit_text_view_item_post_detail_gallery"
|
|
||||||
app:layout_constraintHorizontal_bias="0"
|
<TextView
|
||||||
app:layout_constrainedWidth="true" />
|
android:id="@+id/user_instance_text_view_item_post_detail_gallery"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
|
app:layout_constraintBottom_toTopOf="@+id/author_flair_text_view_item_post_detail_gallery"
|
||||||
|
app:layout_constraintStart_toEndOf="@+id/user_text_view_item_post_detail_gallery"
|
||||||
|
app:layout_constraintTop_toBottomOf="@+id/subreddit_text_view_item_post_detail_gallery" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/author_flair_text_view_item_post_detail_gallery"
|
android:id="@+id/author_flair_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"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginEnd="8dp"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_gallery"
|
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_gallery"
|
||||||
app:layout_constraintEnd_toStartOf="@id/guideline"
|
|
||||||
app:layout_constraintTop_toBottomOf="@+id/user_text_view_item_post_detail_gallery"
|
app:layout_constraintTop_toBottomOf="@+id/user_text_view_item_post_detail_gallery"
|
||||||
app:layout_constraintHorizontal_bias="0"
|
|
||||||
app:layout_constrainedWidth="true"
|
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/post_time_text_view_item_post_detail_gallery"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:gravity="end"
|
|
||||||
android:textSize="?attr/font_default"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
app:layout_constraintHorizontal_bias="1"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintStart_toEndOf="@id/guideline"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.Guideline
|
|
||||||
android:id="@+id/guideline"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
app:layout_constraintGuide_percent="0.6" />
|
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
@ -103,104 +95,122 @@
|
|||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:longClickable="true" />
|
android:longClickable="true" />
|
||||||
|
|
||||||
<com.nex3z.flowlayout.FlowLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="match_parent">
|
||||||
android:padding="16dp"
|
|
||||||
app:flChildSpacing="16dp"
|
|
||||||
app:flChildSpacingForLastRow="align"
|
|
||||||
app:flRowSpacing="8dp"
|
|
||||||
app:flRowVerticalGravity="center">
|
|
||||||
|
|
||||||
<com.libRG.CustomTextView
|
|
||||||
android:id="@+id/type_text_view_item_post_detail_gallery"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:padding="4dp"
|
|
||||||
android:text="@string/gallery"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
app:lib_setRadius="6dp"
|
|
||||||
app:lib_setRoundedView="true"
|
|
||||||
app:lib_setShape="rectangle" />
|
|
||||||
|
|
||||||
<com.libRG.CustomTextView
|
|
||||||
android:id="@+id/spoiler_custom_text_view_item_post_detail_gallery"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:text="@string/spoiler"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
android:padding="4dp"
|
|
||||||
android:visibility="gone"
|
|
||||||
app:lib_setRadius="6dp"
|
|
||||||
app:lib_setRoundedView="true"
|
|
||||||
app:lib_setShape="rectangle" />
|
|
||||||
|
|
||||||
<com.libRG.CustomTextView
|
|
||||||
android:id="@+id/nsfw_text_view_item_post_detail_gallery"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:padding="4dp"
|
|
||||||
android:text="@string/nsfw"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
android:visibility="gone"
|
|
||||||
app:lib_setRadius="6dp"
|
|
||||||
app:lib_setRoundedView="true"
|
|
||||||
app:lib_setShape="rectangle" />
|
|
||||||
|
|
||||||
<com.libRG.CustomTextView
|
|
||||||
android:id="@+id/flair_custom_text_view_item_post_detail_gallery"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:padding="4dp"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
android:visibility="gone"
|
|
||||||
app:lib_setRadius="6dp"
|
|
||||||
app:lib_setRoundedView="true"
|
|
||||||
app:lib_setShape="rectangle" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/upvote_ratio_text_view_item_post_detail_gallery"
|
android:id="@+id/post_time_text_view_item_post_detail_gallery"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="?attr/font_12"
|
android:layout_marginEnd="8dp"
|
||||||
android:fontFamily="?attr/font_family" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/archived_image_view_item_post_detail_gallery"
|
|
||||||
android:layout_width="20dp"
|
|
||||||
android:layout_height="20dp"
|
|
||||||
android:src="@drawable/ic_archive_outline"
|
|
||||||
android:visibility="gone" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/locked_image_view_item_post_detail_gallery"
|
|
||||||
android:layout_width="20dp"
|
|
||||||
android:layout_height="20dp"
|
|
||||||
android:src="@drawable/ic_outline_lock_24dp"
|
|
||||||
android:visibility="gone" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/crosspost_image_view_item_post_detail_gallery"
|
|
||||||
android:layout_width="20dp"
|
|
||||||
android:layout_height="20dp"
|
|
||||||
android:src="@drawable/crosspost"
|
|
||||||
android:visibility="gone" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/awards_text_view_item_post_detail_gallery"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
android:visibility="gone" />
|
android:gravity="end"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
</com.nex3z.flowlayout.FlowLayout>
|
<com.nex3z.flowlayout.FlowLayout
|
||||||
|
android:id="@+id/flowLayout5"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:padding="16dp"
|
||||||
|
app:flChildSpacing="16dp"
|
||||||
|
app:flChildSpacingForLastRow="align"
|
||||||
|
app:flRowSpacing="8dp"
|
||||||
|
app:flRowVerticalGravity="center">
|
||||||
|
|
||||||
|
<com.libRG.CustomTextView
|
||||||
|
android:id="@+id/type_text_view_item_post_detail_gallery"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:text="@string/gallery"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
app:lib_setRadius="6dp"
|
||||||
|
app:lib_setRoundedView="true"
|
||||||
|
app:lib_setShape="rectangle" />
|
||||||
|
|
||||||
|
<com.libRG.CustomTextView
|
||||||
|
android:id="@+id/spoiler_custom_text_view_item_post_detail_gallery"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:text="@string/spoiler"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
android:visibility="gone"
|
||||||
|
app:lib_setRadius="6dp"
|
||||||
|
app:lib_setRoundedView="true"
|
||||||
|
app:lib_setShape="rectangle" />
|
||||||
|
|
||||||
|
<com.libRG.CustomTextView
|
||||||
|
android:id="@+id/nsfw_text_view_item_post_detail_gallery"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:text="@string/nsfw"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
android:visibility="gone"
|
||||||
|
app:lib_setRadius="6dp"
|
||||||
|
app:lib_setRoundedView="true"
|
||||||
|
app:lib_setShape="rectangle" />
|
||||||
|
|
||||||
|
<com.libRG.CustomTextView
|
||||||
|
android:id="@+id/flair_custom_text_view_item_post_detail_gallery"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
android:visibility="gone"
|
||||||
|
app:lib_setRadius="6dp"
|
||||||
|
app:lib_setRoundedView="true"
|
||||||
|
app:lib_setShape="rectangle" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/upvote_ratio_text_view_item_post_detail_gallery"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_12" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/archived_image_view_item_post_detail_gallery"
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="20dp"
|
||||||
|
android:src="@drawable/ic_archive_outline"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/locked_image_view_item_post_detail_gallery"
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="20dp"
|
||||||
|
android:src="@drawable/ic_outline_lock_24dp"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/crosspost_image_view_item_post_detail_gallery"
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="20dp"
|
||||||
|
android:src="@drawable/crosspost"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/awards_text_view_item_post_detail_gallery"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
</com.nex3z.flowlayout.FlowLayout>
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:id="@+id/gallery_frame_layout_item_post_detail_gallery"
|
android:id="@+id/gallery_frame_layout_item_post_detail_gallery"
|
||||||
|
@ -26,67 +26,60 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginEnd="8dp"
|
|
||||||
android:textSize="?attr/font_default"
|
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_image_and_gif_autoplay"
|
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_image_and_gif_autoplay"
|
||||||
app:layout_constraintEnd_toStartOf="@id/guideline"
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
|
||||||
app:layout_constraintHorizontal_bias="0"
|
<TextView
|
||||||
app:layout_constrainedWidth="true" />
|
android:id="@+id/community_instance_text_view_item_post_detail_image_and_gif_autoplay"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
|
app:layout_constraintStart_toEndOf="@+id/subreddit_text_view_item_post_detail_image_and_gif_autoplay"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/user_text_view_item_post_detail_image_and_gif_autoplay"
|
android:id="@+id/user_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"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginEnd="8dp"
|
|
||||||
android:textSize="?attr/font_default"
|
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/author_flair_text_view_item_post_detail_image_and_gif_autoplay"
|
app:layout_constraintBottom_toTopOf="@+id/author_flair_text_view_item_post_detail_image_and_gif_autoplay"
|
||||||
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_image_and_gif_autoplay"
|
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_image_and_gif_autoplay"
|
||||||
app:layout_constraintEnd_toStartOf="@id/guideline"
|
app:layout_constraintTop_toBottomOf="@+id/subreddit_text_view_item_post_detail_image_and_gif_autoplay" />
|
||||||
app:layout_constraintTop_toBottomOf="@+id/subreddit_text_view_item_post_detail_image_and_gif_autoplay"
|
|
||||||
app:layout_constraintHorizontal_bias="0"
|
<TextView
|
||||||
app:layout_constrainedWidth="true" />
|
android:id="@+id/user_instance_text_view_item_post_detail_image_and_gif_autoplay"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
|
app:layout_constraintBottom_toTopOf="@+id/author_flair_text_view_item_post_detail_image_and_gif_autoplay"
|
||||||
|
app:layout_constraintStart_toEndOf="@+id/user_text_view_item_post_detail_image_and_gif_autoplay"
|
||||||
|
app:layout_constraintTop_toBottomOf="@+id/subreddit_text_view_item_post_detail_image_and_gif_autoplay" />
|
||||||
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/author_flair_text_view_item_post_detail_image_and_gif_autoplay"
|
android:id="@+id/author_flair_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"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginEnd="8dp"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_image_and_gif_autoplay"
|
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_image_and_gif_autoplay"
|
||||||
app:layout_constraintEnd_toStartOf="@id/guideline"
|
|
||||||
app:layout_constraintTop_toBottomOf="@+id/user_text_view_item_post_detail_image_and_gif_autoplay"
|
app:layout_constraintTop_toBottomOf="@+id/user_text_view_item_post_detail_image_and_gif_autoplay"
|
||||||
app:layout_constraintHorizontal_bias="0"
|
|
||||||
app:layout_constrainedWidth="true"
|
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/post_time_text_view_item_post_detail_image_and_gif_autoplay"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:gravity="end"
|
|
||||||
android:textSize="?attr/font_default"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
app:layout_constraintHorizontal_bias="1"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintStart_toEndOf="@id/guideline"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.Guideline
|
|
||||||
android:id="@+id/guideline"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
app:layout_constraintGuide_percent="0.6" />
|
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
@ -103,104 +96,122 @@
|
|||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:longClickable="true" />
|
android:longClickable="true" />
|
||||||
|
|
||||||
<com.nex3z.flowlayout.FlowLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="match_parent">
|
||||||
android:padding="16dp"
|
|
||||||
app:flChildSpacing="16dp"
|
|
||||||
app:flChildSpacingForLastRow="align"
|
|
||||||
app:flRowSpacing="8dp"
|
|
||||||
app:flRowVerticalGravity="center">
|
|
||||||
|
|
||||||
<com.libRG.CustomTextView
|
|
||||||
android:id="@+id/type_text_view_item_post_detail_image_and_gif_autoplay"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:padding="4dp"
|
|
||||||
android:text="@string/image"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
app:lib_setRadius="6dp"
|
|
||||||
app:lib_setRoundedView="true"
|
|
||||||
app:lib_setShape="rectangle" />
|
|
||||||
|
|
||||||
<com.libRG.CustomTextView
|
|
||||||
android:id="@+id/spoiler_custom_text_view_item_post_detail_image_and_gif_autoplay"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:text="@string/spoiler"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
android:padding="4dp"
|
|
||||||
android:visibility="gone"
|
|
||||||
app:lib_setRadius="6dp"
|
|
||||||
app:lib_setRoundedView="true"
|
|
||||||
app:lib_setShape="rectangle" />
|
|
||||||
|
|
||||||
<com.libRG.CustomTextView
|
|
||||||
android:id="@+id/nsfw_text_view_item_post_detail_image_and_gif_autoplay"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:padding="4dp"
|
|
||||||
android:text="@string/nsfw"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
android:visibility="gone"
|
|
||||||
app:lib_setRadius="6dp"
|
|
||||||
app:lib_setRoundedView="true"
|
|
||||||
app:lib_setShape="rectangle" />
|
|
||||||
|
|
||||||
<com.libRG.CustomTextView
|
|
||||||
android:id="@+id/flair_custom_text_view_item_post_detail_image_and_gif_autoplay"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:padding="4dp"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
android:visibility="gone"
|
|
||||||
app:lib_setRadius="6dp"
|
|
||||||
app:lib_setRoundedView="true"
|
|
||||||
app:lib_setShape="rectangle" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/upvote_ratio_text_view_item_post_detail_image_and_gif_autoplay"
|
android:id="@+id/post_time_text_view_item_post_detail_image_and_gif_autoplay"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="?attr/font_12"
|
android:layout_marginEnd="8dp"
|
||||||
android:fontFamily="?attr/font_family" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/archived_image_view_item_post_detail_image_and_gif_autoplay"
|
|
||||||
android:layout_width="20dp"
|
|
||||||
android:layout_height="20dp"
|
|
||||||
android:src="@drawable/ic_archive_outline"
|
|
||||||
android:visibility="gone" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/locked_image_view_item_post_detail_image_and_gif_autoplay"
|
|
||||||
android:layout_width="20dp"
|
|
||||||
android:layout_height="20dp"
|
|
||||||
android:src="@drawable/ic_outline_lock_24dp"
|
|
||||||
android:visibility="gone" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/crosspost_image_view_item_post_detail_image_and_gif_autoplay"
|
|
||||||
android:layout_width="20dp"
|
|
||||||
android:layout_height="20dp"
|
|
||||||
android:src="@drawable/crosspost"
|
|
||||||
android:visibility="gone" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/awards_text_view_item_post_detail_image_and_gif_autoplay"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
android:visibility="gone" />
|
android:gravity="end"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="@+id/flowLayout6"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
</com.nex3z.flowlayout.FlowLayout>
|
<com.nex3z.flowlayout.FlowLayout
|
||||||
|
android:id="@+id/flowLayout6"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:padding="16dp"
|
||||||
|
app:flChildSpacing="16dp"
|
||||||
|
app:flChildSpacingForLastRow="align"
|
||||||
|
app:flRowSpacing="8dp"
|
||||||
|
app:flRowVerticalGravity="center">
|
||||||
|
|
||||||
|
<com.libRG.CustomTextView
|
||||||
|
android:id="@+id/type_text_view_item_post_detail_image_and_gif_autoplay"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:text="@string/image"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
app:lib_setRadius="6dp"
|
||||||
|
app:lib_setRoundedView="true"
|
||||||
|
app:lib_setShape="rectangle" />
|
||||||
|
|
||||||
|
<com.libRG.CustomTextView
|
||||||
|
android:id="@+id/spoiler_custom_text_view_item_post_detail_image_and_gif_autoplay"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:text="@string/spoiler"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
android:visibility="gone"
|
||||||
|
app:lib_setRadius="6dp"
|
||||||
|
app:lib_setRoundedView="true"
|
||||||
|
app:lib_setShape="rectangle" />
|
||||||
|
|
||||||
|
<com.libRG.CustomTextView
|
||||||
|
android:id="@+id/nsfw_text_view_item_post_detail_image_and_gif_autoplay"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:text="@string/nsfw"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
android:visibility="gone"
|
||||||
|
app:lib_setRadius="6dp"
|
||||||
|
app:lib_setRoundedView="true"
|
||||||
|
app:lib_setShape="rectangle" />
|
||||||
|
|
||||||
|
<com.libRG.CustomTextView
|
||||||
|
android:id="@+id/flair_custom_text_view_item_post_detail_image_and_gif_autoplay"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
android:visibility="gone"
|
||||||
|
app:lib_setRadius="6dp"
|
||||||
|
app:lib_setRoundedView="true"
|
||||||
|
app:lib_setShape="rectangle" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/upvote_ratio_text_view_item_post_detail_image_and_gif_autoplay"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_12" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/archived_image_view_item_post_detail_image_and_gif_autoplay"
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="20dp"
|
||||||
|
android:src="@drawable/ic_archive_outline"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/locked_image_view_item_post_detail_image_and_gif_autoplay"
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="20dp"
|
||||||
|
android:src="@drawable/ic_outline_lock_24dp"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/crosspost_image_view_item_post_detail_image_and_gif_autoplay"
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="20dp"
|
||||||
|
android:src="@drawable/crosspost"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/awards_text_view_item_post_detail_image_and_gif_autoplay"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
</com.nex3z.flowlayout.FlowLayout>
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:id="@+id/image_view_wrapper_item_post_detail_image_and_gif_autoplay"
|
android:id="@+id/image_view_wrapper_item_post_detail_image_and_gif_autoplay"
|
||||||
|
@ -26,66 +26,58 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginEnd="8dp"
|
|
||||||
android:textSize="?attr/font_default"
|
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_link"
|
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_link"
|
||||||
app:layout_constraintEnd_toStartOf="@id/guideline"
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
|
||||||
app:layout_constraintHorizontal_bias="0"
|
<TextView
|
||||||
app:layout_constrainedWidth="true" />
|
android:id="@+id/community_instance_text_view_item_post_detail_link"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
|
app:layout_constraintStart_toEndOf="@+id/subreddit_text_view_item_post_detail_link"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/user_text_view_item_post_detail_link"
|
android:id="@+id/user_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"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginEnd="8dp"
|
|
||||||
android:textSize="?attr/font_default"
|
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/author_flair_text_view_item_post_detail_link"
|
app:layout_constraintBottom_toTopOf="@+id/author_flair_text_view_item_post_detail_link"
|
||||||
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_link"
|
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_link"
|
||||||
app:layout_constraintEnd_toStartOf="@id/guideline"
|
app:layout_constraintTop_toBottomOf="@+id/subreddit_text_view_item_post_detail_link" />
|
||||||
app:layout_constraintTop_toBottomOf="@+id/subreddit_text_view_item_post_detail_link"
|
|
||||||
app:layout_constraintHorizontal_bias="0"
|
<TextView
|
||||||
app:layout_constrainedWidth="true" />
|
android:id="@+id/user_instance_text_view_item_post_detail_link"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
|
app:layout_constraintBottom_toTopOf="@+id/author_flair_text_view_item_post_detail_link"
|
||||||
|
app:layout_constraintStart_toEndOf="@+id/user_text_view_item_post_detail_link"
|
||||||
|
app:layout_constraintTop_toBottomOf="@+id/subreddit_text_view_item_post_detail_link" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/author_flair_text_view_item_post_detail_link"
|
android:id="@+id/author_flair_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"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginEnd="8dp"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_link"
|
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_link"
|
||||||
app:layout_constraintEnd_toStartOf="@id/guideline"
|
|
||||||
app:layout_constraintTop_toBottomOf="@+id/user_text_view_item_post_detail_link"
|
app:layout_constraintTop_toBottomOf="@+id/user_text_view_item_post_detail_link"
|
||||||
app:layout_constraintHorizontal_bias="0"
|
tools:visibility="visible" />
|
||||||
app:layout_constrainedWidth="true"
|
|
||||||
tools:visibility="visible" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/post_time_text_view_item_post_detail_link"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:gravity="end"
|
|
||||||
android:textSize="?attr/font_default"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
app:layout_constraintHorizontal_bias="1"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintStart_toEndOf="@id/guideline"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.Guideline
|
|
||||||
android:id="@+id/guideline"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
app:layout_constraintGuide_percent="0.6" />
|
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
@ -103,104 +95,122 @@
|
|||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:longClickable="true" />
|
android:longClickable="true" />
|
||||||
|
|
||||||
<com.nex3z.flowlayout.FlowLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="match_parent">
|
||||||
android:padding="16dp"
|
|
||||||
app:flChildSpacing="16dp"
|
|
||||||
app:flChildSpacingForLastRow="align"
|
|
||||||
app:flRowSpacing="8dp"
|
|
||||||
app:flRowVerticalGravity="center">
|
|
||||||
|
|
||||||
<com.libRG.CustomTextView
|
|
||||||
android:id="@+id/type_text_view_item_post_detail_link"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:padding="4dp"
|
|
||||||
android:text="@string/link"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
app:lib_setRadius="6dp"
|
|
||||||
app:lib_setRoundedView="true"
|
|
||||||
app:lib_setShape="rectangle" />
|
|
||||||
|
|
||||||
<com.libRG.CustomTextView
|
|
||||||
android:id="@+id/spoiler_custom_text_view_item_post_detail_link"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:text="@string/spoiler"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
android:padding="4dp"
|
|
||||||
android:visibility="gone"
|
|
||||||
app:lib_setRadius="6dp"
|
|
||||||
app:lib_setRoundedView="true"
|
|
||||||
app:lib_setShape="rectangle" />
|
|
||||||
|
|
||||||
<com.libRG.CustomTextView
|
|
||||||
android:id="@+id/nsfw_text_view_item_post_detail_link"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:padding="4dp"
|
|
||||||
android:text="@string/nsfw"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
android:visibility="gone"
|
|
||||||
app:lib_setRadius="6dp"
|
|
||||||
app:lib_setRoundedView="true"
|
|
||||||
app:lib_setShape="rectangle" />
|
|
||||||
|
|
||||||
<com.libRG.CustomTextView
|
|
||||||
android:id="@+id/flair_custom_text_view_item_post_detail_link"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:padding="4dp"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
android:visibility="gone"
|
|
||||||
app:lib_setRadius="6dp"
|
|
||||||
app:lib_setRoundedView="true"
|
|
||||||
app:lib_setShape="rectangle" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/upvote_ratio_text_view_item_post_detail_link"
|
android:id="@+id/post_time_text_view_item_post_detail_link"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="?attr/font_12"
|
android:layout_marginEnd="8dp"
|
||||||
android:fontFamily="?attr/font_family" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/archived_image_view_item_post_detail_link"
|
|
||||||
android:layout_width="20dp"
|
|
||||||
android:layout_height="20dp"
|
|
||||||
android:src="@drawable/ic_archive_outline"
|
|
||||||
android:visibility="gone" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/locked_image_view_item_post_detail_link"
|
|
||||||
android:layout_width="20dp"
|
|
||||||
android:layout_height="20dp"
|
|
||||||
android:src="@drawable/ic_outline_lock_24dp"
|
|
||||||
android:visibility="gone" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/crosspost_image_view_item_post_detail_link"
|
|
||||||
android:layout_width="20dp"
|
|
||||||
android:layout_height="20dp"
|
|
||||||
android:src="@drawable/crosspost"
|
|
||||||
android:visibility="gone" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/awards_text_view_item_post_detail_link"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
android:visibility="gone" />
|
android:gravity="end"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
</com.nex3z.flowlayout.FlowLayout>
|
<com.nex3z.flowlayout.FlowLayout
|
||||||
|
android:id="@+id/flowLayout7"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:padding="16dp"
|
||||||
|
app:flChildSpacing="16dp"
|
||||||
|
app:flChildSpacingForLastRow="align"
|
||||||
|
app:flRowSpacing="8dp"
|
||||||
|
app:flRowVerticalGravity="center">
|
||||||
|
|
||||||
|
<com.libRG.CustomTextView
|
||||||
|
android:id="@+id/type_text_view_item_post_detail_link"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:text="@string/link"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
app:lib_setRadius="6dp"
|
||||||
|
app:lib_setRoundedView="true"
|
||||||
|
app:lib_setShape="rectangle" />
|
||||||
|
|
||||||
|
<com.libRG.CustomTextView
|
||||||
|
android:id="@+id/spoiler_custom_text_view_item_post_detail_link"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:text="@string/spoiler"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
android:visibility="gone"
|
||||||
|
app:lib_setRadius="6dp"
|
||||||
|
app:lib_setRoundedView="true"
|
||||||
|
app:lib_setShape="rectangle" />
|
||||||
|
|
||||||
|
<com.libRG.CustomTextView
|
||||||
|
android:id="@+id/nsfw_text_view_item_post_detail_link"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:text="@string/nsfw"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
android:visibility="gone"
|
||||||
|
app:lib_setRadius="6dp"
|
||||||
|
app:lib_setRoundedView="true"
|
||||||
|
app:lib_setShape="rectangle" />
|
||||||
|
|
||||||
|
<com.libRG.CustomTextView
|
||||||
|
android:id="@+id/flair_custom_text_view_item_post_detail_link"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
android:visibility="gone"
|
||||||
|
app:lib_setRadius="6dp"
|
||||||
|
app:lib_setRoundedView="true"
|
||||||
|
app:lib_setShape="rectangle" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/upvote_ratio_text_view_item_post_detail_link"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_12" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/archived_image_view_item_post_detail_link"
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="20dp"
|
||||||
|
android:src="@drawable/ic_archive_outline"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/locked_image_view_item_post_detail_link"
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="20dp"
|
||||||
|
android:src="@drawable/ic_outline_lock_24dp"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/crosspost_image_view_item_post_detail_link"
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="20dp"
|
||||||
|
android:src="@drawable/crosspost"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/awards_text_view_item_post_detail_link"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
</com.nex3z.flowlayout.FlowLayout>
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/link_text_view_item_post_detail_link"
|
android:id="@+id/link_text_view_item_post_detail_link"
|
||||||
|
@ -26,66 +26,58 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginEnd="8dp"
|
|
||||||
android:textSize="?attr/font_default"
|
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_no_preview_link"
|
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_no_preview_link"
|
||||||
app:layout_constraintEnd_toStartOf="@id/guideline"
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
|
||||||
app:layout_constraintHorizontal_bias="0"
|
<TextView
|
||||||
app:layout_constrainedWidth="true" />
|
android:id="@+id/community_instance_text_view_item_post_detail_no_preview_link"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
|
app:layout_constraintStart_toEndOf="@+id/subreddit_text_view_item_post_detail_no_preview_link"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/user_text_view_item_post_detail_no_preview_link"
|
android:id="@+id/user_text_view_item_post_detail_no_preview_link"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginEnd="8dp"
|
|
||||||
android:textSize="?attr/font_default"
|
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/author_flair_text_view_item_post_detail_no_preview_link"
|
app:layout_constraintBottom_toTopOf="@+id/author_flair_text_view_item_post_detail_no_preview_link"
|
||||||
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_no_preview_link"
|
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_no_preview_link"
|
||||||
app:layout_constraintEnd_toStartOf="@id/guideline"
|
app:layout_constraintTop_toBottomOf="@+id/subreddit_text_view_item_post_detail_no_preview_link" />
|
||||||
app:layout_constraintTop_toBottomOf="@+id/subreddit_text_view_item_post_detail_no_preview_link"
|
|
||||||
app:layout_constraintHorizontal_bias="0"
|
<TextView
|
||||||
app:layout_constrainedWidth="true"/>
|
android:id="@+id/user_instance_text_view_item_post_detail_no_preview_link"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
|
app:layout_constraintBottom_toTopOf="@+id/author_flair_text_view_item_post_detail_no_preview_link"
|
||||||
|
app:layout_constraintStart_toEndOf="@+id/user_text_view_item_post_detail_no_preview_link"
|
||||||
|
app:layout_constraintTop_toBottomOf="@+id/subreddit_text_view_item_post_detail_no_preview_link" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/author_flair_text_view_item_post_detail_no_preview_link"
|
android:id="@+id/author_flair_text_view_item_post_detail_no_preview_link"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginEnd="8dp"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_no_preview_link"
|
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_no_preview_link"
|
||||||
app:layout_constraintEnd_toStartOf="@id/guideline"
|
|
||||||
app:layout_constraintTop_toBottomOf="@+id/user_text_view_item_post_detail_no_preview_link"
|
app:layout_constraintTop_toBottomOf="@+id/user_text_view_item_post_detail_no_preview_link"
|
||||||
app:layout_constraintHorizontal_bias="0"
|
tools:visibility="visible" />
|
||||||
app:layout_constrainedWidth="true"
|
|
||||||
tools:visibility="visible" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/post_time_text_view_item_post_detail_no_preview_link"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:gravity="end"
|
|
||||||
android:textSize="?attr/font_default"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
app:layout_constraintHorizontal_bias="1"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintStart_toEndOf="@id/guideline"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.Guideline
|
|
||||||
android:id="@+id/guideline"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
app:layout_constraintGuide_percent="0.6" />
|
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
@ -111,106 +103,126 @@
|
|||||||
android:layout_marginStart="8dp"
|
android:layout_marginStart="8dp"
|
||||||
android:layout_marginEnd="8dp"
|
android:layout_marginEnd="8dp"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
android:nestedScrollingEnabled="false" />
|
android:nestedScrollingEnabled="false" >
|
||||||
|
|
||||||
<com.nex3z.flowlayout.FlowLayout
|
</androidx.recyclerview.widget.RecyclerView>
|
||||||
|
|
||||||
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="match_parent">
|
||||||
android:padding="16dp"
|
|
||||||
app:flChildSpacing="16dp"
|
|
||||||
app:flChildSpacingForLastRow="align"
|
|
||||||
app:flRowSpacing="8dp"
|
|
||||||
app:flRowVerticalGravity="center">
|
|
||||||
|
|
||||||
<com.libRG.CustomTextView
|
|
||||||
android:id="@+id/type_text_view_item_post_detail_no_preview_link"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:padding="4dp"
|
|
||||||
android:text="@string/link"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
app:lib_setRadius="6dp"
|
|
||||||
app:lib_setRoundedView="true"
|
|
||||||
app:lib_setShape="rectangle" />
|
|
||||||
|
|
||||||
<com.libRG.CustomTextView
|
|
||||||
android:id="@+id/spoiler_custom_text_view_item_post_detail_no_preview_link"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:text="@string/spoiler"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
android:padding="4dp"
|
|
||||||
android:visibility="gone"
|
|
||||||
app:lib_setRadius="6dp"
|
|
||||||
app:lib_setRoundedView="true"
|
|
||||||
app:lib_setShape="rectangle" />
|
|
||||||
|
|
||||||
<com.libRG.CustomTextView
|
|
||||||
android:id="@+id/nsfw_text_view_item_post_detail_no_preview_link"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:padding="4dp"
|
|
||||||
android:text="@string/nsfw"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
android:visibility="gone"
|
|
||||||
app:lib_setRadius="6dp"
|
|
||||||
app:lib_setRoundedView="true"
|
|
||||||
app:lib_setShape="rectangle" />
|
|
||||||
|
|
||||||
<com.libRG.CustomTextView
|
|
||||||
android:id="@+id/flair_custom_text_view_item_post_detail_no_preview_link"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:padding="4dp"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
android:visibility="gone"
|
|
||||||
app:lib_setRadius="6dp"
|
|
||||||
app:lib_setRoundedView="true"
|
|
||||||
app:lib_setShape="rectangle" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/upvote_ratio_text_view_item_post_detail_no_preview_link"
|
android:id="@+id/post_time_text_view_item_post_detail_no_preview_link"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="?attr/font_12"
|
android:layout_marginEnd="8dp"
|
||||||
android:fontFamily="?attr/font_family" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/archived_image_view_item_post_detail_no_preview_link"
|
|
||||||
android:layout_width="20dp"
|
|
||||||
android:layout_height="20dp"
|
|
||||||
android:src="@drawable/ic_archive_outline"
|
|
||||||
android:visibility="gone" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/locked_image_view_item_post_detail_no_preview_link"
|
|
||||||
android:layout_width="20dp"
|
|
||||||
android:layout_height="20dp"
|
|
||||||
android:src="@drawable/ic_outline_lock_24dp"
|
|
||||||
android:visibility="gone" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/crosspost_image_view_item_post_detail_no_preview_link"
|
|
||||||
android:layout_width="20dp"
|
|
||||||
android:layout_height="20dp"
|
|
||||||
android:src="@drawable/crosspost"
|
|
||||||
android:visibility="gone" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/awards_text_view_item_post_detail_no_preview_link"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
android:visibility="gone" />
|
android:gravity="end"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="@+id/flowLayout8"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
</com.nex3z.flowlayout.FlowLayout>
|
<com.nex3z.flowlayout.FlowLayout
|
||||||
|
android:id="@+id/flowLayout8"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:padding="16dp"
|
||||||
|
app:flChildSpacing="16dp"
|
||||||
|
app:flChildSpacingForLastRow="align"
|
||||||
|
app:flRowSpacing="8dp"
|
||||||
|
app:flRowVerticalGravity="center">
|
||||||
|
|
||||||
|
<com.libRG.CustomTextView
|
||||||
|
android:id="@+id/type_text_view_item_post_detail_no_preview_link"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:text="@string/link"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
app:lib_setRadius="6dp"
|
||||||
|
app:lib_setRoundedView="true"
|
||||||
|
app:lib_setShape="rectangle" />
|
||||||
|
|
||||||
|
<com.libRG.CustomTextView
|
||||||
|
android:id="@+id/spoiler_custom_text_view_item_post_detail_no_preview_link"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:text="@string/spoiler"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
android:visibility="gone"
|
||||||
|
app:lib_setRadius="6dp"
|
||||||
|
app:lib_setRoundedView="true"
|
||||||
|
app:lib_setShape="rectangle" />
|
||||||
|
|
||||||
|
<com.libRG.CustomTextView
|
||||||
|
android:id="@+id/nsfw_text_view_item_post_detail_no_preview_link"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:text="@string/nsfw"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
android:visibility="gone"
|
||||||
|
app:lib_setRadius="6dp"
|
||||||
|
app:lib_setRoundedView="true"
|
||||||
|
app:lib_setShape="rectangle" />
|
||||||
|
|
||||||
|
<com.libRG.CustomTextView
|
||||||
|
android:id="@+id/flair_custom_text_view_item_post_detail_no_preview_link"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
android:visibility="gone"
|
||||||
|
app:lib_setRadius="6dp"
|
||||||
|
app:lib_setRoundedView="true"
|
||||||
|
app:lib_setShape="rectangle" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/upvote_ratio_text_view_item_post_detail_no_preview_link"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_12" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/archived_image_view_item_post_detail_no_preview_link"
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="20dp"
|
||||||
|
android:src="@drawable/ic_archive_outline"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/locked_image_view_item_post_detail_no_preview_link"
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="20dp"
|
||||||
|
android:src="@drawable/ic_outline_lock_24dp"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/crosspost_image_view_item_post_detail_no_preview_link"
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="20dp"
|
||||||
|
android:src="@drawable/crosspost"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/awards_text_view_item_post_detail_no_preview_link"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
</com.nex3z.flowlayout.FlowLayout>
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/link_text_view_item_post_detail_no_preview_link"
|
android:id="@+id/link_text_view_item_post_detail_no_preview_link"
|
||||||
|
@ -26,82 +26,75 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginEnd="8dp"
|
|
||||||
android:textSize="?attr/font_default"
|
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_text"
|
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_text"
|
||||||
app:layout_constraintEnd_toStartOf="@id/guideline"
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
|
||||||
app:layout_constraintHorizontal_bias="0"
|
<TextView
|
||||||
app:layout_constrainedWidth="true" />
|
android:id="@+id/community_instance_text_view_item_post_detail_text"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
|
app:layout_constraintStart_toEndOf="@+id/subreddit_text_view_item_post_detail_text"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/user_text_view_item_post_detail_text"
|
android:id="@+id/user_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"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginEnd="8dp"
|
|
||||||
android:textSize="?attr/font_default"
|
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/author_flair_text_view_item_post_detail_text"
|
app:layout_constraintBottom_toTopOf="@+id/author_flair_text_view_item_post_detail_text"
|
||||||
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_text"
|
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_text"
|
||||||
app:layout_constraintEnd_toStartOf="@id/guideline"
|
app:layout_constraintTop_toBottomOf="@+id/subreddit_text_view_item_post_detail_text" />
|
||||||
app:layout_constraintTop_toBottomOf="@+id/subreddit_text_view_item_post_detail_text"
|
|
||||||
app:layout_constraintHorizontal_bias="0"
|
<TextView
|
||||||
app:layout_constrainedWidth="true" />
|
android:id="@+id/user_instance_text_view_item_post_detail_text"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
|
app:layout_constraintBottom_toTopOf="@+id/author_flair_text_view_item_post_detail_text"
|
||||||
|
app:layout_constraintStart_toEndOf="@+id/user_text_view_item_post_detail_text"
|
||||||
|
app:layout_constraintTop_toBottomOf="@+id/subreddit_text_view_item_post_detail_text" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/author_flair_text_view_item_post_detail_text"
|
android:id="@+id/author_flair_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"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginEnd="8dp"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_text"
|
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_text"
|
||||||
app:layout_constraintEnd_toStartOf="@id/guideline"
|
|
||||||
app:layout_constraintTop_toBottomOf="@+id/user_text_view_item_post_detail_text"
|
app:layout_constraintTop_toBottomOf="@+id/user_text_view_item_post_detail_text"
|
||||||
app:layout_constraintHorizontal_bias="0"
|
|
||||||
app:layout_constrainedWidth="true"
|
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/post_time_text_view_item_post_detail_text"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:gravity="end"
|
|
||||||
android:textSize="?attr/font_default"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
app:layout_constraintHorizontal_bias="1"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintStart_toEndOf="@id/guideline"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.Guideline
|
|
||||||
android:id="@+id/guideline"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
app:layout_constraintGuide_percent="0.6" />
|
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/title_text_view_item_post_detail_text"
|
android:id="@+id/title_text_view_item_post_detail_text"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:enabled="true"
|
||||||
|
android:focusable="true"
|
||||||
|
android:fontFamily="?attr/title_font_family"
|
||||||
|
android:longClickable="true"
|
||||||
android:paddingStart="16dp"
|
android:paddingStart="16dp"
|
||||||
android:paddingEnd="16dp"
|
android:paddingEnd="16dp"
|
||||||
android:textColor="?attr/primaryTextColor"
|
android:textColor="?attr/primaryTextColor"
|
||||||
android:textSize="?attr/title_font_18"
|
|
||||||
android:fontFamily="?attr/title_font_family"
|
|
||||||
android:textIsSelectable="true"
|
android:textIsSelectable="true"
|
||||||
android:enabled="true"
|
android:textSize="?attr/title_font_18" />
|
||||||
android:focusable="true"
|
|
||||||
android:longClickable="true" />
|
|
||||||
|
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
android:id="@+id/content_markdown_view_item_post_detail_text"
|
android:id="@+id/content_markdown_view_item_post_detail_text"
|
||||||
@ -111,106 +104,125 @@
|
|||||||
android:layout_marginStart="8dp"
|
android:layout_marginStart="8dp"
|
||||||
android:layout_marginEnd="8dp"
|
android:layout_marginEnd="8dp"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
android:nestedScrollingEnabled="false" />
|
android:nestedScrollingEnabled="false" >
|
||||||
|
|
||||||
<com.nex3z.flowlayout.FlowLayout
|
</androidx.recyclerview.widget.RecyclerView>
|
||||||
|
|
||||||
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="match_parent">
|
||||||
android:padding="16dp"
|
|
||||||
app:flChildSpacing="16dp"
|
|
||||||
app:flChildSpacingForLastRow="align"
|
|
||||||
app:flRowSpacing="8dp"
|
|
||||||
app:flRowVerticalGravity="center">
|
|
||||||
|
|
||||||
<com.libRG.CustomTextView
|
|
||||||
android:id="@+id/type_text_view_item_post_detail_text"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:padding="4dp"
|
|
||||||
android:text="@string/text"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
app:lib_setRadius="6dp"
|
|
||||||
app:lib_setRoundedView="true"
|
|
||||||
app:lib_setShape="rectangle" />
|
|
||||||
|
|
||||||
<com.libRG.CustomTextView
|
|
||||||
android:id="@+id/spoiler_custom_text_view_item_post_detail_text"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:text="@string/spoiler"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
android:padding="4dp"
|
|
||||||
android:visibility="gone"
|
|
||||||
app:lib_setRadius="6dp"
|
|
||||||
app:lib_setRoundedView="true"
|
|
||||||
app:lib_setShape="rectangle" />
|
|
||||||
|
|
||||||
<com.libRG.CustomTextView
|
|
||||||
android:id="@+id/nsfw_text_view_item_post_detail_text"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:padding="4dp"
|
|
||||||
android:text="@string/nsfw"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
android:visibility="gone"
|
|
||||||
app:lib_setRadius="6dp"
|
|
||||||
app:lib_setRoundedView="true"
|
|
||||||
app:lib_setShape="rectangle" />
|
|
||||||
|
|
||||||
<com.libRG.CustomTextView
|
|
||||||
android:id="@+id/flair_custom_text_view_item_post_detail_text"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:padding="4dp"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
android:visibility="gone"
|
|
||||||
app:lib_setRadius="6dp"
|
|
||||||
app:lib_setRoundedView="true"
|
|
||||||
app:lib_setShape="rectangle" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/upvote_ratio_text_view_item_post_detail_text"
|
android:id="@+id/post_time_text_view_item_post_detail_text"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="?attr/font_12"
|
android:layout_marginEnd="8dp"
|
||||||
android:fontFamily="?attr/font_family" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/archived_image_view_item_post_detail_text"
|
|
||||||
android:layout_width="20dp"
|
|
||||||
android:layout_height="20dp"
|
|
||||||
android:src="@drawable/ic_archive_outline"
|
|
||||||
android:visibility="gone" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/locked_image_view_item_post_detail_text"
|
|
||||||
android:layout_width="20dp"
|
|
||||||
android:layout_height="20dp"
|
|
||||||
android:src="@drawable/ic_outline_lock_24dp"
|
|
||||||
android:visibility="gone" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/crosspost_image_view_item_post_detail_text"
|
|
||||||
android:layout_width="20dp"
|
|
||||||
android:layout_height="20dp"
|
|
||||||
android:src="@drawable/crosspost"
|
|
||||||
android:visibility="gone" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/awards_text_view_item_post_detail_text"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
android:visibility="gone" />
|
android:gravity="end"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
</com.nex3z.flowlayout.FlowLayout>
|
<com.nex3z.flowlayout.FlowLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:padding="16dp"
|
||||||
|
app:flChildSpacing="16dp"
|
||||||
|
app:flChildSpacingForLastRow="align"
|
||||||
|
app:flRowSpacing="8dp"
|
||||||
|
app:flRowVerticalGravity="center">
|
||||||
|
|
||||||
|
<com.libRG.CustomTextView
|
||||||
|
android:id="@+id/type_text_view_item_post_detail_text"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:text="@string/text"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
app:lib_setRadius="6dp"
|
||||||
|
app:lib_setRoundedView="true"
|
||||||
|
app:lib_setShape="rectangle" />
|
||||||
|
|
||||||
|
<com.libRG.CustomTextView
|
||||||
|
android:id="@+id/spoiler_custom_text_view_item_post_detail_text"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:text="@string/spoiler"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
android:visibility="gone"
|
||||||
|
app:lib_setRadius="6dp"
|
||||||
|
app:lib_setRoundedView="true"
|
||||||
|
app:lib_setShape="rectangle" />
|
||||||
|
|
||||||
|
<com.libRG.CustomTextView
|
||||||
|
android:id="@+id/nsfw_text_view_item_post_detail_text"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:text="@string/nsfw"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
android:visibility="gone"
|
||||||
|
app:lib_setRadius="6dp"
|
||||||
|
app:lib_setRoundedView="true"
|
||||||
|
app:lib_setShape="rectangle" />
|
||||||
|
|
||||||
|
<com.libRG.CustomTextView
|
||||||
|
android:id="@+id/flair_custom_text_view_item_post_detail_text"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
android:visibility="gone"
|
||||||
|
app:lib_setRadius="6dp"
|
||||||
|
app:lib_setRoundedView="true"
|
||||||
|
app:lib_setShape="rectangle" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/upvote_ratio_text_view_item_post_detail_text"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_12" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/archived_image_view_item_post_detail_text"
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="20dp"
|
||||||
|
android:src="@drawable/ic_archive_outline"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/locked_image_view_item_post_detail_text"
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="20dp"
|
||||||
|
android:src="@drawable/ic_outline_lock_24dp"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/crosspost_image_view_item_post_detail_text"
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="20dp"
|
||||||
|
android:src="@drawable/crosspost"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/awards_text_view_item_post_detail_text"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
</com.nex3z.flowlayout.FlowLayout>
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -26,67 +26,60 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginEnd="8dp"
|
|
||||||
android:textSize="?attr/font_default"
|
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_video_and_gif_preview"
|
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_video_and_gif_preview"
|
||||||
app:layout_constraintEnd_toStartOf="@id/guideline"
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
|
||||||
app:layout_constraintHorizontal_bias="0"
|
<TextView
|
||||||
app:layout_constrainedWidth="true" />
|
android:id="@+id/community_instance_text_view_item_post_detail_video_and_gif_preview"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
|
app:layout_constraintStart_toEndOf="@+id/subreddit_text_view_item_post_detail_video_and_gif_preview"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/user_text_view_item_post_detail_video_and_gif_preview"
|
android:id="@+id/user_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"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginEnd="8dp"
|
|
||||||
android:textSize="?attr/font_default"
|
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/author_flair_text_view_item_post_detail_video_and_gif_preview"
|
app:layout_constraintBottom_toTopOf="@+id/author_flair_text_view_item_post_detail_video_and_gif_preview"
|
||||||
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_video_and_gif_preview"
|
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_video_and_gif_preview"
|
||||||
app:layout_constraintEnd_toStartOf="@id/guideline"
|
app:layout_constraintTop_toBottomOf="@+id/subreddit_text_view_item_post_detail_video_and_gif_preview" />
|
||||||
app:layout_constraintTop_toBottomOf="@+id/subreddit_text_view_item_post_detail_video_and_gif_preview"
|
|
||||||
app:layout_constraintHorizontal_bias="0"
|
<TextView
|
||||||
app:layout_constrainedWidth="true" />
|
android:id="@+id/user_instance_text_view_item_post_detail_video_and_gif_preview"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
|
app:layout_constraintBottom_toTopOf="@+id/author_flair_text_view_item_post_detail_video_and_gif_preview"
|
||||||
|
app:layout_constraintStart_toEndOf="@+id/user_text_view_item_post_detail_video_and_gif_preview"
|
||||||
|
app:layout_constraintTop_toBottomOf="@+id/subreddit_text_view_item_post_detail_video_and_gif_preview" />
|
||||||
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/author_flair_text_view_item_post_detail_video_and_gif_preview"
|
android:id="@+id/author_flair_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"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginEnd="8dp"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_video_and_gif_preview"
|
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_video_and_gif_preview"
|
||||||
app:layout_constraintEnd_toStartOf="@id/guideline"
|
|
||||||
app:layout_constraintTop_toBottomOf="@+id/user_text_view_item_post_detail_video_and_gif_preview"
|
app:layout_constraintTop_toBottomOf="@+id/user_text_view_item_post_detail_video_and_gif_preview"
|
||||||
app:layout_constraintHorizontal_bias="0"
|
|
||||||
app:layout_constrainedWidth="true"
|
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/post_time_text_view_item_post_detail_video_and_gif_preview"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:gravity="end"
|
|
||||||
android:textSize="?attr/font_default"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
app:layout_constraintHorizontal_bias="1"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintStart_toEndOf="@id/guideline"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.Guideline
|
|
||||||
android:id="@+id/guideline"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
app:layout_constraintGuide_percent="0.6" />
|
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
@ -103,103 +96,120 @@
|
|||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:longClickable="true" />
|
android:longClickable="true" />
|
||||||
|
|
||||||
<com.nex3z.flowlayout.FlowLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="match_parent">
|
||||||
android:padding="16dp"
|
|
||||||
app:flChildSpacing="16dp"
|
|
||||||
app:flChildSpacingForLastRow="align"
|
|
||||||
app:flRowSpacing="8dp"
|
|
||||||
app:flRowVerticalGravity="center">
|
|
||||||
|
|
||||||
<com.libRG.CustomTextView
|
|
||||||
android:id="@+id/type_text_view_item_post_detail_video_and_gif_preview"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:padding="4dp"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
app:lib_setRadius="6dp"
|
|
||||||
app:lib_setRoundedView="true"
|
|
||||||
app:lib_setShape="rectangle" />
|
|
||||||
|
|
||||||
<com.libRG.CustomTextView
|
|
||||||
android:id="@+id/spoiler_custom_text_view_item_post_detail_video_and_gif_preview"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:text="@string/spoiler"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
android:padding="4dp"
|
|
||||||
android:visibility="gone"
|
|
||||||
app:lib_setRadius="6dp"
|
|
||||||
app:lib_setRoundedView="true"
|
|
||||||
app:lib_setShape="rectangle" />
|
|
||||||
|
|
||||||
<com.libRG.CustomTextView
|
|
||||||
android:id="@+id/nsfw_text_view_item_post_detail_video_and_gif_preview"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:padding="4dp"
|
|
||||||
android:text="@string/nsfw"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
android:visibility="gone"
|
|
||||||
app:lib_setRadius="6dp"
|
|
||||||
app:lib_setRoundedView="true"
|
|
||||||
app:lib_setShape="rectangle" />
|
|
||||||
|
|
||||||
<com.libRG.CustomTextView
|
|
||||||
android:id="@+id/flair_custom_text_view_item_post_detail_video_and_gif_preview"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:padding="4dp"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
android:visibility="gone"
|
|
||||||
app:lib_setRadius="6dp"
|
|
||||||
app:lib_setRoundedView="true"
|
|
||||||
app:lib_setShape="rectangle" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/upvote_ratio_text_view_item_post_detail_video_and_gif_preview"
|
android:id="@+id/post_time_text_view_item_post_detail_video_and_gif_preview"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="?attr/font_12"
|
android:layout_marginEnd="8dp"
|
||||||
android:fontFamily="?attr/font_family" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/archived_image_view_item_post_detail_video_and_gif_preview"
|
|
||||||
android:layout_width="20dp"
|
|
||||||
android:layout_height="20dp"
|
|
||||||
android:src="@drawable/ic_archive_outline"
|
|
||||||
android:visibility="gone" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/locked_image_view_item_post_detail_video_and_gif_preview"
|
|
||||||
android:layout_width="20dp"
|
|
||||||
android:layout_height="20dp"
|
|
||||||
android:src="@drawable/ic_outline_lock_24dp"
|
|
||||||
android:visibility="gone" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/crosspost_image_view_item_post_detail_video_and_gif_preview"
|
|
||||||
android:layout_width="20dp"
|
|
||||||
android:layout_height="20dp"
|
|
||||||
android:src="@drawable/crosspost"
|
|
||||||
android:visibility="gone" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/awards_text_view_item_post_detail_video_and_gif_preview"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
android:visibility="gone" />
|
android:gravity="end"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
</com.nex3z.flowlayout.FlowLayout>
|
<com.nex3z.flowlayout.FlowLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:padding="16dp"
|
||||||
|
app:flChildSpacing="16dp"
|
||||||
|
app:flChildSpacingForLastRow="align"
|
||||||
|
app:flRowSpacing="8dp"
|
||||||
|
app:flRowVerticalGravity="center">
|
||||||
|
|
||||||
|
<com.libRG.CustomTextView
|
||||||
|
android:id="@+id/type_text_view_item_post_detail_video_and_gif_preview"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
app:lib_setRadius="6dp"
|
||||||
|
app:lib_setRoundedView="true"
|
||||||
|
app:lib_setShape="rectangle" />
|
||||||
|
|
||||||
|
<com.libRG.CustomTextView
|
||||||
|
android:id="@+id/spoiler_custom_text_view_item_post_detail_video_and_gif_preview"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:text="@string/spoiler"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
android:visibility="gone"
|
||||||
|
app:lib_setRadius="6dp"
|
||||||
|
app:lib_setRoundedView="true"
|
||||||
|
app:lib_setShape="rectangle" />
|
||||||
|
|
||||||
|
<com.libRG.CustomTextView
|
||||||
|
android:id="@+id/nsfw_text_view_item_post_detail_video_and_gif_preview"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:text="@string/nsfw"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
android:visibility="gone"
|
||||||
|
app:lib_setRadius="6dp"
|
||||||
|
app:lib_setRoundedView="true"
|
||||||
|
app:lib_setShape="rectangle" />
|
||||||
|
|
||||||
|
<com.libRG.CustomTextView
|
||||||
|
android:id="@+id/flair_custom_text_view_item_post_detail_video_and_gif_preview"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
android:visibility="gone"
|
||||||
|
app:lib_setRadius="6dp"
|
||||||
|
app:lib_setRoundedView="true"
|
||||||
|
app:lib_setShape="rectangle" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/upvote_ratio_text_view_item_post_detail_video_and_gif_preview"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_12" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/archived_image_view_item_post_detail_video_and_gif_preview"
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="20dp"
|
||||||
|
android:src="@drawable/ic_archive_outline"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/locked_image_view_item_post_detail_video_and_gif_preview"
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="20dp"
|
||||||
|
android:src="@drawable/ic_outline_lock_24dp"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/crosspost_image_view_item_post_detail_video_and_gif_preview"
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="20dp"
|
||||||
|
android:src="@drawable/crosspost"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/awards_text_view_item_post_detail_video_and_gif_preview"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
</com.nex3z.flowlayout.FlowLayout>
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -26,67 +26,59 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginEnd="8dp"
|
|
||||||
android:textSize="?attr/font_default"
|
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_video_autoplay"
|
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_video_autoplay"
|
||||||
app:layout_constraintEnd_toStartOf="@id/guideline"
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
|
||||||
app:layout_constraintHorizontal_bias="0"
|
<TextView
|
||||||
app:layout_constrainedWidth="true" />
|
android:id="@+id/community_instance_text_view_item_post_detail_video_autoplay"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
|
app:layout_constraintStart_toEndOf="@+id/subreddit_text_view_item_post_detail_video_autoplay"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/user_text_view_item_post_detail_video_autoplay"
|
android:id="@+id/user_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"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginEnd="8dp"
|
|
||||||
android:textSize="?attr/font_default"
|
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/author_flair_text_view_item_post_detail_video_autoplay"
|
app:layout_constraintBottom_toTopOf="@+id/author_flair_text_view_item_post_detail_video_autoplay"
|
||||||
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_video_autoplay"
|
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_video_autoplay"
|
||||||
app:layout_constraintEnd_toStartOf="@id/guideline"
|
app:layout_constraintTop_toBottomOf="@+id/subreddit_text_view_item_post_detail_video_autoplay" />
|
||||||
app:layout_constraintTop_toBottomOf="@+id/subreddit_text_view_item_post_detail_video_autoplay"
|
|
||||||
app:layout_constraintHorizontal_bias="0"
|
<TextView
|
||||||
app:layout_constrainedWidth="true" />
|
android:id="@+id/user_instance_text_view_item_post_detail_video_autoplay"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
|
app:layout_constraintBottom_toTopOf="@+id/author_flair_text_view_item_post_detail_video_autoplay"
|
||||||
|
app:layout_constraintStart_toEndOf="@+id/user_text_view_item_post_detail_video_autoplay"
|
||||||
|
app:layout_constraintTop_toBottomOf="@+id/subreddit_text_view_item_post_detail_video_autoplay" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/author_flair_text_view_item_post_detail_video_autoplay"
|
android:id="@+id/author_flair_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"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginEnd="8dp"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
|
app:layout_constrainedWidth="true"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_video_autoplay"
|
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail_video_autoplay"
|
||||||
app:layout_constraintEnd_toStartOf="@id/guideline"
|
|
||||||
app:layout_constraintTop_toBottomOf="@+id/user_text_view_item_post_detail_video_autoplay"
|
app:layout_constraintTop_toBottomOf="@+id/user_text_view_item_post_detail_video_autoplay"
|
||||||
app:layout_constraintHorizontal_bias="0"
|
|
||||||
app:layout_constrainedWidth="true"
|
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/post_time_text_view_item_post_detail_video_autoplay"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:gravity="end"
|
|
||||||
android:textSize="?attr/font_default"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
app:layout_constraintHorizontal_bias="1"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintStart_toEndOf="@id/guideline"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.Guideline
|
|
||||||
android:id="@+id/guideline"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
app:layout_constraintGuide_percent="0.6" />
|
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
@ -103,104 +95,122 @@
|
|||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:longClickable="true" />
|
android:longClickable="true" />
|
||||||
|
|
||||||
<com.nex3z.flowlayout.FlowLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="match_parent">
|
||||||
android:padding="16dp"
|
|
||||||
app:flChildSpacing="16dp"
|
|
||||||
app:flChildSpacingForLastRow="align"
|
|
||||||
app:flRowSpacing="8dp"
|
|
||||||
app:flRowVerticalGravity="center">
|
|
||||||
|
|
||||||
<com.libRG.CustomTextView
|
|
||||||
android:id="@+id/type_text_view_item_post_detail_video_autoplay"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:padding="4dp"
|
|
||||||
android:text="@string/video"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
app:lib_setRadius="6dp"
|
|
||||||
app:lib_setRoundedView="true"
|
|
||||||
app:lib_setShape="rectangle" />
|
|
||||||
|
|
||||||
<com.libRG.CustomTextView
|
|
||||||
android:id="@+id/spoiler_custom_text_view_item_post_detail_video_autoplay"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:text="@string/spoiler"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
android:padding="4dp"
|
|
||||||
android:visibility="gone"
|
|
||||||
app:lib_setRadius="6dp"
|
|
||||||
app:lib_setRoundedView="true"
|
|
||||||
app:lib_setShape="rectangle" />
|
|
||||||
|
|
||||||
<com.libRG.CustomTextView
|
|
||||||
android:id="@+id/nsfw_text_view_item_post_detail_video_autoplay"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:padding="4dp"
|
|
||||||
android:text="@string/nsfw"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
android:visibility="gone"
|
|
||||||
app:lib_setRadius="6dp"
|
|
||||||
app:lib_setRoundedView="true"
|
|
||||||
app:lib_setShape="rectangle" />
|
|
||||||
|
|
||||||
<com.libRG.CustomTextView
|
|
||||||
android:id="@+id/flair_custom_text_view_item_post_detail_video_autoplay"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:padding="4dp"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
|
||||||
android:visibility="gone"
|
|
||||||
app:lib_setRadius="6dp"
|
|
||||||
app:lib_setRoundedView="true"
|
|
||||||
app:lib_setShape="rectangle" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/upvote_ratio_text_view_item_post_detail_video_autoplay"
|
android:id="@+id/post_time_text_view_item_post_detail_video_autoplay"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="?attr/font_12"
|
android:layout_marginEnd="8dp"
|
||||||
android:fontFamily="?attr/font_family" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/archived_image_view_item_post_detail_video_autoplay"
|
|
||||||
android:layout_width="20dp"
|
|
||||||
android:layout_height="20dp"
|
|
||||||
android:src="@drawable/ic_archive_outline"
|
|
||||||
android:visibility="gone" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/locked_image_view_item_post_detail_video_autoplay"
|
|
||||||
android:layout_width="20dp"
|
|
||||||
android:layout_height="20dp"
|
|
||||||
android:src="@drawable/ic_outline_lock_24dp"
|
|
||||||
android:visibility="gone" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/crosspost_image_view_item_post_detail_video_autoplay"
|
|
||||||
android:layout_width="20dp"
|
|
||||||
android:layout_height="20dp"
|
|
||||||
android:src="@drawable/crosspost"
|
|
||||||
android:visibility="gone" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/awards_text_view_item_post_detail_video_autoplay"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:textSize="?attr/font_12"
|
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
android:visibility="gone" />
|
android:gravity="end"
|
||||||
|
android:textSize="?attr/font_default"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="@+id/flowLayout9"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
</com.nex3z.flowlayout.FlowLayout>
|
<com.nex3z.flowlayout.FlowLayout
|
||||||
|
android:id="@+id/flowLayout9"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:padding="16dp"
|
||||||
|
app:flChildSpacing="16dp"
|
||||||
|
app:flChildSpacingForLastRow="align"
|
||||||
|
app:flRowSpacing="8dp"
|
||||||
|
app:flRowVerticalGravity="center">
|
||||||
|
|
||||||
|
<com.libRG.CustomTextView
|
||||||
|
android:id="@+id/type_text_view_item_post_detail_video_autoplay"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:text="@string/video"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
app:lib_setRadius="6dp"
|
||||||
|
app:lib_setRoundedView="true"
|
||||||
|
app:lib_setShape="rectangle" />
|
||||||
|
|
||||||
|
<com.libRG.CustomTextView
|
||||||
|
android:id="@+id/spoiler_custom_text_view_item_post_detail_video_autoplay"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:text="@string/spoiler"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
android:visibility="gone"
|
||||||
|
app:lib_setRadius="6dp"
|
||||||
|
app:lib_setRoundedView="true"
|
||||||
|
app:lib_setShape="rectangle" />
|
||||||
|
|
||||||
|
<com.libRG.CustomTextView
|
||||||
|
android:id="@+id/nsfw_text_view_item_post_detail_video_autoplay"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:text="@string/nsfw"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
android:visibility="gone"
|
||||||
|
app:lib_setRadius="6dp"
|
||||||
|
app:lib_setRoundedView="true"
|
||||||
|
app:lib_setShape="rectangle" />
|
||||||
|
|
||||||
|
<com.libRG.CustomTextView
|
||||||
|
android:id="@+id/flair_custom_text_view_item_post_detail_video_autoplay"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
android:visibility="gone"
|
||||||
|
app:lib_setRadius="6dp"
|
||||||
|
app:lib_setRoundedView="true"
|
||||||
|
app:lib_setShape="rectangle" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/upvote_ratio_text_view_item_post_detail_video_autoplay"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_12" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/archived_image_view_item_post_detail_video_autoplay"
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="20dp"
|
||||||
|
android:src="@drawable/ic_archive_outline"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/locked_image_view_item_post_detail_video_autoplay"
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="20dp"
|
||||||
|
android:src="@drawable/ic_outline_lock_24dp"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/crosspost_image_view_item_post_detail_video_autoplay"
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="20dp"
|
||||||
|
android:src="@drawable/crosspost"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/awards_text_view_item_post_detail_video_autoplay"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="?attr/font_family"
|
||||||
|
android:textSize="?attr/font_12"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
</com.nex3z.flowlayout.FlowLayout>
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
<com.google.android.exoplayer2.ui.AspectRatioFrameLayout
|
<com.google.android.exoplayer2.ui.AspectRatioFrameLayout
|
||||||
android:id="@+id/aspect_ratio_frame_layout_item_post_detail_video_autoplay"
|
android:id="@+id/aspect_ratio_frame_layout_item_post_detail_video_autoplay"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user