diff --git a/src/main/java/com/owncloud/android/ui/activity/ToolbarActivity.java b/src/main/java/com/owncloud/android/ui/activity/ToolbarActivity.java index 6c204bcfb3..a0ba3c1eb8 100644 --- a/src/main/java/com/owncloud/android/ui/activity/ToolbarActivity.java +++ b/src/main/java/com/owncloud/android/ui/activity/ToolbarActivity.java @@ -53,7 +53,7 @@ import androidx.core.content.ContextCompat; import androidx.core.view.ViewCompat; /** - * Base class providing toolbar registration functionality, see {@link #setupToolbar(boolean)}. + * Base class providing toolbar registration functionality, see {@link #setupToolbar(boolean, boolean)}. */ public abstract class ToolbarActivity extends BaseActivity { protected MaterialButton mMenuButton; @@ -63,7 +63,7 @@ public abstract class ToolbarActivity extends BaseActivity { private AppBarLayout mAppBar; private RelativeLayout mDefaultToolbar; private Toolbar mToolbar; - private MaterialCardView mHomeSearchToolbar; + private LinearLayout mHomeSearchToolbar; private ImageView mPreviewImage; private FrameLayout mPreviewImageContainer; private LinearLayout mInfoBox; diff --git a/src/main/res/layout/toolbar_standard.xml b/src/main/res/layout/toolbar_standard.xml index 1682a79f91..c618ef3cc3 100644 --- a/src/main/res/layout/toolbar_standard.xml +++ b/src/main/res/layout/toolbar_standard.xml @@ -27,160 +27,174 @@ android:background="@color/bg_default" tools:viewBindingIgnore="true"> - - + - - - - - - - - - - - - - - - - - - - - + + - + - + + + + + + + + + + + + + + android:paddingStart="16dp" + android:paddingTop="8dp" + android:paddingEnd="16dp" + tools:visibility="visible"> - - + + + + + + + + + + + + + + + + +