[C#/MAUI/.NET6] Entry 엘리먼트 : ImeOptions 첨부 속성을 사용해 소프트 키보드 사용자 작업 버튼 설정하기 (ANDROID)
C#/MAUI 2022. 6. 9. 10:22728x90
반응형
728x170
▶ MainPage.xaml
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage x:Class="TestProject.MainPage"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:android="clr-namespace:Microsoft.Maui.Controls.PlatformConfiguration.AndroidSpecific;assembly=Microsoft.Maui.Controls">
<StackLayout
HorizontalOptions="Center"
VerticalOptions="Center"
Spacing="10">
<StackLayout
HorizontalOptions="Start"
Orientation="Horizontal"
Spacing="10">
<Label
VerticalOptions="Center"
Text="항목 1" />
<Entry
VerticalOptions="Center"
MinimumWidthRequest="100"
android:Entry.ImeOptions="Send"
Placeholder="값 1" />
</StackLayout>
<StackLayout
HorizontalOptions="Start"
Orientation="Horizontal"
Spacing="10">
<Label
VerticalOptions="Center"
Text="항목 2" />
<Entry
VerticalOptions="Center"
MinimumWidthRequest="100"
android:Entry.ImeOptions="Go"
Placeholder="값 2" />
</StackLayout>
</StackLayout>
</ContentPage>
728x90
반응형
그리드형(광고전용)
댓글을 달아 주세요