aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohamed Zenadi <mohamed@zenadi.com>2015-03-20 22:16:38 +0100
committerMohamed Zenadi <mohamed@zenadi.com>2015-03-20 22:16:38 +0100
commit9ebe1a4c498056189315f52f14768526f2c6f820 (patch)
treefa373113d3b20fee1ffb8e6c79931fbf9c0b290e
parenta1a3ed0e79082b192473e811bb161e8c445f303b (diff)
fix the color of the select contextual menu
was showing white on kitkat
-rw-r--r--app/build.gradle8
-rw-r--r--app/src/main/res/values/styles.xml5
2 files changed, 9 insertions, 4 deletions
diff --git a/app/build.gradle b/app/build.gradle
index ef9f332c..84812dbf 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -25,12 +25,12 @@ android {
}
dependencies {
- compile "com.android.support:appcompat-v7:22.0.0"
- compile "com.android.support:recyclerview-v7:22.0.0"
-
+ compile 'com.android.support:appcompat-v7:22.0.0'
+ compile 'com.android.support:recyclerview-v7:22.0.0'
//compile fileTree(dir: 'libs', include: ['*.jar'])
compile project(':libraries:openpgp-api-lib')
- compile 'org.eclipse.jgit:org.eclipse.jgit:3.6.2.201501210735-r'
+ compile 'org.eclipse.jgit:org.eclipse.jgit:3.7.0.201502260915-r'
+ compile 'com.jcraft:jsch:0.1.52'
compile 'org.apache.commons:commons-io:1.3.2'
compile 'com.jayway.android.robotium:robotium-solo:5.3.1'
}
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index e9c9b918..556da8f2 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -7,5 +7,10 @@
<item name="android:windowBackground">@color/blue_grey_50</item>
<item name="android:textColorPrimary">@color/teal_900</item>
<item name="android:textColor">@color/blue_grey_900</item>
+ <item name="actionModeStyle">@style/ActionMode</item>
+ </style>
+
+ <style name="ActionMode" parent="@style/Widget.AppCompat.ActionMode">
+ <item name="background">@color/blue_grey_700</item>
</style>
</resources>