Main Activity Fragments should be updated automatically now when the Media Store has changed.

This commit is contained in:
Karim Abou Zeid 2015-07-13 16:50:05 +02:00
commit 9c8cba612b
59 changed files with 428 additions and 352 deletions

View file

@ -97,7 +97,7 @@
</LinearLayout>
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
android:id="@+id/play_pause_fab"
style="@style/PlayPauseFab"
android:layout_gravity="end|right|bottom"
android:layout_margin="@dimen/fab_margin" />

View file

@ -143,7 +143,7 @@
tools:ignore="RtlHardcoded" />
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
android:id="@+id/play_pause_fab"
style="@style/PlayPauseFab"
android:layout_gravity="bottom|right|end"
android:layout_margin="@dimen/fab_margin"

View file

@ -98,7 +98,7 @@
</LinearLayout>
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
android:id="@+id/play_pause_fab"
style="@style/PlayPauseFab"
android:layout_gravity="end|bottom"
android:layout_margin="@dimen/fab_margin" />

View file

@ -55,7 +55,7 @@
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
android:id="@+id/play_pause_fab"
style="@style/PlayPauseFab"
android:layout_gravity="end|bottom"
android:layout_margin="@dimen/fab_margin" />

View file

@ -120,8 +120,8 @@
android:layout_centerVertical="true"
android:layout_marginEnd="@dimen/tmp_now_playing_skip_rewind_margin"
android:layout_marginRight="@dimen/tmp_now_playing_skip_rewind_margin"
android:layout_toLeftOf="@+id/fab"
android:layout_toStartOf="@+id/fab"
android:layout_toLeftOf="@+id/play_pause_fab"
android:layout_toStartOf="@+id/play_pause_fab"
android:background="?round_selector"
android:elevation="8dp"
android:padding="22dp"
@ -135,8 +135,8 @@
android:layout_centerVertical="true"
android:layout_marginLeft="@dimen/tmp_now_playing_skip_rewind_margin"
android:layout_marginStart="@dimen/tmp_now_playing_skip_rewind_margin"
android:layout_toEndOf="@+id/fab"
android:layout_toRightOf="@+id/fab"
android:layout_toEndOf="@+id/play_pause_fab"
android:layout_toRightOf="@+id/play_pause_fab"
android:background="?round_selector"
android:elevation="8dp"
android:padding="22dp"
@ -174,7 +174,7 @@
android:src="@drawable/ic_shuffle_white_36dp" />
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
android:id="@+id/play_pause_fab"
style="@style/PlayPauseFab"
android:layout_centerInParent="true"
android:layout_margin="0dp" />

View file

@ -46,7 +46,7 @@
android:textSize="@dimen/empty_text_size" />
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
android:id="@+id/play_pause_fab"
style="@style/PlayPauseFab"
android:layout_gravity="bottom|end"
android:layout_margin="@dimen/fab_margin" />

View file

@ -174,7 +174,7 @@
tools:ignore="RtlHardcoded" />
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
android:id="@+id/play_pause_fab"
style="@style/PlayPauseFab"
android:layout_gravity="bottom|right|end"
android:layout_margin="@dimen/fab_margin"

View file

@ -49,7 +49,6 @@
android:layout_marginRight="16dp"
android:fontFamily="sans-serif"
android:singleLine="true"
android:text="@string/nothing_playing"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:textColor="@android:color/white"
android:textSize="14sp" />