Skip to content

Commit

Permalink
Add AppCompat v21 for sample.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkil committed Nov 26, 2014
1 parent 0b3e266 commit 54733fe
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 41 deletions.
3 changes: 2 additions & 1 deletion robototextview-sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ android {

defaultConfig {
applicationId "com.devspark.robototextview.sample"
minSdkVersion 3
minSdkVersion 7
targetSdkVersion 21
versionCode 10
versionName "2.2.0"
Expand All @@ -15,4 +15,5 @@ android {

dependencies {
compile project(':robototextview')
compile 'com.android.support:appcompat-v7:21.0.0'
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@

package com.devspark.robototextview.sample;

import android.app.Activity;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;

/**
* @author Evgeny Shishkin
*/
public class MainActivity extends Activity {
public class MainActivity extends ActionBarActivity {
/**
* Called when the activity is first created.
*/
Expand Down
11 changes: 0 additions & 11 deletions robototextview-sample/src/main/res/values-v11/styles.xml

This file was deleted.

12 changes: 0 additions & 12 deletions robototextview-sample/src/main/res/values-v14/styles.xml

This file was deleted.

18 changes: 3 additions & 15 deletions robototextview-sample/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
<resources>

<!--
Base application theme, dependent on API level. This theme is replaced
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
-->
<style name="AppBaseTheme" parent="android:Theme.Light">
<!--
Theme customizations available in newer API levels can go in
res/values-vXX/styles.xml, while customizations related to
backward-compatibility can go here.
-->
</style>

<!-- Application theme. -->
<style name="AppTheme" parent="AppBaseTheme">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
</style>

</resources>

0 comments on commit 54733fe

Please sign in to comment.