This repository has been archived by the owner on Jan 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into fix_debug
* develop: (39 commits) Use same version of Android in number picker module Include oraclejdk8 Block transition if already transitioning Move analytics initialization before usage Introduce SearchTransitioner to handle the transition to Search Ensure we are using namedays before using it Create separate hint for namedays or just contacts Play Transitions from KitKat onward Remove unused methods and class Set the view of the search activity after the initialization of the theme Use Support library transitions Fix animation stuck Fade content out and in while transition Finish Search when the back key is pressed with no search Query Remove comments Create copy of drawable instead of changing the resource one Update targetSDK and libraries Add missing stylings from toolbar Add transition between activities Create animation on the MainActivity ...
- Loading branch information
Showing
104 changed files
with
1,253 additions
and
1,136 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,5 +1,5 @@ | ||
language: android | ||
jdk: oraclejdk7 | ||
jdk: oraclejdk8 | ||
sudo: false | ||
cache: | ||
directories: | ||
|
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
This file was deleted.
Oops, something went wrong.
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
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
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
26 changes: 26 additions & 0 deletions
26
mobile/src/main/java/com/alexstyl/specialdates/search/BackKeyEditText.java
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.alexstyl.specialdates.search; | ||
|
||
import android.content.Context; | ||
import android.util.AttributeSet; | ||
import android.view.KeyEvent; | ||
import android.widget.EditText; | ||
|
||
public class BackKeyEditText extends EditText { | ||
public BackKeyEditText(Context context, AttributeSet attrs) { | ||
super(context, attrs); | ||
} | ||
|
||
private OnBackKeyPressedListener listener; | ||
|
||
public void setOnBackKeyPressedListener(OnBackKeyPressedListener listener) { | ||
this.listener = listener; | ||
} | ||
|
||
@Override | ||
public boolean onKeyPreIme(int keyCode, KeyEvent event) { | ||
if (keyCode == KeyEvent.KEYCODE_BACK && listener.onBackButtonPressed()) { | ||
return true; | ||
} | ||
return super.onKeyPreIme(keyCode, event); | ||
} | ||
} |
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.