Optimized AbsThemeActivity recreate. Fixed wrong divider and overflow button colors on 4.1 devices. Replaced actionbar drawer toggle with a non moving menu drawable.

This commit is contained in:
Karim Abou Zeid 2015-08-12 22:29:19 +02:00
commit 52c405120c
16 changed files with 96 additions and 65 deletions

View file

@ -13,7 +13,8 @@
android:id="@+id/artist_image_background"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop" />
android:scaleType="centerCrop"
tools:ignore="ContentDescription" />
<com.kabouzeid.gramophone.views.SquareIfPlaceImageView
android:id="@+id/image"

View file

@ -12,8 +12,8 @@
<View
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="1dp"
android:layout_marginTop="-8dp"
android:background="?dividerHorizontal" />
android:background="?divider_color" />
</LinearLayout>

View file

@ -86,7 +86,7 @@
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_gravity="bottom"
android:background="?dividerHorizontal"
android:background="?divider_color"
android:visibility="gone" />
<View
@ -96,6 +96,6 @@
android:layout_gravity="bottom"
android:layout_marginLeft="72dp"
android:layout_marginStart="72dp"
android:background="?dividerHorizontal" />
android:background="?divider_color" />
</FrameLayout>

View file

@ -72,7 +72,7 @@
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_gravity="bottom"
android:background="?dividerHorizontal"
android:background="?divider_color"
android:visibility="gone" />
<View
@ -82,6 +82,6 @@
android:layout_gravity="bottom"
android:layout_marginLeft="72dp"
android:layout_marginStart="72dp"
android:background="?dividerHorizontal" />
android:background="?divider_color" />
</FrameLayout>