mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 18:30:20 +01:00
Implement single line timestamps on conversation items.
This commit is contained in:
committed by
Cody Henthorne
parent
dc1e56de4e
commit
fe8fcb1394
@@ -243,6 +243,10 @@ public final class ViewUtil {
|
||||
return ((ViewGroup.MarginLayoutParams) view.getLayoutParams()).leftMargin;
|
||||
}
|
||||
|
||||
public static int getTopMargin(@NonNull View view) {
|
||||
return ((ViewGroup.MarginLayoutParams) view.getLayoutParams()).topMargin;
|
||||
}
|
||||
|
||||
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