refactor: do some final adjustments to PreviewlessMediaGridStatusDisplayItem layout
This commit is contained in:
@@ -103,7 +103,9 @@ public class PreviewlessMediaGridStatusDisplayItem extends StatusDisplayItem{
|
|||||||
wrapper=(FrameLayout)itemView;
|
wrapper=(FrameLayout)itemView;
|
||||||
layout= new LinearLayout(activity);
|
layout= new LinearLayout(activity);
|
||||||
LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
|
LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
|
||||||
|
params.setMargins(V.dp(16), 0, V.dp(16), 0);
|
||||||
layout.setLayoutParams(params);
|
layout.setLayoutParams(params);
|
||||||
|
layout.setOrientation(LinearLayout.VERTICAL);
|
||||||
wrapper.addView(layout);
|
wrapper.addView(layout);
|
||||||
wrapper.setClipToPadding(false);
|
wrapper.setClipToPadding(false);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user