Merge branch 'feature/cw-above-text' into fork
This commit is contained in:
commit
01655a3465
|
@ -62,14 +62,13 @@ public class TextStatusDisplayItem extends StatusDisplayItem{
|
||||||
public static class Holder extends StatusDisplayItem.Holder<TextStatusDisplayItem> implements ImageLoaderViewHolder{
|
public static class Holder extends StatusDisplayItem.Holder<TextStatusDisplayItem> implements ImageLoaderViewHolder{
|
||||||
private final LinkedTextView text;
|
private final LinkedTextView text;
|
||||||
private final TextView spoilerTitle, spoilerTitleInline;
|
private final TextView spoilerTitle, spoilerTitleInline;
|
||||||
private final View spoilerOverlay, content, spoilerHeader;
|
private final View spoilerOverlay, spoilerHeader;
|
||||||
|
|
||||||
public Holder(Activity activity, ViewGroup parent){
|
public Holder(Activity activity, ViewGroup parent){
|
||||||
super(activity, R.layout.display_item_text, parent);
|
super(activity, R.layout.display_item_text, parent);
|
||||||
text=findViewById(R.id.text);
|
text=findViewById(R.id.text);
|
||||||
spoilerTitle=findViewById(R.id.spoiler_title);
|
spoilerTitle=findViewById(R.id.spoiler_title);
|
||||||
spoilerTitleInline=findViewById(R.id.spoiler_title_inline);
|
spoilerTitleInline=findViewById(R.id.spoiler_title_inline);
|
||||||
content=findViewById(R.id.content);
|
|
||||||
spoilerHeader=findViewById(R.id.spoiler_header);
|
spoilerHeader=findViewById(R.id.spoiler_header);
|
||||||
spoilerOverlay=findViewById(R.id.spoiler_overlay);
|
spoilerOverlay=findViewById(R.id.spoiler_overlay);
|
||||||
itemView.setOnClickListener(v->item.parentFragment.onRevealSpoilerClick(this));
|
itemView.setOnClickListener(v->item.parentFragment.onRevealSpoilerClick(this));
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
android:paddingBottom="12dp">
|
android:paddingBottom="12dp">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/content"
|
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
Loading…
Reference in New Issue