-
Notifications
You must be signed in to change notification settings - Fork 278
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Il
committed
Nov 4, 2015
1 parent
b65d359
commit 77ffa50
Showing
12 changed files
with
198 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,36 @@ | ||
language: android | ||
|
||
jdk: | ||
- openjdk7 | ||
|
||
branches: | ||
only: | ||
- master | ||
|
||
notifications: | ||
email: true | ||
|
||
before_install: | ||
|
||
# environment info | ||
- ./gradlew -v | ||
- uname -a | ||
|
||
# for gradle output style | ||
- export TERM=dumb | ||
|
||
# just to test gradle version, against our provided one | ||
- ./gradlew -v | ||
|
||
# Install required components. | ||
# For a full list, run `android list sdk -a --extended` | ||
- echo yes | android update sdk --filter platform-tools --no-ui --force > /dev/null | ||
- echo yes | android update sdk --all --filter build-tools-23.0.0 --no-ui --force > /dev/null | ||
- echo yes | android update sdk --filter android-19 --no-ui --force > /dev/null | ||
- echo yes | android update sdk --filter extra-android-m2repository --no-ui --force > /dev/null | ||
|
||
# Otherwise | ||
#- echo yes | android update sdk -t tools,platform-tools,extra-android-support,extra-android-m2repository,android-19 --force --no-ui | ||
# Turn off caching to avoid any caching problems | ||
cache: false | ||
# Use the Travis Container-Based Infrastructure (see #203) | ||
sudo: false | ||
|
||
android: | ||
components: | ||
- build-tools-23.0.0 | ||
- android-22 | ||
- extra-google-google_play_services | ||
- extra-google-m2repository | ||
- extra-android-m2repository | ||
- sys-img-armeabi-v7a-android-19 | ||
- extra-android-support | ||
licenses: | ||
- android-sdk-license-bcbbd656 | ||
- '.*intel.+' | ||
|
||
|
||
# Let's try to build... | ||
install: ./gradlew clean build | ||
install: | ||
- chmod +x ./gradlew; ls -l gradlew; ./gradlew wrapper -v | ||
|
||
script: ./gradlew check | ||
script: | ||
- ./gradlew clean assembleDebug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,78 @@ | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:orientation="vertical" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:paddingLeft="@dimen/activity_horizontal_margin" | ||
android:paddingRight="@dimen/activity_horizontal_margin" | ||
android:paddingTop="@dimen/activity_vertical_margin" | ||
android:paddingBottom="@dimen/activity_vertical_margin" | ||
android:gravity="center" | ||
tools:context="it.sephiroth.android.library.mymodule.app.MainActivity2"> | ||
|
||
<Button | ||
android:id="@+id/button1" | ||
android:text="Touch Outside" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" /> | ||
|
||
<Button | ||
android:id="@+id/button2" | ||
android:text="Touch Inside" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" /> | ||
|
||
<Button | ||
android:id="@+id/button3" | ||
android:text="Outside Exclusive" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" /> | ||
|
||
<Button | ||
android:id="@+id/button4" | ||
android:text="Custom View" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" /> | ||
|
||
|
||
<Button | ||
android:id="@+id/button5" | ||
android:text="Custom Background" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" /> | ||
|
||
</LinearLayout> | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:orientation="vertical"> | ||
|
||
<android.support.design.widget.AppBarLayout | ||
android:id="@+id/activity_main_app_bar" | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:elevation="6dp" | ||
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" | ||
tools:ignore="UnusedAttribute"> | ||
|
||
<!-- The toolbar --> | ||
<android.support.v7.widget.Toolbar | ||
android:id="@+id/toolbar" | ||
android:layout_width="match_parent" | ||
android:layout_height="?attr/actionBarSize" | ||
android:minHeight="?attr/actionBarSize" /> | ||
|
||
<android.support.design.widget.TabLayout | ||
android:id="@+id/tabs" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
app:tabMode="fixed" /> | ||
|
||
</android.support.design.widget.AppBarLayout> | ||
|
||
|
||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:gravity="center" | ||
android:orientation="vertical" | ||
android:paddingBottom="@dimen/activity_vertical_margin" | ||
android:paddingLeft="@dimen/activity_horizontal_margin" | ||
android:paddingRight="@dimen/activity_horizontal_margin" | ||
android:paddingTop="@dimen/activity_vertical_margin" | ||
tools:context="it.sephiroth.android.library.mymodule.app.MainActivity2"> | ||
|
||
<Button | ||
android:id="@+id/button1" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="Touch Outside" /> | ||
|
||
<Button | ||
android:id="@+id/button2" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="Touch Inside" /> | ||
|
||
<Button | ||
android:id="@+id/button3" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="Outside Exclusive" /> | ||
|
||
<Button | ||
android:id="@+id/button4" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="Custom View" /> | ||
|
||
|
||
<Button | ||
android:id="@+id/button5" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="Custom Background" /> | ||
|
||
</LinearLayout> | ||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Wed Nov 04 13:15:33 EST 2015 | ||
#Wed Nov 04 14:36:14 EST 2015 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.8-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.8-all.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.