質問編集履歴

1

Loginボタンを押すと別のページに遷移できるようにしたいです。

2018/11/26 02:40

投稿

takenokox
takenokox

スコア12

test CHANGED
File without changes
test CHANGED
@@ -30,9 +30,47 @@
30
30
 
31
31
 
32
32
 
33
- ```ここに言語名を入力
33
+ ```MainPage.xaml
34
34
 
35
+ <?xml version="1.0" encoding="utf-8" ?>
36
+
37
+ <ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
38
+
39
+ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
40
+
41
+ xmlns:local="clr-namespace:toshiapp"
42
+
43
+ x:Class="toshiapp.MainPage">
44
+
45
+
46
+
35
- ソースコード
47
+ <StackLayout>
48
+
49
+ <!-- Place new controls here -->
50
+
51
+ <Label Text="Welcome to Xamarin.Forms!"
52
+
53
+ HorizontalOptions="Center"
54
+
55
+ VerticalOptions="CenterAndExpand" />
56
+
57
+ <Entry Placeholder = "Username" />
58
+
59
+ <Entry Placeholder = "Password"
60
+
61
+ IsPassword = "True" />
62
+
63
+ <Button Text = "Login" />
64
+
65
+ </StackLayout>
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+ </ContentPage>
36
74
 
37
75
  ```
38
76