Skip to content
Browse files

New, better up indicator

1 parent 3abbce3 commit ff3131c6db368ff2e322b3d7724f43a1c2e6c48f jfeinstein10 committed
View
BIN art/Blue/Thumbs.db
Binary file not shown.
View
BIN art/Blue/hdpi.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN art/Blue/ldpi.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN art/Blue/mdpi.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN art/Blue/xhdpi.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN art/Green/Thumbs.db
Binary file not shown.
View
BIN art/Green/hdpi.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN art/Green/ldpi.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN art/Green/mdpi.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN art/Green/xhdpi.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN art/Orange/Thumbs.db
Binary file not shown.
View
BIN art/Orange/hdpi.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN art/Orange/ldpi.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN art/Orange/mdpi.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN art/Orange/xhdpi.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN art/Red/Thumbs.db
Binary file not shown.
View
BIN art/Red/hdpi.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN art/Red/ldpi.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN art/Red/mdpi.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN art/Red/xhdpi.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN art/White/Thumbs.db
Binary file not shown.
View
BIN art/White/hdpi.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN art/White/ldpi.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN art/White/mdpi.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN art/White/xhdpi.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
2 example/AndroidManifest.xml
@@ -11,7 +11,7 @@
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
- android:theme="@android:style/Theme.Holo.Light.DarkActionBar" >
+ android:theme="@style/ExampleTheme" >
<activity
android:name=".ExampleListActivity"
android:configChanges="orientation|screenSize|screenLayout"
View
BIN example/res/drawable-hdpi/indicator.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN example/res/drawable-ldpi/indicator.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN example/res/drawable-mdpi/indicator.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN example/res/drawable-xhdpi/indicator.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN example/res/drawable/eagle.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN example/res/drawable/flamingo.png
Diff not rendered.
View
BIN example/res/drawable/heron.png
Diff not rendered.
View
10 example/res/drawable/new_indicator.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <item
+ android:left="0dp"
+ android:right="5dp">
+ <bitmap android:src="@drawable/indicator" />
+ </item>
+
+</layer-list>
View
BIN example/res/drawable/ostrich.png
Diff not rendered.
View
BIN example/res/drawable/peacock.png
Diff not rendered.
View
BIN example/res/drawable/penguin.png
Diff not rendered.
View
BIN example/res/drawable/toucan.png
Diff not rendered.
View
BIN example/res/drawable/turkey.png
Diff not rendered.
View
BIN example/res/drawable/vulture.png
Diff not rendered.
View
9 example/res/values/styles.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <style name="ExampleTheme" parent="Theme.Sherlock.Light.DarkActionBar">
+ <item name="homeAsUpIndicator">@drawable/new_indicator</item>
+ <item name="android:homeAsUpIndicator">@drawable/new_indicator</item>
+ </style>
+
+</resources>
View
2 example/src/com/slidingmenu/example/fragments/ResponsiveUIActivity.java
@@ -99,7 +99,7 @@ public void switchContent(final Fragment fragment) {
public void run() {
getSlidingMenu().showAbove();
}
- }, 100);
+ }, 50);
}
public void onBirdPressed(int pos) {

3 comments on commit ff3131c

@jjhesk

do i need import the library from sherlock in order to get the theme?
Theme.Sherlock.Light.DarkActionBar

@codertrack

very good

Please sign in to comment.
Something went wrong with that request. Please try again.