This repository has been archived by the owner on Jul 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 245
Fixes #392 : Re-designs the login page #412
Open
saketkumar
wants to merge
6
commits into
zulip:master
Choose a base branch
from
saketkumar:patch-21-login
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,466
−347
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
279a723
Re-designs login flow.
saketkumar 01f2b45
Adds forgot password option in login page.
saketkumar d193009
Add fast slide out animations.
saketkumar 1306b51
fixup! Re-designs login flow.
saketkumar b5c8c1a
Add layout-large for large screens
saketkumar dd8f681
Add layout-xlarge for login screen
saketkumar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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 |
---|---|---|
|
@@ -3,6 +3,8 @@ | |
import android.app.Activity; | ||
import android.content.Context; | ||
|
||
import com.zulip.android.R; | ||
|
||
/** | ||
* Default Activity transition animation. | ||
*/ | ||
|
@@ -16,7 +18,7 @@ public class ActivityTransitionAnim { | |
public static void transition(Context activityContext) { | ||
// avoid invalid class cast exception | ||
if (activityContext instanceof Activity) { | ||
((Activity) activityContext).overridePendingTransition(android.R.anim.fade_in, android.R.anim.fade_out); | ||
((Activity) activityContext).overridePendingTransition(R.anim.slide_in_right, android.R.anim.fade_out); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 |
||
} | ||
} | ||
} |
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,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<set | ||
xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<translate | ||
android:fromXDelta="-100%p" | ||
android:toXDelta="0" | ||
android:duration="300"/> | ||
</set> |
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,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<set | ||
xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<translate | ||
android:fromXDelta="100%p" | ||
android:toXDelta="0" | ||
android:duration="300"/> | ||
</set> |
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,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<set | ||
xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<translate | ||
android:fromXDelta="0" | ||
android:toXDelta="-100%p" | ||
android:duration="300"/> | ||
</set> |
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,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<set | ||
xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<translate | ||
android:fromXDelta="0" | ||
android:toXDelta="100%p" | ||
android:duration="300"/> | ||
</set> |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-884 Bytes
app/src/main/res/drawable-xxhdpi/ic_visibility_off_black_24dp.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,24 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android" > | ||
<item android:state_pressed="true" > | ||
<shape android:shape="rectangle" > | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. if its not much work, it wold be awesome to have a ripple effect on long press |
||
<corners android:radius="5dip" /> | ||
<stroke android:width="4dip" android:color="#075818" /> | ||
<gradient android:angle="-90" android:startColor="#075818" android:endColor="#075818" /> | ||
</shape> | ||
</item> | ||
<item android:state_focused="true"> | ||
<shape android:shape="rectangle" > | ||
<corners android:radius="5dip" /> | ||
<stroke android:width="1dip" android:color="#075818" /> | ||
<solid android:color="#075818"/> | ||
</shape> | ||
</item> | ||
<item > | ||
<shape android:shape="rectangle" > | ||
<corners android:radius="5dip" /> | ||
<stroke android:width="1dip" android:color="#075818" /> | ||
<gradient android:angle="-90" android:startColor="#075818" android:endColor="#075818" /> | ||
</shape> | ||
</item> | ||
</selector> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TextUtils.isEmpty() can be used