Skip to content

Commit

Permalink
Fix copyrights headers for issue #12
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudruffin committed Nov 29, 2021
1 parent f109a73 commit 076c057
Show file tree
Hide file tree
Showing 120 changed files with 1,200 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
*
* Copyright 2021 Orange
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
* /
*/

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {

Expand Down
10 changes: 10 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
#
# /*
# * Copyright 2021 Orange
# *
# * Use of this source code is governed by an MIT-style
# * license that can be found in the LICENSE file or at
# * https://opensource.org/licenses/MIT.
# */
#

# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
Expand Down
10 changes: 10 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
#
# /*
# * Copyright 2021 Orange
# *
# * Use of this source code is governed by an MIT-style
# * license that can be found in the LICENSE file or at
# * https://opensource.org/licenses/MIT.
# */
#

#Thu Jul 15 12:10:21 CEST 2021
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
Expand Down
10 changes: 10 additions & 0 deletions gradlew
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
#!/usr/bin/env sh

#
# /*
# * Copyright 2021 Orange
# *
# * Use of this source code is governed by an MIT-style
# * license that can be found in the LICENSE file or at
# * https://opensource.org/licenses/MIT.
# */
#

##############################################################################
##
## Gradle start up script for UN*X
Expand Down
10 changes: 10 additions & 0 deletions lib/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
*
* Copyright 2021 Orange
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
* /
*/

plugins {
id 'com.android.library'
id 'kotlin-android'
Expand Down
10 changes: 10 additions & 0 deletions lib/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ /*
~ * Copyright 2021 Orange
~ *
~ * Use of this source code is governed by an MIT-style
~ * license that can be found in the LICENSE file or at
~ * https://opensource.org/licenses/MIT.
~ */
-->

<manifest package="com.orange.ods" />

10 changes: 10 additions & 0 deletions lib/src/main/res/color/ods_btn_outlined_text_color_selector.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ /*
~ * Copyright 2021 Orange
~ *
~ * Use of this source code is governed by an MIT-style
~ * license that can be found in the LICENSE file or at
~ * https://opensource.org/licenses/MIT.
~ */
-->

<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:alpha="@dimen/material_emphasis_high_type" android:color="?attr/colorOnSurface" android:state_enabled="true"/>
<item android:alpha="@dimen/material_emphasis_disabled" android:color="?attr/colorOnSurface"/>
Expand Down
10 changes: 10 additions & 0 deletions lib/src/main/res/color/ods_btn_stroke_color_selector.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ /*
~ * Copyright 2021 Orange
~ *
~ * Use of this source code is governed by an MIT-style
~ * license that can be found in the LICENSE file or at
~ * https://opensource.org/licenses/MIT.
~ */
-->

<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="?attr/colorPrimary" android:state_checked="true" />
<item android:color="?attr/colorPrimary" android:state_focused="true" />
Expand Down
10 changes: 10 additions & 0 deletions lib/src/main/res/color/ods_navigation_bar_item_tint.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ /*
~ * Copyright 2021 Orange
~ *
~ * Use of this source code is governed by an MIT-style
~ * license that can be found in the LICENSE file or at
~ * https://opensource.org/licenses/MIT.
~ */
-->

<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:alpha="1.0" android:color="?attr/colorPrimary" android:state_checked="true"/>
<item android:alpha="1.0" android:color="?attr/colorOnSurface"/>
Expand Down
10 changes: 10 additions & 0 deletions lib/src/main/res/color/ods_slider_halo_color_selector.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ /*
~ * Copyright 2021 Orange
~ *
~ * Use of this source code is governed by an MIT-style
~ * license that can be found in the LICENSE file or at
~ * https://opensource.org/licenses/MIT.
~ */
-->

<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:alpha="0.12" android:color="?attr/odsSliderHaloBackground" android:state_enabled="true"/>
<item android:color="@android:color/transparent"/>
Expand Down
10 changes: 10 additions & 0 deletions lib/src/main/res/values-night/themes.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<!--
~ /*
~ * Copyright 2021 Orange
~ *
~ * Use of this source code is governed by an MIT-style
~ * license that can be found in the LICENSE file or at
~ * https://opensource.org/licenses/MIT.
~ */
-->

<resources xmlns:tools="http://schemas.android.com/tools">

<!-- Orange Design System theme for night mode. -->
Expand Down
10 changes: 10 additions & 0 deletions lib/src/main/res/values/ods_attrs.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<!--
~ /*
~ * Copyright 2021 Orange
~ *
~ * Use of this source code is governed by an MIT-style
~ * license that can be found in the LICENSE file or at
~ * https://opensource.org/licenses/MIT.
~ */
-->

<resources>

<!-- Custom attributes that must be defined on each themes -->
Expand Down
10 changes: 10 additions & 0 deletions lib/src/main/res/values/ods_bottom_app_bar_styles.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<!--
~ /*
~ * Copyright 2021 Orange
~ *
~ * Use of this source code is governed by an MIT-style
~ * license that can be found in the LICENSE file or at
~ * https://opensource.org/licenses/MIT.
~ */
-->

<resources>

<style name="Widget.Orange.BottomAppBar" parent="Widget.MaterialComponents.BottomAppBar" >
Expand Down
10 changes: 10 additions & 0 deletions lib/src/main/res/values/ods_bottom_navigation_styles.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<!--
~ /*
~ * Copyright 2021 Orange
~ *
~ * Use of this source code is governed by an MIT-style
~ * license that can be found in the LICENSE file or at
~ * https://opensource.org/licenses/MIT.
~ */
-->

<resources>

<style name="Widget.Orange.BottomNavigation" parent="Widget.MaterialComponents.BottomNavigationView" >
Expand Down
10 changes: 10 additions & 0 deletions lib/src/main/res/values/ods_button_styles.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<!--
~ /*
~ * Copyright 2021 Orange
~ *
~ * Use of this source code is governed by an MIT-style
~ * license that can be found in the LICENSE file or at
~ * https://opensource.org/licenses/MIT.
~ */
-->

<resources>

<style name="Widget.Orange.Button" parent="Widget.MaterialComponents.Button">
Expand Down
10 changes: 10 additions & 0 deletions lib/src/main/res/values/ods_colors.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>

<!--
~ /*
~ * Copyright 2021 Orange
~ *
~ * Use of this source code is governed by an MIT-style
~ * license that can be found in the LICENSE file or at
~ * https://opensource.org/licenses/MIT.
~ */
-->

<resources>
<color name="ods_color_core_orange_200">#f16e00</color>
<color name="ods_color_core_orange_100">#ff7900</color>
Expand Down
10 changes: 10 additions & 0 deletions lib/src/main/res/values/ods_dimens.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>

<!--
~ /*
~ * Copyright 2021 Orange
~ *
~ * Use of this source code is governed by an MIT-style
~ * license that can be found in the LICENSE file or at
~ * https://opensource.org/licenses/MIT.
~ */
-->

<resources>

<dimen name="ods_button_outlined_stroke_width">2dp</dimen>
Expand Down
10 changes: 10 additions & 0 deletions lib/src/main/res/values/ods_slider_styles.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<!--
~ /*
~ * Copyright 2021 Orange
~ *
~ * Use of this source code is governed by an MIT-style
~ * license that can be found in the LICENSE file or at
~ * https://opensource.org/licenses/MIT.
~ */
-->

<resources>

<style name="Widget.Orange.Slider" parent="Widget.MaterialComponents.Slider">
Expand Down
10 changes: 10 additions & 0 deletions lib/src/main/res/values/ods_snackbar_styles.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<!--
~ /*
~ * Copyright 2021 Orange
~ *
~ * Use of this source code is governed by an MIT-style
~ * license that can be found in the LICENSE file or at
~ * https://opensource.org/licenses/MIT.
~ */
-->

<resources>

<style name="Widget.Orange.Snackbar" parent="Widget.MaterialComponents.Snackbar">
Expand Down
10 changes: 10 additions & 0 deletions lib/src/main/res/values/ods_tab_styles.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<!--
~ /*
~ * Copyright 2021 Orange
~ *
~ * Use of this source code is governed by an MIT-style
~ * license that can be found in the LICENSE file or at
~ * https://opensource.org/licenses/MIT.
~ */
-->

<resources>

<style name="Widget.Orange.Tab" parent="Widget.MaterialComponents.TabLayout">
Expand Down
10 changes: 10 additions & 0 deletions lib/src/main/res/values/ods_text_styles.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>

<!--
~ /*
~ * Copyright 2021 Orange
~ *
~ * Use of this source code is governed by an MIT-style
~ * license that can be found in the LICENSE file or at
~ * https://opensource.org/licenses/MIT.
~ */
-->

<resources>

<style name="TextAppearance.Orange.Headline1" parent="TextAppearance.MaterialComponents.Headline1">
Expand Down
10 changes: 10 additions & 0 deletions lib/src/main/res/values/ods_toolbar_styles.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<!--
~ /*
~ * Copyright 2021 Orange
~ *
~ * Use of this source code is governed by an MIT-style
~ * license that can be found in the LICENSE file or at
~ * https://opensource.org/licenses/MIT.
~ */
-->

<resources>

<style name="Widget.Orange.Toolbar" parent="Widget.MaterialComponents.Toolbar.Surface">
Expand Down
10 changes: 10 additions & 0 deletions lib/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<!--
~ /*
~ * Copyright 2021 Orange
~ *
~ * Use of this source code is governed by an MIT-style
~ * license that can be found in the LICENSE file or at
~ * https://opensource.org/licenses/MIT.
~ */
-->

<resources xmlns:tools="http://schemas.android.com/tools">

<!-- Orange Design System theme. -->
Expand Down
10 changes: 10 additions & 0 deletions sample/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
*
* Copyright 2021 Orange
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
* /
*/

buildscript {
repositories {
google()
Expand Down
10 changes: 10 additions & 0 deletions sample/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ /*
~ * Copyright 2021 Orange
~ *
~ * Use of this source code is governed by an MIT-style
~ * license that can be found in the LICENSE file or at
~ * https://opensource.org/licenses/MIT.
~ */
-->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.orange.ods.sample">

Expand Down
10 changes: 10 additions & 0 deletions sample/src/main/java/com/orange/ods/sample/BaseFragment.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
*
* Copyright 2021 Orange
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
* /
*/

package com.orange.ods.sample

import android.os.Bundle
Expand Down
10 changes: 10 additions & 0 deletions sample/src/main/java/com/orange/ods/sample/MainActivity.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
*
* Copyright 2021 Orange
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
* /
*/

package com.orange.ods.sample

import android.os.Bundle
Expand Down
Loading

0 comments on commit 076c057

Please sign in to comment.