Fixed a crash under API level 21 on the main timeline due to trying to tint the status buttons with selectors.

This commit is contained in:
Vavassor 2017-02-17 23:10:46 -05:00
commit 0439fabd79
15 changed files with 67 additions and 132 deletions

View file

@ -16,7 +16,6 @@
android:layout_height="48dp"
app:srcCompat="@drawable/ic_media"
style="?attr/image_button_style"
android:tint="?attr/compose_media_button_tint"
android:id="@+id/compose_photo_pick"
android:layout_marginLeft="8dp" />

View file

@ -209,10 +209,10 @@
android:layout_height="match_parent"
android:layout_weight="1" />
<com.keylesspalace.tusky.StatusButton
<ImageButton
app:srcCompat="@drawable/ic_reblog"
android:id="@+id/status_reblog"
style="?attr/status_reblog_button_style"
style="?attr/image_button_style"
android:layout_width="32dp"
android:layout_height="32dp" />
@ -221,10 +221,10 @@
android:layout_height="match_parent"
android:layout_weight="1" />
<com.keylesspalace.tusky.StatusButton
<ImageButton
android:layout_width="32dp"
android:layout_height="32dp"
style="?attr/status_favourite_button_style"
style="?attr/image_button_style"
app:srcCompat="@drawable/ic_favourite"
android:id="@+id/status_favourite" />