Change transitions and update back call color

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2018-06-15 11:39:51 +02:00
Родитель 053a6c8786
Коммит 879098ca8c
2 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -136,8 +136,10 @@ public class CallNotificationController extends BaseController {
originalBundle.putString(BundleKeys.KEY_ROOM_TOKEN, currentRoom.getToken());
List<RouterTransaction> routerTransactions = new ArrayList<>();
routerTransactions.add(RouterTransaction.with(new MagicBottomNavigationController()));
routerTransactions.add(RouterTransaction.with(new ChatController(originalBundle)));
routerTransactions.add(RouterTransaction.with(new MagicBottomNavigationController())
.popChangeHandler(new HorizontalChangeHandler()).pushChangeHandler(new HorizontalChangeHandler()));
routerTransactions.add(RouterTransaction.with(new ChatController(originalBundle)).popChangeHandler(new
HorizontalChangeHandler()).pushChangeHandler(new HorizontalChangeHandler()));
getRouter().setBackstack(routerTransactions, new HorizontalChangeHandler());
}

Просмотреть файл

@ -32,7 +32,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:animateLayoutChanges="true"
android:background="#000000"
android:background="@color/grey950"
android:orientation="vertical">
</LinearLayout>