非常好的早晨,我試圖實現單擊UserName StackPanel時的功能,以便鍵盤不會隱藏信息。但是,這不是最好的選擇,我在iOS和Android上工作。你可以幫幫我嗎。Xamarin - 動畫StackLayout
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="BackGround.BackGroundImageDemo" BackgroundImage="Avion.jpg">
<ContentPage.Content >
<StackLayout VerticalOptions="Center" Padding="5, 50, 120, 0" BackgroundColor="White" HorizontalOptions="Center">
<Entry Placeholder="UserName" PlaceholderColor="Gray" TextColor="Navy" />
<Entry Placeholder="Password" IsPassword="true" PlaceholderColor="Gray" TextColor="Navy"/>
</StackLayout>
</ContentPage.Content>
</ContentPage>
追逐應用程序有類似的東西。
Chase UserName normal - Chase in mode up stacklayout
你的代碼如何在動畫項目Xamarin.Forms這是不正常。查看[Github上的BikeShare360應用程序](https://github.com/Microsoft/BikeSharing360_MobileApps)。 – adamhill
C'omon,請對我在答覆中寫下的內容稍加註意。我沒有說這是一種動畫製作的方式,我展示了一個如何解決特定問題的例子 - 事實上,這是用戶問的問題。雖然標題說了一件事,但他的問題是另一個問題,正如他所描述的那樣。 –