Skip to content
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
build/
.gradle/
local.properties
Empty file added build.gradle
Empty file.
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 6 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Thu Jul 31 19:27:13 CST 2014
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.2-bin.zip
164 changes: 164 additions & 0 deletions gradlew

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

90 changes: 90 additions & 0 deletions gradlew.bat

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

4 changes: 2 additions & 2 deletions satellite-menu-sample/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0.0-SNAPSHOT" package="android.view.ext">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0.0-SNAPSHOT" package="android.view.ext.sample">

<uses-sdk android:minSdkVersion="7"/>

Expand All @@ -13,4 +13,4 @@
</activity>
</application>

</manifest>
</manifest>
45 changes: 45 additions & 0 deletions satellite-menu-sample/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
buildscript {
repositories {
mavenCentral()
}

dependencies {
classpath 'com.android.tools.build:gradle:1.0.+'
classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.12.+'
}
}

apply plugin: 'android-sdk-manager'
apply plugin: 'com.android.application'

dependencies {
compile project(':satellite-menu')
}

android {
buildToolsVersion "21.1.0"
compileSdkVersion 21

defaultConfig {
minSdkVersion 7
targetSdkVersion 21
}

lintOptions {
abortOnError false
}

sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
//compileClasspath += configurations.provided
}
}

}
4 changes: 2 additions & 2 deletions satellite-menu-sample/res/layout/main.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:sat="http://schemas.android.com/apk/res/android.view.ext"
xmlns:sat="http://schemas.android.com/apk/res-auto"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
Expand All @@ -18,4 +18,4 @@
sat:closeOnClick="true"
sat:expandDuration="500"/>

</FrameLayout>
</FrameLayout>
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
package android.view.ext;
package android.view.ext.sample;

import java.util.ArrayList;
import java.util.List;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.ext.SatelliteMenu;
import android.view.ext.SatelliteMenu.SateliteClickedListener;
import android.view.ext.SatelliteMenuItem;

public class SatelliteMenuActivity extends Activity {

Expand Down Expand Up @@ -41,4 +43,4 @@ public void eventOccured(int id) {
}
});
}
}
}
2 changes: 1 addition & 1 deletion satellite-menu/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="android.view.ext"
android:versionCode="1"
android:versionName="1.0" />
android:versionName="1.0" />
Loading