Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Updated SDK level, Gradle update to 1.0.0, Updated to Holo-light and Material-Light design. #16

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 0 additions & 9 deletions .idea/copyright/OTA_Apache.xml

This file was deleted.

6 changes: 1 addition & 5 deletions .idea/copyright/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 0 additions & 11 deletions .idea/libraries/support_annotations_20_0_0.xml

This file was deleted.

11 changes: 11 additions & 0 deletions .idea/libraries/support_annotations_21_0_0.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions .idea/libraries/support_v13_20_0_0.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions .idea/libraries/support_v4_20_0_0.xml

This file was deleted.

13 changes: 13 additions & 0 deletions .idea/libraries/support_v4_21_0_0.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions .idea/scopes/Java_and_Resources.xml

This file was deleted.

24 changes: 14 additions & 10 deletions app/app.iml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="ota-updater-app" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
<module external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android-gradle" name="Android-Gradle">
<configuration>
Expand All @@ -10,9 +10,10 @@
<configuration>
<option name="SELECTED_BUILD_VARIANT" value="debug" />
<option name="ASSEMBLE_TASK_NAME" value="assembleDebug" />
<option name="COMPILE_JAVA_TASK_NAME" value="compileDebugJava" />
<option name="COMPILE_JAVA_TASK_NAME" value="compileDebugSources" />
<option name="ASSEMBLE_TEST_TASK_NAME" value="assembleDebugTest" />
<option name="SOURCE_GEN_TASK_NAME" value="generateDebugSources" />
<option name="TEST_SOURCE_GEN_TASK_NAME" value="generateDebugTestSources" />
<option name="ALLOW_USER_CONFIGURATION" value="false" />
<option name="MANIFEST_FILE_RELATIVE_PATH" value="/src/main/AndroidManifest.xml" />
<option name="RES_FOLDER_RELATIVE_PATH" value="/src/main/res" />
Expand All @@ -30,29 +31,31 @@
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/debug" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/generated/debug" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/test/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/test/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/test/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/test/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/test/debug" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/generated/test/debug" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/res" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/assets" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/aidl" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/assets" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/jni" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/rs" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/res" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/main/assets" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/main/aidl" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/assets" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/jni" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/rs" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/res" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/assets" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/aidl" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/assets" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/jni" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/rs" isTestSource="true" />
Expand All @@ -76,15 +79,16 @@
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/rs" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/symbols" />
<excludeFolder url="file://$MODULE_DIR$/build/outputs" />
<excludeFolder url="file://$MODULE_DIR$/build/tmp" />
</content>
<orderEntry type="jdk" jdkName="Android API 19 Platform" jdkType="Android SDK" />
<orderEntry type="jdk" jdkName="Android API 21 Platform" jdkType="Android SDK" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" exported="" name="support-v13-20.0.0" level="project" />
<orderEntry type="library" exported="" name="annotations-12.0" level="project" />
<orderEntry type="library" exported="" name="play-services-5.0.77" level="project" />
<orderEntry type="library" exported="" name="support-annotations-20.0.0" level="project" />
<orderEntry type="library" exported="" name="support-v4-20.0.0" level="project" />
<orderEntry type="library" exported="" name="support-v4-21.0.0" level="project" />
<orderEntry type="library" exported="" name="commons-net-3.1" level="project" />
<orderEntry type="library" exported="" name="annotations-12.0" level="project" />
<orderEntry type="library" exported="" name="play-services-6.5.87" level="project" />
<orderEntry type="library" exported="" name="support-annotations-21.0.0" level="project" />
</component>
</module>

8 changes: 4 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 19
buildToolsVersion '19.1.0'
compileSdkVersion 21
buildToolsVersion '21.1.1'

defaultConfig {
minSdkVersion 14
targetSdkVersion 19
targetSdkVersion 21
}

signingConfigs {
Expand All @@ -22,7 +22,7 @@ android {

buildTypes {
release {
runProguard false
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
if (System.getenv("SIGNING_KEYSTORE") != null) {
signingConfig signingConfigs.release
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:allowBackup="true">
android:allowBackup="true"
android:theme="@style/Theme.Otauc">

<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />

Expand Down
Binary file modified app/src/main/res/drawable-hdpi-v11/ic_stat_av_download.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-hdpi-v11/ic_stat_system_update.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-hdpi-v11/ic_stat_warning.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-hdpi/ab_solid_otauc.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-hdpi/ic_action_action_settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-hdpi/ic_action_av_download.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-hdpi/ic_action_refresh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-hdpi/ic_action_social_person.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-hdpi/ic_action_system_update.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-hdpi/ic_action_warning.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-hdpi/ic_archive.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-hdpi/ic_close.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-hdpi/ic_cloud_download.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-hdpi/ic_cloud_off.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-hdpi/ic_device.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-hdpi/ic_info_outline.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-hdpi/ic_key.png
Binary file modified app/src/main/res/drawable-hdpi/ic_settings.png
Binary file modified app/src/main/res/drawable-hdpi/ic_stat_av_download.png
Binary file modified app/src/main/res/drawable-hdpi/ic_stat_system_update.png
Binary file modified app/src/main/res/drawable-mdpi-v11/ic_stat_av_download.png
Binary file modified app/src/main/res/drawable-mdpi-v11/ic_stat_system_update.png
Binary file modified app/src/main/res/drawable-mdpi-v11/ic_stat_warning.png
Binary file added app/src/main/res/drawable-mdpi/ab_solid_otauc.9.png
Binary file modified app/src/main/res/drawable-mdpi/ic_action_action_settings.png
Binary file modified app/src/main/res/drawable-mdpi/ic_action_av_download.png
Binary file modified app/src/main/res/drawable-mdpi/ic_action_refresh.png
Binary file modified app/src/main/res/drawable-mdpi/ic_action_social_person.png
Binary file modified app/src/main/res/drawable-mdpi/ic_action_system_update.png
Binary file modified app/src/main/res/drawable-mdpi/ic_action_warning.png
Binary file modified app/src/main/res/drawable-mdpi/ic_archive.png
Binary file modified app/src/main/res/drawable-mdpi/ic_close.png
Binary file modified app/src/main/res/drawable-mdpi/ic_cloud_download.png
Binary file modified app/src/main/res/drawable-mdpi/ic_cloud_off.png
Binary file modified app/src/main/res/drawable-mdpi/ic_device.png
Binary file modified app/src/main/res/drawable-mdpi/ic_info_outline.png
Binary file modified app/src/main/res/drawable-mdpi/ic_key.png
Binary file modified app/src/main/res/drawable-mdpi/ic_settings.png
Binary file modified app/src/main/res/drawable-mdpi/ic_stat_av_download.png
Binary file modified app/src/main/res/drawable-mdpi/ic_stat_system_update.png
Binary file modified app/src/main/res/drawable-mdpi/ic_stat_warning.png
Binary file modified app/src/main/res/drawable-xhdpi-v11/ic_stat_av_download.png
Binary file modified app/src/main/res/drawable-xhdpi-v11/ic_stat_system_update.png
Binary file modified app/src/main/res/drawable-xhdpi-v11/ic_stat_warning.png
Binary file added app/src/main/res/drawable-xhdpi/ab_solid_otauc.9.png
Binary file modified app/src/main/res/drawable-xhdpi/ic_action_action_settings.png
Binary file modified app/src/main/res/drawable-xhdpi/ic_action_av_download.png
Binary file modified app/src/main/res/drawable-xhdpi/ic_action_refresh.png
Binary file modified app/src/main/res/drawable-xhdpi/ic_action_social_person.png
Binary file modified app/src/main/res/drawable-xhdpi/ic_action_system_update.png
Binary file modified app/src/main/res/drawable-xhdpi/ic_action_warning.png
Binary file modified app/src/main/res/drawable-xhdpi/ic_archive.png
Binary file modified app/src/main/res/drawable-xhdpi/ic_close.png
Binary file modified app/src/main/res/drawable-xhdpi/ic_cloud_download.png
Binary file modified app/src/main/res/drawable-xhdpi/ic_cloud_off.png
Binary file modified app/src/main/res/drawable-xhdpi/ic_device.png
Binary file modified app/src/main/res/drawable-xhdpi/ic_info_outline.png
Binary file modified app/src/main/res/drawable-xhdpi/ic_key.png
Binary file modified app/src/main/res/drawable-xhdpi/ic_settings.png
Binary file modified app/src/main/res/drawable-xhdpi/ic_stat_av_download.png
Binary file modified app/src/main/res/drawable-xhdpi/ic_stat_system_update.png
Binary file modified app/src/main/res/drawable-xhdpi/ic_stat_warning.png
Binary file modified app/src/main/res/drawable-xxhdpi-v11/ic_stat_av_download.png
Binary file modified app/src/main/res/drawable-xxhdpi-v11/ic_stat_system_update.png
Binary file modified app/src/main/res/drawable-xxhdpi-v11/ic_stat_warning.png
Binary file modified app/src/main/res/drawable-xxhdpi/ic_action_action_settings.png
Binary file modified app/src/main/res/drawable-xxhdpi/ic_action_av_download.png
Binary file modified app/src/main/res/drawable-xxhdpi/ic_action_refresh.png
Binary file modified app/src/main/res/drawable-xxhdpi/ic_action_social_person.png
Binary file modified app/src/main/res/drawable-xxhdpi/ic_action_system_update.png
Binary file modified app/src/main/res/drawable-xxhdpi/ic_action_warning.png
Binary file modified app/src/main/res/drawable-xxhdpi/ic_archive.png
Binary file modified app/src/main/res/drawable-xxhdpi/ic_close.png
Binary file modified app/src/main/res/drawable-xxhdpi/ic_cloud_download.png
Binary file modified app/src/main/res/drawable-xxhdpi/ic_cloud_off.png
Binary file modified app/src/main/res/drawable-xxhdpi/ic_device.png
Binary file modified app/src/main/res/drawable-xxhdpi/ic_info_outline.png
Binary file modified app/src/main/res/drawable-xxhdpi/ic_key.png
Binary file added app/src/main/res/drawable-xxhdpi/ic_launcher.png
Binary file modified app/src/main/res/drawable-xxhdpi/ic_settings.png
Binary file modified app/src/main/res/drawable-xxhdpi/ic_stat_av_download.png
Binary file modified app/src/main/res/drawable-xxhdpi/ic_stat_system_update.png
Binary file modified app/src/main/res/drawable-xxhdpi/ic_stat_warning.png
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2014 OTA Update Center
<!-- File created by the Android Action Bar Style Generator

Copyright (C) 2012 readyState Software Ltd

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<resources xmlns:android="http://schemas.android.com/apk/res/android">
<style name="ProgressBar" parent="android:Widget.Holo.ProgressBar.Horizontal"/>
</resources>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/ab_texture_tile_otauc"
android:tileMode="repeat" />
27 changes: 27 additions & 0 deletions app/src/main/res/drawable/btn_cab_done_otauc.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- File created by the Android Action Bar Style Generator

Copyright (C) 2011 The Android Open Source Project
Copyright (C) 2012 readyState Software Ltd

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true"
android:drawable="@drawable/btn_cab_done_pressed_otauc" />
<item android:state_focused="true" android:state_enabled="true"
android:drawable="@drawable/btn_cab_done_focused_otauc" />
<item android:state_enabled="true"
android:drawable="@drawable/btn_cab_done_default_otauc" />
</selector>
35 changes: 35 additions & 0 deletions app/src/main/res/drawable/progress_horizontal_otauc.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- File created by the Android Action Bar Style Generator

Copyright (C) 2011 The Android Open Source Project
Copyright (C) 2012 readyState Software Ltd

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<layer-list xmlns:android="http://schemas.android.com/apk/res/android">

<item android:id="@android:id/background"
android:drawable="@drawable/progress_bg_otauc" />

<item android:id="@android:id/secondaryProgress">
<scale android:scaleWidth="100%"
android:drawable="@drawable/progress_secondary_otauc" />
</item>

<item android:id="@android:id/progress">
<scale android:scaleWidth="100%"
android:drawable="@drawable/progress_primary_otauc" />
</item>

</layer-list>
25 changes: 25 additions & 0 deletions app/src/main/res/drawable/selectable_background_otauc.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- File created by the Android Action Bar Style Generator

Copyright (C) 2011 The Android Open Source Project
Copyright (C) 2012 readyState Software Ltd

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<selector xmlns:android="http://schemas.android.com/apk/res/android"
android:exitFadeDuration="@android:integer/config_mediumAnimTime" >
<item android:state_pressed="false" android:state_focused="true" android:drawable="@drawable/list_focused_otauc" />
<item android:state_pressed="true" android:drawable="@drawable/list_pressed_otauc" />
<item android:drawable="@android:color/transparent" />
</selector>
28 changes: 28 additions & 0 deletions app/src/main/res/drawable/spinner_background_ab_otauc.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- File created by the Android Action Bar Style Generator

Copyright (C) 2011 The Android Open Source Project
Copyright (C) 2012 readyState Software Ltd

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false"
android:drawable="@drawable/spinner_ab_disabled_otauc" />
<item android:state_pressed="true"
android:drawable="@drawable/spinner_ab_pressed_otauc" />
<item android:state_pressed="false" android:state_focused="true"
android:drawable="@drawable/spinner_ab_focused_otauc" />
<item android:drawable="@drawable/spinner_ab_default_otauc" />
</selector>
Loading