mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 18:00:02 +01:00
Add multi-select support to CFV2.
This commit is contained in:
@@ -261,6 +261,10 @@ public final class ViewUtil {
|
||||
return ((ViewGroup.MarginLayoutParams) view.getLayoutParams()).topMargin;
|
||||
}
|
||||
|
||||
public static int getBottomMargin(@NonNull View view) {
|
||||
return ((ViewGroup.MarginLayoutParams) view.getLayoutParams()).bottomMargin;
|
||||
}
|
||||
|
||||
public static void setLeftMargin(@NonNull View view, int margin) {
|
||||
if (isLtr(view)) {
|
||||
((ViewGroup.MarginLayoutParams) view.getLayoutParams()).leftMargin = margin;
|
||||
|
||||
Reference in New Issue
Block a user