非常好的早晨,我试图实现单击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,请对我在答复中写下的内容稍加注意。我没有说这是一种动画制作的方式,我展示了一个如何解决特定问题的例子 - 事实上,这是用户问的问题。虽然标题说了一件事,但他的问题是另一个问题,正如他所描述的那样。 –