This repository has been archived by the owner on Dec 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CirclePage]Fix Actionbutton displaying issue on Multipage (#187)
- Loading branch information
Showing
4 changed files
with
78 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
test/WearableUIGallery/WearableUIGallery/TC/TCIndexPageActionButton.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<w:IndexPage | ||
x:Class="WearableUIGallery.TC.TCIndexPageActionButton" | ||
xmlns="http://xamarin.com/schemas/2014/forms" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | ||
xmlns:local="clr-namespace:WearableUIGallery" | ||
xmlns:w="clr-namespace:Tizen.Wearable.CircularUI.Forms;assembly=Tizen.Wearable.CircularUI.Forms"> | ||
<w:CirclePage> | ||
<StackLayout HorizontalOptions="Center" VerticalOptions="Center"> | ||
<Label Text="InsertText1" /> | ||
<w:PopupEntry /> | ||
</StackLayout> | ||
<w:CirclePage.ActionButton> | ||
<w:ActionButtonItem | ||
x:Name="Button1" | ||
Text="Button1"/> | ||
</w:CirclePage.ActionButton> | ||
</w:CirclePage> | ||
|
||
<w:CirclePage> | ||
<StackLayout HorizontalOptions="Center" VerticalOptions="Center"> | ||
<Label Text="InsertText2" /> | ||
<w:PopupEntry /> | ||
</StackLayout> | ||
|
||
<w:CirclePage.ActionButton> | ||
<w:ActionButtonItem | ||
x:Name="Button2" | ||
Text="Button2"/> | ||
</w:CirclePage.ActionButton> | ||
</w:CirclePage> | ||
|
||
<w:CirclePage> | ||
<StackLayout HorizontalOptions="Center" VerticalOptions="Center"> | ||
<Label Text="InsertText3" /> | ||
<w:PopupEntry /> | ||
</StackLayout> | ||
<w:CirclePage.ActionButton> | ||
<w:ActionButtonItem | ||
x:Name="Button3" | ||
Text="Button3"/> | ||
</w:CirclePage.ActionButton> | ||
</w:CirclePage> | ||
</w:IndexPage> |
30 changes: 30 additions & 0 deletions
30
test/WearableUIGallery/WearableUIGallery/TC/TCIndexPageActionButton.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* | ||
* Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved | ||
* | ||
* Licensed under the Flora License, Version 1.1 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://floralicense.org/license/ | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
using Tizen.Wearable.CircularUI.Forms; | ||
using Xamarin.Forms.Xaml; | ||
|
||
namespace WearableUIGallery.TC | ||
{ | ||
[XamlCompilation(XamlCompilationOptions.Compile)] | ||
public partial class TCIndexPageActionButton : IndexPage | ||
{ | ||
public TCIndexPageActionButton() | ||
{ | ||
InitializeComponent(); | ||
} | ||
} | ||
} |