From 594bbbf08494ee8b202c4eca0fce283465799cfa Mon Sep 17 00:00:00 2001 From: Peter Siegmund Date: Thu, 14 Apr 2016 12:42:05 +0200 Subject: [PATCH 1/2] new Android Studio release (Android Studio 2.1 Beta) --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 7871b6fab19..4254f5bf9f2 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:2.1.0-alpha5' + classpath 'com.android.tools.build:gradle:2.1.0-beta1' } } From a5f2f6c6e76adf3e2e72b4a99d4c8c500f8b4a07 Mon Sep 17 00:00:00 2001 From: Peter Siegmund Date: Thu, 14 Apr 2016 15:52:21 +0200 Subject: [PATCH 2/2] course areas can be disabled in login selection in the backend again --- .../checked_item_background_dark_ripple.xml | 8 ++++++ .../checked_item_background_light_ripple.xml | 8 ++++++ .../drawable/checked_item_background_dark.xml | 10 ++++++++ .../checked_item_background_light.xml | 10 ++++++++ .../res/layout/checked_list_item.xml | 2 +- .../res/values-v21/themes_dark.xml | 2 ++ .../res/values-v21/themes_light.xml | 2 ++ .../res/values/attrs.xml | 1 + .../res/values/themes_dark.xml | 1 + .../res/values/themes_light.xml | 9 ++++--- .../app/ui/adapters/checked/CheckedItem.java | 9 +++++++ .../adapters/checked/CheckedItemAdapter.java | 13 +++++++++- .../lists/CourseAreaListFragment.java | 25 +++++++++++++++++-- .../ui/fragments/lists/NamedListFragment.java | 1 - 14 files changed, 92 insertions(+), 9 deletions(-) create mode 100644 mobile/com.sap.sailing.racecommittee.app/res/drawable-v21/checked_item_background_dark_ripple.xml create mode 100644 mobile/com.sap.sailing.racecommittee.app/res/drawable-v21/checked_item_background_light_ripple.xml create mode 100644 mobile/com.sap.sailing.racecommittee.app/res/drawable/checked_item_background_dark.xml create mode 100644 mobile/com.sap.sailing.racecommittee.app/res/drawable/checked_item_background_light.xml diff --git a/mobile/com.sap.sailing.racecommittee.app/res/drawable-v21/checked_item_background_dark_ripple.xml b/mobile/com.sap.sailing.racecommittee.app/res/drawable-v21/checked_item_background_dark_ripple.xml new file mode 100644 index 00000000000..bde68550fe0 --- /dev/null +++ b/mobile/com.sap.sailing.racecommittee.app/res/drawable-v21/checked_item_background_dark_ripple.xml @@ -0,0 +1,8 @@ + + + + + + \ No newline at end of file diff --git a/mobile/com.sap.sailing.racecommittee.app/res/drawable-v21/checked_item_background_light_ripple.xml b/mobile/com.sap.sailing.racecommittee.app/res/drawable-v21/checked_item_background_light_ripple.xml new file mode 100644 index 00000000000..41d1fdce7c6 --- /dev/null +++ b/mobile/com.sap.sailing.racecommittee.app/res/drawable-v21/checked_item_background_light_ripple.xml @@ -0,0 +1,8 @@ + + + + + + \ No newline at end of file diff --git a/mobile/com.sap.sailing.racecommittee.app/res/drawable/checked_item_background_dark.xml b/mobile/com.sap.sailing.racecommittee.app/res/drawable/checked_item_background_dark.xml new file mode 100644 index 00000000000..1070f91df24 --- /dev/null +++ b/mobile/com.sap.sailing.racecommittee.app/res/drawable/checked_item_background_dark.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/mobile/com.sap.sailing.racecommittee.app/res/drawable/checked_item_background_light.xml b/mobile/com.sap.sailing.racecommittee.app/res/drawable/checked_item_background_light.xml new file mode 100644 index 00000000000..971e4edfe9b --- /dev/null +++ b/mobile/com.sap.sailing.racecommittee.app/res/drawable/checked_item_background_light.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/mobile/com.sap.sailing.racecommittee.app/res/layout/checked_list_item.xml b/mobile/com.sap.sailing.racecommittee.app/res/layout/checked_list_item.xml index 53e9143348d..e3a9aa545fd 100644 --- a/mobile/com.sap.sailing.racecommittee.app/res/layout/checked_list_item.xml +++ b/mobile/com.sap.sailing.racecommittee.app/res/layout/checked_list_item.xml @@ -4,7 +4,7 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="?attr/sap_gray_black_30" + android:background="?attr/checkedItemBackground" android:minHeight="@dimen/listView_row_min_height"> true @style/AppTheme.Dark.AlertDialog.v21 + + @drawable/checked_item_background_dark_ripple