Removed AppCompat from example
This commit is contained in:
parent
ce3aa7be3c
commit
e67e7aed55
|
|
@ -21,5 +21,4 @@ android {
|
|||
|
||||
dependencies {
|
||||
compile project(':lib')
|
||||
compile 'com.android.support:appcompat-v7:+'
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,8 +5,7 @@
|
|||
<application
|
||||
android:allowBackup="true"
|
||||
android:icon="@drawable/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:theme="@style/AppTheme">
|
||||
android:label="@string/app_name">
|
||||
<activity
|
||||
android:name="com.soundcloud.android.crop.example.MainActivity"
|
||||
android:label="@string/app_name" >
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
package com.soundcloud.android.crop.example;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.Intent;
|
||||
import android.net.Uri;
|
||||
import android.support.v7.app.ActionBarActivity;
|
||||
import android.os.Bundle;
|
||||
import android.view.Menu;
|
||||
import android.view.MenuItem;
|
||||
|
|
@ -14,7 +14,7 @@ import com.soundcloud.android.crop.Crop;
|
|||
|
||||
import java.io.File;
|
||||
|
||||
public class MainActivity extends ActionBarActivity {
|
||||
public class MainActivity extends Activity {
|
||||
|
||||
private Uri output;
|
||||
private ImageView resultView;
|
||||
|
|
|
|||
|
|
@ -1,10 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:crop="http://schemas.android.com/apk/res-auto">
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:id="@+id/action_select"
|
||||
android:title="@string/action_select"
|
||||
crop:showAsAction="always" />
|
||||
android:showAsAction="always" />
|
||||
|
||||
</menu>
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
<resources>
|
||||
|
||||
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar" />
|
||||
|
||||
</resources>
|
||||
Loading…
Reference in New Issue