1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-30 00:01:19 +00:00

Fixed crash when opening DevicesFragment (fixes #690).

It seems that the xxxhdpi `active` drawable was corrupted. The old
build tools could still read the drawable, but the new ones
couldn't handle it. Regenerating the drawable fixed the crash.

Also removed `inactive` drawables and xml drawable which weren't
being used.
This commit is contained in:
Felix Ableitner 2016-07-20 17:48:31 +02:00
parent d22fbc3f38
commit 5b9cd28eb8
7 changed files with 2 additions and 7 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 295 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 306 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 443 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 685 B

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 570 B

View file

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/ic_tag_text_outline_black_24dp_inactive" android:state_enabled="false" />
<item android:drawable="@drawable/ic_tag_text_outline_black_24dp_active" />
</selector>

View file

@ -51,8 +51,8 @@
style="@style/Widget.Syncthing.TextView.Label.Details.Field"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawableLeft="@drawable/ic_tag_text_outline_black_24dp"
android:drawableStart="@drawable/ic_tag_text_outline_black_24dp"
android:drawableLeft="@drawable/ic_tag_text_outline_black_24dp_active"
android:drawableStart="@drawable/ic_tag_text_outline_black_24dp_active"
android:hint="@string/name"
android:imeOptions="actionNext"
android:inputType="textCapWords" />