Skip to content

Commit

Permalink
update demo app style
Browse files Browse the repository at this point in the history
  • Loading branch information
IeuanWalker committed Apr 11, 2023
1 parent e07d3e1 commit bfedb16
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Demo/Resources/Styles/Styles.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
<Setter Property="HeightRequest" Value="5" />
</Style>
<Style x:Key="sectionHeading" TargetType="Label">
<Setter Property="FontSize" Value="Header" />
<Setter Property="Padding" Value="5" />
<Setter Property="HorizontalOptions" Value="CenterAndExpand" />
<Setter Property="TextColor" Value="{DynamicResource TextPrimaryColour}" />
</Style>
<Style x:Key="sectionSubHeading" TargetType="Label">
<Setter Property="FontSize" Value="Caption" />
<Setter Property="Padding" Value="5" />
<Setter Property="HorizontalOptions" Value="CenterAndExpand" />
<Setter Property="TextColor" Value="{DynamicResource TextPrimaryColour}" />
Expand Down
2 changes: 2 additions & 0 deletions Scr/Platform/CustomContentViewGroup.Android.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ public CustomContentViewGroup(Context context, IBorderView virtualView) : base(c
_stateButton = (StateButton)virtualView;

Clickable = true;

//! important this click is only for accessibility
Click += (sender, e) => _stateButton.InvokeClicked();

Touch += (sender, te) =>
Expand Down

0 comments on commit bfedb16

Please sign in to comment.