Last active
August 29, 2015 14:08
-
-
Save rmarinho/ecdf0a9eb2a06a1e6d2f to your computer and use it in GitHub Desktop.
TEst cloud
This file contains hidden or 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
| UIBUtton btn = new UIButton(new RectangleF(10, 210, 300, 40)); | |
| errorMessagesTextField.AccessibilityLabel = "error_button"; | |
| errorMessagesTextField.Text = "error"; | |
| <Button | |
| android:text="Action 1" | |
| android:layout_width="wrap_content" | |
| android:layout_height="match_parent" | |
| android:id="@+id/error_button" | |
| android:layout_weight="1" | |
| android:layout_marginLeft="5dp" /> | |
| AppResult[] results = _app.Marked("error_button"); | |
| this works, but only if you are using AXML files | |
| In Xamarin forms a user does this: | |
| var button = new Button { StyleId="error_button" }; | |
| Now Xamarin forms creates a Android button or view | |
| var buttonAndroid = new View(); | |
| buttonAndroid.SetId("error_button"); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment