mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +01:00
Wrap ConversationActivity code in a Fragment.
This commit is contained in:
committed by
Greyson Parrelli
parent
afd6af6f57
commit
b2b51e63be
@@ -100,6 +100,10 @@ public final class ViewUtil {
|
||||
return new Stub<>(parent.findViewById(resId));
|
||||
}
|
||||
|
||||
public static <T extends View> Stub<T> findStubById(@NonNull View parent, @IdRes int resId) {
|
||||
return new Stub<>(parent.findViewById(resId));
|
||||
}
|
||||
|
||||
private static Animation getAlphaAnimation(float from, float to, int duration) {
|
||||
final Animation anim = new AlphaAnimation(from, to);
|
||||
anim.setInterpolator(new FastOutSlowInInterpolator());
|
||||
|
||||
Reference in New Issue
Block a user