From 1046acb3e192c940dc99ebb564ec2756493ec987 Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Wed, 11 Apr 2018 21:43:38 +0200 Subject: replace deprecated action bar with toolbar * replace deprecated action bar with toolbar * add toolbar support in each activity * remove redundant themes made earlier * add configure action bar method in xmpp activity * remove android namespace from actionmodeoverlay * solve bug of scrolling toolbar --- src/main/res/layout/magic_create.xml | 145 ++++++++++++++++++----------------- 1 file changed, 76 insertions(+), 69 deletions(-) (limited to 'src/main/res/layout/magic_create.xml') diff --git a/src/main/res/layout/magic_create.xml b/src/main/res/layout/magic_create.xml index 9d3dd9322..5fb080368 100644 --- a/src/main/res/layout/magic_create.xml +++ b/src/main/res/layout/magic_create.xml @@ -1,87 +1,94 @@ - + android:orientation="vertical"> - + + + android:fillViewport="true"> - + android:layout_height="match_parent" + android:background="?attr/color_background_primary"> - - - + android:layout_alignParentBottom="true" + android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" + android:minHeight="256dp" + android:orientation="vertical" + android:paddingBottom="8dp" + android:paddingLeft="16dp" + android:paddingRight="16dp"> - + - + - + -