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
parent 053a6c8786
commit 879098ca8c
2 changed files with 5 additions and 3 deletions

View File

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

View File

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