Permalink
Browse files

New, better up indicator

  • Loading branch information...
jfeinstein10
jfeinstein10 committed Oct 29, 2012
1 parent 3abbce3 commit ff3131c6db368ff2e322b3d7724f43a1c2e6c48f
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
@@ -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"
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
@@ -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>
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
@@ -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>
@@ -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

@JameChen

This comment has been minimized.

Show comment
Hide comment
@JameChen

JameChen May 13, 2013

ok

ok

@jjhesk

This comment has been minimized.

Show comment
Hide comment
@jjhesk

jjhesk May 14, 2013

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

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

@codertrack

This comment has been minimized.

Show comment
Hide comment
@codertrack

codertrack Mar 24, 2015

very good

very good

Please sign in to comment.