Skip to content

Commit 734aab6

Browse files
committed
Added licenses to new files.
1 parent dc24ba7 commit 734aab6

5 files changed

Lines changed: 66 additions & 0 deletions

File tree

app/src/main/res/drawable-v21/touch_selector_activated.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
Copyright (C) 2015 The Android Open Source Project
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
27
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
-->
316
<!-- The base state contains a selector for all states except for the activated state, and
417
leverages ripple -->
518
<ripple xmlns:android="http://schemas.android.com/apk/res/android"

app/src/main/res/drawable-v21/touch_selector_base.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
Copyright (C) 2015 The Android Open Source Project
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
27
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
-->
316
<!-- The base state contains a selector for all states except for the activated state, and
417
leverages ripple -->
518
<ripple xmlns:android="http://schemas.android.com/apk/res/android"

app/src/main/res/drawable-v21/touch_selector_white.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
Copyright (C) 2015 The Android Open Source Project
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
-->
216
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
317
android:color="?attr/colorControlHighlight">
418
<item android:id="@android:id/mask" android:drawable="@color/white"/>

app/src/main/res/drawable/touch_selector_activated.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
Copyright (C) 2015 The Android Open Source Project
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
27
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
-->
316
<!-- This selector works everywhere, but does not support ripple -->
417
<selector xmlns:android="http://schemas.android.com/apk/res/android">
518
<item android:state_activated="true" android:state_focused="false"

app/src/main/res/drawable/touch_selector_white.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
Copyright (C) 2015 The Android Open Source Project
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
27
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
-->
316
<!-- This selector works everywhere, but does not support ripple -->
417
<selector xmlns:android="http://schemas.android.com/apk/res/android">
518
<item android:state_activated="true" android:state_focused="false"

0 commit comments

Comments
 (0)