Merge "Updating the wallpaperpicker thumb selection feedback" into ub-now-queens
|
Before Width: | Height: | Size: 168 B |
|
Before Width: | Height: | Size: 144 B |
|
Before Width: | Height: | Size: 165 B |
|
Before Width: | Height: | Size: 165 B |
|
Before Width: | Height: | Size: 142 B |
|
Before Width: | Height: | Size: 159 B |
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2014 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
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.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="48dp"
|
||||
android:viewportHeight="48"
|
||||
android:viewportWidth="48"
|
||||
android:width="48dp" >
|
||||
|
||||
<group>
|
||||
<path
|
||||
android:name="tick"
|
||||
android:fillColor="#FFFFFFFF"
|
||||
android:pathData="M18 32.34l-8.34-8.34-2.83 2.83 11.17 11.17 24-24-2.83-2.83z" />
|
||||
</group>
|
||||
|
||||
</vector>
|
||||
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2014 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
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.
|
||||
-->
|
||||
|
||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="#66FFFFFF" >
|
||||
|
||||
<item
|
||||
android:id="@android:id/mask"
|
||||
android:drawable="@android:color/white"/>
|
||||
<item
|
||||
android:bottom="23.25dp"
|
||||
android:left="29.25dp"
|
||||
android:right="29.25dp"
|
||||
android:top="23.25dp">
|
||||
<selector>
|
||||
<item
|
||||
android:drawable="@drawable/ic_tick"
|
||||
android:state_selected="true"/>
|
||||
<item
|
||||
android:drawable="@drawable/ic_tick"
|
||||
android:state_checked="true"/>
|
||||
</selector>
|
||||
</item>
|
||||
|
||||
</ripple>
|
||||
|
Before Width: | Height: | Size: 174 B |
|
Before Width: | Height: | Size: 147 B |
|
Before Width: | Height: | Size: 167 B |
|
Before Width: | Height: | Size: 189 B |
|
Before Width: | Height: | Size: 154 B |
|
Before Width: | Height: | Size: 175 B |
@@ -15,9 +15,33 @@
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_checked="true" android:drawable="@drawable/tile_picker_selected" />
|
||||
<item android:state_focused="true" android:drawable="@drawable/tile_picker_focused" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/tile_picker_pressed" />
|
||||
<item android:state_selected="true" android:drawable="@drawable/tile_picker_selected" />
|
||||
<item android:state_checked="true" >
|
||||
<shape>
|
||||
<stroke
|
||||
android:width="2dp"
|
||||
android:color="#FFFFFFFF" />
|
||||
<solid android:color="#33FFFFFF"/>
|
||||
</shape>
|
||||
</item>
|
||||
<item android:state_focused="true" >
|
||||
<shape>
|
||||
<stroke
|
||||
android:width="2dp"
|
||||
android:color="#FFFFFFFF" />
|
||||
</shape>
|
||||
</item>
|
||||
<item android:state_pressed="true">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="#33FFFFFF"/>
|
||||
</shape>
|
||||
</item>
|
||||
<item android:state_selected="true" >
|
||||
<shape>
|
||||
<stroke
|
||||
android:width="2dp"
|
||||
android:color="#FFFFFFFF" />
|
||||
<solid android:color="#33FFFFFF"/>
|
||||
</shape>
|
||||
</item>
|
||||
<item android:drawable="@android:color/transparent" />
|
||||
</selector>
|
||||
|
||||