13 changed files with 214 additions and 35 deletions
@ -1,9 +1,19 @@ |
|||
using Android.Views; |
|||
using Avalonia.Input; |
|||
|
|||
namespace Avalonia.Android.Platform.Specific |
|||
{ |
|||
public interface IAndroidView |
|||
{ |
|||
View View { get; } |
|||
|
|||
|
|||
} |
|||
|
|||
public interface IAndroidSoftInput |
|||
{ |
|||
void ShowSoftInput(ISoftInputElement softInputElement); |
|||
|
|||
void HideSoftInput(); |
|||
} |
|||
} |
|||
|
|||
@ -0,0 +1,11 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Text; |
|||
|
|||
namespace Avalonia.Input |
|||
{ |
|||
public interface ISoftInputElement |
|||
{ |
|||
InputType InputType { get; } |
|||
} |
|||
} |
|||
@ -0,0 +1,32 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Text; |
|||
|
|||
namespace Avalonia.Input |
|||
{ |
|||
/// <summary>
|
|||
/// Input type enumeration
|
|||
/// </summary>
|
|||
public enum InputType |
|||
{ |
|||
/// <summary>
|
|||
/// Do not use input
|
|||
/// </summary>
|
|||
None, |
|||
|
|||
/// <summary>
|
|||
/// User full text input
|
|||
/// </summary>
|
|||
Text, |
|||
|
|||
/// <summary>
|
|||
/// Use numeric text input
|
|||
/// </summary>
|
|||
Numeric, |
|||
|
|||
/// <summary>
|
|||
/// Use phone input
|
|||
/// </summary>
|
|||
Phone |
|||
} |
|||
} |
|||
Loading…
Reference in new issue