Removed toolbar transition & co (58b2773) from master branch and moved those changes to the new shared-element-item-glitch branch to keep everything clean
This commit is contained in:
parent
51d64db9b6
commit
6a6da75fd6
4 changed files with 17 additions and 77 deletions
|
|
@ -1,7 +1,8 @@
|
|||
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<android.support.v4.widget.DrawerLayout
|
||||
android:id="@+id/drawer_layout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/drawer_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fitsSystemWindows="true"
|
||||
|
|
@ -23,14 +24,11 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="@dimen/main_toolbar_padding_top"
|
||||
android:transitionName="toolbar"
|
||||
tools:ignore="UnusedAttribute">
|
||||
android:paddingTop="@dimen/main_toolbar_padding_top">
|
||||
|
||||
<android.support.v7.widget.Toolbar
|
||||
android:id="@+id/toolbar"
|
||||
style="@style/Toolbar"
|
||||
android:transitionName=""
|
||||
android:background="?colorPrimary">
|
||||
|
||||
<TextView
|
||||
|
|
@ -49,8 +47,6 @@
|
|||
</android.support.v7.widget.Toolbar>
|
||||
|
||||
<com.astuetz.PagerSlidingTabStrip
|
||||
app:pstsTabBackground="?selectableItemBackground"
|
||||
app:pstsIndicatorHeight="3dp"
|
||||
android:id="@+id/tabs"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/tab_height"
|
||||
|
|
@ -60,9 +56,11 @@
|
|||
android:paddingStart="64dp"
|
||||
android:textColor="@color/sliding_tabs_deactivated"
|
||||
android:textColorPrimary="@color/sliding_tabs_activated"
|
||||
android:transitionName="sliding_tabs"
|
||||
app:pstsIndicatorHeight="3dp"
|
||||
app:pstsTabBackground="?selectableItemBackground"
|
||||
app:pstsTabPaddingLeftRight="8dp"
|
||||
tools:ignore="NewApi,RtlSymmetry,UnusedAttribute"
|
||||
android:transitionName="sliding_tabs" />
|
||||
tools:ignore="NewApi,RtlSymmetry,UnusedAttribute" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
|
|
@ -75,8 +73,8 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="end|right|bottom"
|
||||
tools:ignore="RtlHardcoded"
|
||||
android:fitsSystemWindows="true">
|
||||
android:fitsSystemWindows="true"
|
||||
tools:ignore="RtlHardcoded">
|
||||
|
||||
<com.melnykov.fab.FloatingActionButton
|
||||
android:id="@+id/fab"
|
||||
|
|
@ -92,17 +90,17 @@
|
|||
android:layout_width="1dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start"
|
||||
android:clickable="true"
|
||||
android:fitsSystemWindows="true"
|
||||
app:insetForeground="@color/scrim_inset_color"
|
||||
android:clickable="true">
|
||||
app:insetForeground="@color/scrim_inset_color">
|
||||
|
||||
<fragment
|
||||
android:id="@+id/navigation_drawer"
|
||||
android:name="com.kabouzeid.gramophone.ui.fragments.NavigationDrawerFragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:layout="@layout/fragment_navigation_drawer"
|
||||
android:tag="NAV_DRAWER" />
|
||||
android:tag="NAV_DRAWER"
|
||||
tools:layout="@layout/fragment_navigation_drawer" />
|
||||
|
||||
</com.kabouzeid.gramophone.views.ScrimInsetsFrameLayout>
|
||||
|
||||
|
|
|
|||
|
|
@ -2,11 +2,11 @@
|
|||
<resources>
|
||||
|
||||
<style name="Theme.MaterialMusic.Base" parent="Theme.AppCompat.NoActionBar">
|
||||
<item name="md_dark_theme">true</item>
|
||||
|
||||
<item name="android:windowActionBarOverlay">true</item>
|
||||
<item name="windowActionBarOverlay">true</item>
|
||||
|
||||
<item name="md_dark_theme">true</item>
|
||||
|
||||
<item name="title_text_color">?android:attr/textColorPrimary</item>
|
||||
<item name="caption_text_color">?android:attr/textColorSecondary</item>
|
||||
|
||||
|
|
@ -31,12 +31,12 @@
|
|||
<item name="card_color">@color/materialmusic_dark_default_bar_color</item>
|
||||
|
||||
<item name="toolbarPopupTheme">@style/ThemeOverlay.AppCompat</item>
|
||||
|
||||
</style>
|
||||
|
||||
<style name="Theme.MaterialMusic.Base.Light" parent="Theme.AppCompat.Light.NoActionBar">
|
||||
<item name="android:windowActionBarOverlay">true</item>
|
||||
<item name="windowActionBarOverlay">true</item>
|
||||
|
||||
<item name="md_dark_theme">false</item>
|
||||
|
||||
<item name="title_text_color">?android:attr/textColorPrimary</item>
|
||||
|
|
@ -63,7 +63,6 @@
|
|||
<item name="card_color">@color/white</item>
|
||||
|
||||
<item name="toolbarPopupTheme">@style/ThemeOverlay.AppCompat.Light</item>
|
||||
|
||||
</style>
|
||||
|
||||
<style name="PlayPauseFabParent">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue