This repository has been archived by the owner on May 1, 2024. It is now read-only.
Android fastrenderers #845
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
1a6bb39
Obsolete IVisualElementRenderer.ViewGroup in favor of .View
hartez 9a1279f
Fix NRE
hartez f2f8f1b
Changing TContainer in PlatformEffect to View
hartez 685e5f2
Fix "View" type
hartez 99fbac1
new VisualElementRenderer
samhouts d8aa8d7
Fast Label Renderer
samhouts ff6219c
Let's try that again. Behold: Label Fast Renderer
samhouts 6ed0018
First attempt at a fast(er) button renderer
hartez 03ea4f3
Move FrameRenderer into Fast Renderers
hartez 5588ae4
Fix Disposable on VisualElementRenderer
hartez e35e3c6
Simplify touch and click handlers
hartez 4edc909
Drop empty if clause
hartez 50d915f
[Android] Add initial Image fast renderer
rmarinho 24f2032
[Android] Small fixes to VisualElementRenderer
rmarinho 99374db
Split accessibility out to a separate helper class; fix tapgesture bu…
hartez 2d6ec16
Move accessiblity stuff to a separate class (which needs a good name)
hartez 66fbb50
[Android] ImageRenderer refactoring
rmarinho 2c1d21e
Prevent query from looking to parent for fast renderers
hartez 32d7892
Fix elevation/z-index bugs with Button (e.g., 40173)
hartez 385b356
Move SetLabeledBy to Accessibilitizer
hartez a30dd5f
Un-break automation IDs for Labels
hartez 2e61843
Move gesture handling to its own class
hartez 83c8ac1
Split gesture and effect management into separate classes
hartez 1936dfa
Remove unneeded packager from LabelRenderer
hartez 92e6cd0
LabelRenderer inherits from FormsTextView
samhouts 45c19f0
Batch updates to View
hartez 3940325
Fix isOnParentRenderer check for non-Android platforms
hartez 004b28f
[Controls] Update Xamarin.Forms.ControlGallery.iOS.csproj
rmarinho a56c573
[Android,IOS] Small fixes to rebase and use of Internals
rmarinho 0dba203
[Android] Ignroe warning for now
rmarinho 4039200
Fast renderers now passing InputTransparent and IsEnabled tests
hartez 83253c5
Fast and legacy renderers now pass the Enabled and InputTransparent t…
hartez 50e54be
Change PlatformEffect back, default container to null
hartez cb85d14
Fix mangled using directives
hartez File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
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
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,21 @@ | ||
using Xamarin.Forms.Platform.Android; | ||
|
||
namespace Xamarin.Forms.ControlGallery.Android | ||
{ | ||
public class BorderEffect : PlatformEffect | ||
{ | ||
protected override void OnAttached () | ||
{ | ||
Control.SetBackgroundColor (global::Android.Graphics.Color.Aqua); | ||
|
||
var childLabel = (Element as ScrollView)?.Content as Label; | ||
if (childLabel != null) | ||
childLabel.Text = "Success"; | ||
} | ||
|
||
protected override void OnDetached () | ||
{ | ||
Control.SetBackgroundColor(global::Android.Graphics.Color.Beige); | ||
} | ||
} | ||
} |
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
Binary file modified
BIN
+644 Bytes
(140%)
Xamarin.Forms.Platform.Android.FormsViewGroup/Jars/formsviewgroup.jar
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
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
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.
@hartez is this correct or did i screw the rebase ?
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.
That looks correct. The UI tests will catch it if not.