Skip to content

Instantly share code, notes, and snippets.

@jarakys
Last active August 15, 2018 13:07
Show Gist options
  • Select an option

  • Save jarakys/6a7894c9290a6f1098fee5c26972775b to your computer and use it in GitHub Desktop.

Select an option

Save jarakys/6a7894c9290a6f1098fee5c26972775b to your computer and use it in GitHub Desktop.
</StackLayout>
<Frame Margin="20,0,20,0" Padding="20,0,20,0" x:Name="notificationLayout"
RelativeLayout.XConstraint="{ConstraintExpression Type=Constant, Constant=0}"
RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToView,ElementName=quickMessageLayout, Property=Y,Constant=20}"
RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent, Factor=1.0, Property=Width}"
RelativeLayout.HeightConstraint="{ConstraintExpression Type=Constant, Constant= 50,Factor=1.0, Property=Height}"
CornerRadius="9">
<Label x:Name="notificationLabel" Text="DFdfdfdfdfdf" HorizontalOptions="Center" VerticalOptions="Center" TextColor="Black" Font="18"></Label>
</Frame>
<StackLayout
x:Name="chatLayout" RelativeLayout.XConstraint="{ConstraintExpression Type=Constant, Constant=0 }"
RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToView,ElementName=notificationLayout, Constant=50,Property=Y}"
RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent, Factor=1.0, Property=Width}"
Orientation="Horizontal"
Padding="5,0,5,0">
<ListView x:Name="listView"
/>
</StackLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment