Better entry top view

This commit is contained in:
J-Jamet
2019-08-06 12:14:29 +02:00
parent d3e2668d85
commit 9529e3a7ba
2 changed files with 7 additions and 6 deletions

View File

@@ -36,9 +36,10 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
app:contentScrim="?attr/colorPrimary"
app:expandedTitleMarginStart="32dp"
app:expandedTitleGravity="center_horizontal|bottom"
app:expandedTitleMarginEnd="32dp"
app:expandedTitleMarginStart="@dimen/default_margin"
app:expandedTitleMarginEnd="@dimen/default_margin"
app:expandedTitleMarginBottom="24dp"
app:layout_scrollFlags="scroll|exitUntilCollapsed|snap">
<android.support.v7.widget.LinearLayoutCompat
@@ -49,12 +50,12 @@
android:orientation="vertical"
android:background="@drawable/background_repeat"
android:gravity="center"
android:paddingBottom="28dp"
android:paddingBottom="12dp"
style="@style/KeepassDXStyle.TextAppearance.Default">
<android.support.v7.widget.AppCompatImageView
android:id="@+id/entry_icon"
android:layout_width="64dp"
android:layout_height="64dp"/>
android:layout_width="48dp"
android:layout_height="48dp"/>
</android.support.v7.widget.LinearLayoutCompat>
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"

View File

@@ -9,7 +9,7 @@
<dimen name="content_percent">1</dimen>
<dimen name="toolbar_parallax_height">220dp</dimen>
<dimen name="toolbar_parallax_height">160dp</dimen>
<integer name="animation_duration">320</integer>
</resources>