From 263f12cda75365cbe0f238d1b9529f8ccb5ab3ec Mon Sep 17 00:00:00 2001 From: Eric Kok Date: Wed, 19 Jun 2013 16:22:46 +0200 Subject: [PATCH] Clean up of theme XML and fix font in action bar. --- .../progress_horizontal_transdroid.xml | 34 ------------ .../progress_horizontal_transdroid2.xml | 35 ------------ core/res/layout/actionbar_serverstatus.xml | 12 +++- .../res/values-v11/styles_transdroid_dark.xml | 55 +++++-------------- .../values-v11/styles_transdroid_light.xml | 24 +++----- .../res/values-v14/styles_transdroid_dark.xml | 55 +++++-------------- .../values-v14/styles_transdroid_light.xml | 28 +++------- core/res/values-v16/styles.xml | 11 +++- core/res/values/styles_transdroid_dark.xml | 42 ++++---------- core/res/values/styles_transdroid_light.xml | 40 +++++--------- 10 files changed, 90 insertions(+), 246 deletions(-) delete mode 100644 core/res/drawable/progress_horizontal_transdroid.xml delete mode 100644 core/res/drawable/progress_horizontal_transdroid2.xml diff --git a/core/res/drawable/progress_horizontal_transdroid.xml b/core/res/drawable/progress_horizontal_transdroid.xml deleted file mode 100644 index 585c2b73..00000000 --- a/core/res/drawable/progress_horizontal_transdroid.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/core/res/drawable/progress_horizontal_transdroid2.xml b/core/res/drawable/progress_horizontal_transdroid2.xml deleted file mode 100644 index a3439973..00000000 --- a/core/res/drawable/progress_horizontal_transdroid2.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/core/res/layout/actionbar_serverstatus.xml b/core/res/layout/actionbar_serverstatus.xml index 11874b86..e5370b6a 100644 --- a/core/res/layout/actionbar_serverstatus.xml +++ b/core/res/layout/actionbar_serverstatus.xml @@ -3,16 +3,17 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" - android:paddingRight="@dimen/margin_default" - android:paddingTop="@dimen/ui_serverstatus_margin" android:background="?attr/selectable_background_transdroid" - android:clickable="true" > + android:clickable="true" + android:paddingRight="@dimen/margin_default" + android:paddingTop="@dimen/ui_serverstatus_margin" > @@ -34,6 +36,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toLeftOf="@id/upcount_text" + android:fontFamily="sans-serif-light" android:paddingTop="@dimen/ui_serverstatus_signmargin" android:text="↓" android:textColor="?attr/text_bright" @@ -46,6 +49,7 @@ android:layout_width="@dimen/ui_serverstatus_width" android:layout_height="wrap_content" android:layout_toLeftOf="@id/downcount_sign" + android:fontFamily="sans-serif-light" android:gravity="end" android:textColor="?attr/text_bright" android:textSize="@dimen/ui_serverstatus_bignumber" /> @@ -58,6 +62,7 @@ android:layout_alignParentRight="true" android:layout_below="@id/upcount_text" android:layout_marginTop="-4dip" + android:fontFamily="sans-serif-light" android:gravity="end" android:textColor="?attr/text_bright" android:textSize="@dimen/ui_serverstatus_smallnumber" /> @@ -70,6 +75,7 @@ android:layout_alignRight="@id/downcount_sign" android:layout_below="@id/downcount_text" android:layout_marginTop="-4dip" + android:fontFamily="sans-serif-light" android:gravity="end" android:textColor="?attr/text_bright" android:textSize="@dimen/ui_serverstatus_smallnumber" /> diff --git a/core/res/values-v11/styles_transdroid_dark.xml b/core/res/values-v11/styles_transdroid_dark.xml index 51a3dfd0..bf417f3e 100644 --- a/core/res/values-v11/styles_transdroid_dark.xml +++ b/core/res/values-v11/styles_transdroid_dark.xml @@ -20,55 +20,43 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/core/res/values-v11/styles_transdroid_light.xml b/core/res/values-v11/styles_transdroid_light.xml index f9248492..03a595ff 100644 --- a/core/res/values-v11/styles_transdroid_light.xml +++ b/core/res/values-v11/styles_transdroid_light.xml @@ -17,34 +17,26 @@ limitations under the License. --> - + - - - - - \ No newline at end of file diff --git a/core/res/values-v14/styles_transdroid_dark.xml b/core/res/values-v14/styles_transdroid_dark.xml index 0c3300c7..62a740a1 100644 --- a/core/res/values-v14/styles_transdroid_dark.xml +++ b/core/res/values-v14/styles_transdroid_dark.xml @@ -20,58 +20,46 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/core/res/values-v14/styles_transdroid_light.xml b/core/res/values-v14/styles_transdroid_light.xml index f916bd11..242309f8 100644 --- a/core/res/values-v14/styles_transdroid_light.xml +++ b/core/res/values-v14/styles_transdroid_light.xml @@ -17,38 +17,28 @@ limitations under the License. --> - + - - - - - \ No newline at end of file diff --git a/core/res/values-v16/styles.xml b/core/res/values-v16/styles.xml index 6570d483..35fbd18b 100644 --- a/core/res/values-v16/styles.xml +++ b/core/res/values-v16/styles.xml @@ -1,5 +1,15 @@ + + + + - - - - - - - - - - - - \ No newline at end of file diff --git a/core/res/values/styles_transdroid_light.xml b/core/res/values/styles_transdroid_light.xml index db8619ca..ebf32fcf 100644 --- a/core/res/values/styles_transdroid_light.xml +++ b/core/res/values/styles_transdroid_light.xml @@ -19,60 +19,48 @@ - - - - - - - - - - - - - \ No newline at end of file