From 24fbd82408dd3afc39f922e6063244baacaa0af4 Mon Sep 17 00:00:00 2001 From: Johan Nilsson Date: Sat, 19 Feb 2011 18:10:14 +0100 Subject: [PATCH] Added separate style for ProgressBar to make it easier to override the default style. --- actionbar/res/layout/actionbar.xml | 4 ++-- actionbar/res/values/styles.xml | 2 ++ actionbarexample/res/values/styles.xml | 8 ++++++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/actionbar/res/layout/actionbar.xml b/actionbar/res/layout/actionbar.xml index 03d7916..6464545 100644 --- a/actionbar/res/layout/actionbar.xml +++ b/actionbar/res/layout/actionbar.xml @@ -79,10 +79,10 @@ android:layout_height="wrap_content" android:layout_alignParentRight="true" android:layout_centerVertical="true" - android:paddingRight="5dip" + android:paddingRight="7dip" android:indeterminateOnly="true" android:visibility="gone" - style="?android:attr/progressBarStyleSmall" + style="@style/ActionBarProgressBar" /> 1px 0px + diff --git a/actionbarexample/res/values/styles.xml b/actionbarexample/res/values/styles.xml index 65437e4..51be870 100644 --- a/actionbarexample/res/values/styles.xml +++ b/actionbarexample/res/values/styles.xml @@ -14,4 +14,12 @@ 0px --> + + + \ No newline at end of file