mirror of
https://github.com/gsantner/dandelion
synced 2025-12-08 21:31:10 +01:00
Merge pull request #29 from Diaspora-for-Android/hide_bottom_bar
Hide bottom bar #22
This commit is contained in:
commit
fcb4cf2829
4 changed files with 117 additions and 1 deletions
6
app/src/main/res/anim/bottom_bar_down.xml
Normal file
6
app/src/main/res/anim/bottom_bar_down.xml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<translate android:fromYDelta="0%p" android:toYDelta="100%p" android:fillAfter="true"
|
||||
android:interpolator="@android:anim/linear_interpolator"
|
||||
android:duration="500" />
|
||||
</set>
|
||||
6
app/src/main/res/anim/bottom_bar_up.xml
Normal file
6
app/src/main/res/anim/bottom_bar_up.xml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<translate android:fromYDelta="75%p" android:toYDelta="0%p"
|
||||
android:fillAfter="true"
|
||||
android:duration="500"/>
|
||||
</set>
|
||||
|
|
@ -42,13 +42,15 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:theme="@style/AppTheme.AppBarOverlay">
|
||||
android:theme="@style/AppTheme.AppBarOverlay"
|
||||
app:layout_behavior=".ui.BottomBarBehavior">
|
||||
|
||||
<android.support.v7.widget.ActionMenuView
|
||||
android:id="@+id/toolbar2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="45dp"
|
||||
android:background="?attr/colorPrimary"
|
||||
app:layout_scrollFlags="scroll|enterAlways|snap"
|
||||
app:popupTheme="@style/AppTheme.PopupOverlay" />
|
||||
|
||||
</android.support.design.widget.AppBarLayout>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue