mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Use AppCompat SearchView (#4371)
* Use AppCompat SearchView * GetNative elements for appcompat * Classes renamed * test modified
This commit is contained in:
committed by
GitHub
parent
4319ca5fc5
commit
1d20845b7c
@@ -5,11 +5,10 @@
|
||||
<NavigationButton text="Go Back" android.systemIcon="ic_menu_back" tap="onNavBtnTap"/>
|
||||
</ActionBar>
|
||||
</Page.actionBar>
|
||||
<StackLayout>
|
||||
<!--The background-color shouldn't be inherit but in Android it is-->
|
||||
<SearchBar id="bg-color" hint="bg-color" text="" textFieldHintColor="green" />
|
||||
<SearchBar class="color" hint="color" text="color" />
|
||||
<SearchBar hint="Hint Text" id="searchBar" textFieldHintColor="#FFFFFF" style="color:#FFFFFF;background-color: #795548;height:60" />
|
||||
<SearchBar hint="Hint Text" textFieldHintColor="#FFFFFF" textFieldBackgroundColor="red" style="background-color:green;" />
|
||||
</StackLayout>
|
||||
<GridLayout rows="auto auto auto auto *">
|
||||
<SearchBar row="0" id="bg-color" hint="bg-color" text="" textFieldHintColor="green" />
|
||||
<SearchBar row="1" class="color" hint="color" text="color" />
|
||||
<SearchBar row="2" hint="Hint Text" id="searchBar" textFieldHintColor="#FFFFFF" style="color:#FFFFFF;background-color: #795548;height:60" />
|
||||
<SearchBar row="3" hint="Hint Text" textFieldHintColor="#FFFFFF" textFieldBackgroundColor="red" style="background-color:green;" />
|
||||
</GridLayout>
|
||||
</Page>
|
||||
Reference in New Issue
Block a user