Browse Source

Added an icon for 'filter torrents' that always shows

pull/12/head
Tom Briden 11 years ago
parent
commit
0d9336af02
  1. BIN
      core/res/drawable-hdpi/ic_action_filter_dark.png
  2. BIN
      core/res/drawable-hdpi/ic_action_filter_light.png
  3. BIN
      core/res/drawable-mdpi/ic_action_filter_dark.png
  4. BIN
      core/res/drawable-mdpi/ic_action_filter_light.png
  5. BIN
      core/res/drawable-xhdpi/ic_action_filter_dark.png
  6. BIN
      core/res/drawable-xhdpi/ic_action_filter_light.png
  7. 3
      core/res/menu/activity_torrents.xml
  8. 1
      core/res/values/attrs.xml
  9. 2
      core/res/values/styles.xml
  10. 4
      lite/.project

BIN
core/res/drawable-hdpi/ic_action_filter_dark.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
core/res/drawable-hdpi/ic_action_filter_light.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
core/res/drawable-mdpi/ic_action_filter_dark.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
core/res/drawable-mdpi/ic_action_filter_light.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
core/res/drawable-xhdpi/ic_action_filter_dark.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
core/res/drawable-xhdpi/ic_action_filter_light.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

3
core/res/menu/activity_torrents.xml

@ -75,7 +75,8 @@
</item> </item>
<item <item
android:id="@+id/action_filter" android:id="@+id/action_filter"
android:showAsAction="never" android:showAsAction="always"
android:icon="?attr/ic_action_filter"
android:title="@string/action_filter" android:title="@string/action_filter"
android:orderInCategory="905"/> android:orderInCategory="905"/>
<item <item

1
core/res/values/attrs.xml

@ -23,6 +23,7 @@
<!-- Themeable drawables, such as action bar icons --> <!-- Themeable drawables, such as action bar icons -->
<attr name="ic_action_discard" format="reference"/> <attr name="ic_action_discard" format="reference"/>
<attr name="ic_action_filter" format="reference"/>
<attr name="ic_action_labels" format="reference"/> <attr name="ic_action_labels" format="reference"/>
<attr name="ic_action_new" format="reference"/> <attr name="ic_action_new" format="reference"/>
<attr name="ic_action_pause" format="reference"/> <attr name="ic_action_pause" format="reference"/>

2
core/res/values/styles.xml

@ -22,6 +22,7 @@
<item name="android:windowBackground">@color/background_light</item> <item name="android:windowBackground">@color/background_light</item>
<item name="ic_action_discard">@drawable/ic_action_discard_light</item> <item name="ic_action_discard">@drawable/ic_action_discard_light</item>
<item name="ic_action_filter">@drawable/ic_action_filter_light</item>
<item name="ic_action_labels">@drawable/ic_action_labels_light</item> <item name="ic_action_labels">@drawable/ic_action_labels_light</item>
<item name="ic_action_new">@drawable/ic_action_new_light</item> <item name="ic_action_new">@drawable/ic_action_new_light</item>
<item name="ic_action_pause">@drawable/ic_action_pause_light</item> <item name="ic_action_pause">@drawable/ic_action_pause_light</item>
@ -51,6 +52,7 @@
<item name="android:windowBackground">@color/background_dark</item> <item name="android:windowBackground">@color/background_dark</item>
<item name="ic_action_discard">@drawable/ic_action_discard_dark</item> <item name="ic_action_discard">@drawable/ic_action_discard_dark</item>
<item name="ic_action_filter">@drawable/ic_action_filter_dark</item>
<item name="ic_action_labels">@drawable/ic_action_labels_dark</item> <item name="ic_action_labels">@drawable/ic_action_labels_dark</item>
<item name="ic_action_new">@drawable/ic_action_new_dark</item> <item name="ic_action_new">@drawable/ic_action_new_dark</item>
<item name="ic_action_pause">@drawable/ic_action_pause_dark</item> <item name="ic_action_pause">@drawable/ic_action_pause_dark</item>

4
lite/.project

@ -3,6 +3,10 @@
<name>Transdroid Lite</name> <name>Transdroid Lite</name>
<comment></comment> <comment></comment>
<projects> <projects>
<project>ColorPickerPreference</project>
<project>com_actionbarsherlock</project>
<project>core</project>
<project>Crouton</project>
</projects> </projects>
<buildSpec> <buildSpec>
<buildCommand> <buildCommand>

Loading…
Cancel
Save