parent
7403a285e3
commit
7182b2f233
@ -0,0 +1,17 @@
|
||||
<!--
|
||||
~ Copyright (c) 2023 to present Androidacy and contributors. Names, logos, icons, and the Androidacy name are all trademarks of Androidacy and may not be used without license. See LICENSE for more information.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:tint="?attr/colorControlNormal"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M12,5V2L8,6l4,4V7c3.31,0 6,2.69 6,6c0,2.97 -2.17,5.43 -5,5.91v2.02c3.95,-0.49 7,-3.85 7,-7.93C20,8.58 16.42,5 12,5z" />
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M6,13c0,-1.65 0.67,-3.15 1.76,-4.24L6.34,7.34C4.9,8.79 4,10.79 4,13c0,4.08 3.05,7.44 7,7.93v-2.02C8.17,18.43 6,15.97 6,13z" />
|
||||
</vector>
|
||||
@ -0,0 +1,7 @@
|
||||
<vector android:height="24dp" android:tint="?attr/colorControlNormal"
|
||||
android:viewportHeight="24" android:viewportWidth="24"
|
||||
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- search icon -->
|
||||
<path android:fillColor="@android:color/white"
|
||||
android:pathData="M20.71,19.29l-3.89,-3.89C17.54,14.21 18,13.16 18,12c0,-3.31 -2.69,-6 -6,-6s-6,2.69 -6,6s2.69,6 6,6c1.16,0 2.21,-0.46 2.99,-1.2l3.89,3.89c0.39,0.39 1.02,0.39 1.41,0l0,0c0.39,-0.39 0.39,-1.02 0,-1.41zM8,12c0,-2.21 1.79,-4 4,-4s4,1.79 4,4s-1.79,4 -4,4S8,14.21 8,12z"/>
|
||||
</vector>
|
||||
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2023 to present Androidacy and contributors. Names, logos, icons, and the Androidacy name are all trademarks of Androidacy and may not be used without license. See LICENSE for more information.
|
||||
-->
|
||||
|
||||
<!-- This is the background for the search bar in the main screen. it should look like a floating action button when the search bar is not focused, and like a text field when it is. -->
|
||||
<!-- Path: app\src\main\res\drawable\search_bar_background.xml -->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:alpha="0.12" android:color="?attr/colorOnSurface" android:state_activated="true" android:state_focused="true" android:state_hovered="true" android:state_pressed="true" android:state_selected="true" android:state_window_focused="true" />
|
||||
<item android:alpha="0.12" android:color="?attr/colorOnSurface" android:state_activated="true" android:state_focused="true" android:state_hovered="true" android:state_pressed="true" android:state_selected="true" />
|
||||
<item android:alpha="0.12" android:color="?attr/colorOnSurface" android:state_activated="true" android:state_focused="true" android:state_hovered="true" android:state_pressed="true" />
|
||||
<item android:alpha="0.12" android:color="?attr/colorOnSurface" android:state_activated="true" android:state_focused="true" android:state_hovered="true" />
|
||||
<item android:alpha="0.12" android:color="?attr/colorOnSurface" android:state_activated="true" android:state_focused="true" />
|
||||
<item android:alpha="0.12" android:color="?attr/colorOnSurface" android:state_activated="true" />
|
||||
<item android:alpha="0.12" android:color="?attr/colorOnSurface" />
|
||||
</selector>
|
||||
Loading…
Reference in New Issue