Skip to content

Instantly share code, notes, and snippets.

@weitzhandler
Created May 1, 2017 22:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save weitzhandler/3f74bf105b7cfa935c4ca7f7b3ba5db7 to your computer and use it in GitHub Desktop.
Save weitzhandler/3f74bf105b7cfa935c4ca7f7b3ba5db7 to your computer and use it in GitHub Desktop.
<RelativeLayout HeightRequest="60">
<ListView Rotation="270" ItemsSource="{Binding RespondersList}" RowHeight="60" SeparatorVisibility="None"
RelativeLayout.XConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=0.5, Constant=-30}"
RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=-0.5, Constant=30}"
RelativeLayout.WidthConstraint="{ConstraintExpression Type=Constant, Constant=60}"
RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=1}">
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<ContentView Rotation="90" Padding="1" TranslationX="60">
<StackLayout Margin="2">
<StackLayout Orientation="Horizontal">
<Label Text="{Binding Responder.FullName}"/>
<Label Text="{Binding Responder.UnitId, StringFormat={}({0})}}"/>
</StackLayout>
<xlabs:CheckBox HorizontalOptions="Center"/>
</StackLayout>
</ContentView>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment