New artist details activity [biography missing yet]

This commit is contained in:
Karim Abou Zeid 2015-03-14 21:10:07 +01:00
commit ef48e9305b
26 changed files with 664 additions and 486 deletions

View file

@ -8,39 +8,30 @@
android:layout_height="match_parent"
android:orientation="vertical">
<ImageView
android:id="@+id/artist_image"
android:layout_width="match_parent"
android:layout_height="@dimen/header_image_height"
android:scaleType="centerCrop"
android:src="@drawable/default_artist_image"
android:transitionName="@string/transition_artist_image"/>
<View
android:id="@+id/list_background"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:attr/colorBackground"/>
<FrameLayout
<com.github.ksoichiro.android.observablescrollview.ObservableListView
android:id="@+id/list"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v4.view.ViewPager
android:id="@+id/pager"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<ImageView
android:id="@+id/artist_image"
android:layout_width="match_parent"
android:layout_height="@dimen/header_image_height"
android:scaleType="centerCrop"
android:src="@drawable/default_artist_image"
android:transitionName="@string/transition_artist_image"/>
<View
android:id="@+id/overlay"
android:layout_width="match_parent"
android:layout_height="@dimen/header_image_height"
android:background="@color/materialmusic_default_bar_color"/>
</FrameLayout>
android:layout_height="match_parent"
android:clipToPadding="false"
android:divider="@null"
android:dividerHeight="0dp"
android:scrollbars="none"/>
<LinearLayout
android:id="@+id/header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
@ -60,22 +51,13 @@
android:textAppearance="@style/TextAppearance.AppCompat.Title"
android:textColor="?attr/title_text_color"/>
<com.google.samples.apps.iosched.ui.widget.SlidingTabLayout
android:id="@+id/sliding_tabs"
android:layout_width="match_parent"
android:layout_height="@dimen/tab_height"
android:background="@color/materialmusic_default_bar_color"
android:elevation="@dimen/toolbar_elevation"
android:paddingRight="88dp"/>
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/transparent"/>
android:background="@android:color/transparent"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -91,8 +73,7 @@
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="@android:color/transparent"
android:elevation="@dimen/toolbar_elevation"/>
android:background="@android:color/transparent"/>
</LinearLayout>
<com.melnykov.fab.FloatingActionButton
@ -100,7 +81,7 @@
style="@style/PlayPauseFab"
android:layout_gravity="right"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"/>
android:layout_marginRight="16dp"
/>
</FrameLayout>
</RelativeLayout>