mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-02 02:32:37 +00:00
Apply message bubble paddings to both top and bottom
Batch selecting messages now feels better. Fixes #8035.
This commit is contained in:
@@ -233,6 +233,10 @@ public class ViewUtil {
|
||||
view.requestLayout();
|
||||
}
|
||||
|
||||
public static void setPaddingTop(@NonNull View view, int padding) {
|
||||
view.setPadding(view.getPaddingLeft(), padding, view.getPaddingRight(), view.getPaddingBottom());
|
||||
}
|
||||
|
||||
public static void setPaddingBottom(@NonNull View view, int padding) {
|
||||
view.setPadding(view.getPaddingLeft(), view.getPaddingTop(), view.getPaddingRight(), padding);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user