From 297d7226d6e189aaae9e5379e5bd9f9b5543ebf0 Mon Sep 17 00:00:00 2001 From: Isaac John Wesley Date: Sun, 7 Oct 2012 14:58:00 +0530 Subject: [PATCH] Translucent Theme for Actionbar Conflicts: src/org/wikimedia/commons/CommonsApplication.java --- AndroidManifest.xml | 2 +- project.properties | 2 +- res/drawable/action_bar_translucent.xml | 4 +++ res/drawable/actionbar_top_shadow.xml | 10 ++++++ res/layout/activity_share.xml | 35 +++++++++++++----- res/layout/login.xml | 38 ++++++++++++++++++++ res/values/theme.xml | 12 +++++++ src/org/wikimedia/commons/ShareActivity.java | 5 +++ 8 files changed, 98 insertions(+), 10 deletions(-) create mode 100644 res/drawable/action_bar_translucent.xml create mode 100644 res/drawable/actionbar_top_shadow.xml create mode 100644 res/layout/login.xml create mode 100644 res/values/theme.xml diff --git a/AndroidManifest.xml b/AndroidManifest.xml index ac5af4ef5..a26ad3f7a 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -13,7 +13,7 @@ android:name=".CommonsApplication" android:icon="@drawable/ic_launcher" android:label="@string/app_name" - android:theme="@style/AppTheme" > + android:theme="@style/Theme.Commons" > + + + \ No newline at end of file diff --git a/res/drawable/actionbar_top_shadow.xml b/res/drawable/actionbar_top_shadow.xml new file mode 100644 index 000000000..70d1f48c5 --- /dev/null +++ b/res/drawable/actionbar_top_shadow.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/res/layout/activity_share.xml b/res/layout/activity_share.xml index 138a5beb0..bf0f90b66 100644 --- a/res/layout/activity_share.xml +++ b/res/layout/activity_share.xml @@ -1,16 +1,28 @@ - - + android:layout_width="fill_parent" + android:layout_height="fill_parent" > + + + + + + + +