diff --git a/.idea/copyright/dingyi_apache_2_0.xml b/.idea/copyright/dingyi_apache_2_0.xml new file mode 100644 index 0000000..09ca1f3 --- /dev/null +++ b/.idea/copyright/dingyi_apache_2_0.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/copyright/profiles_settings.xml b/.idea/copyright/profiles_settings.xml new file mode 100644 index 0000000..7ba8b9e --- /dev/null +++ b/.idea/copyright/profiles_settings.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/app/src/main/kotlin/com/dingyi/treeview/FileActivity.kt b/app/src/main/kotlin/com/dingyi/treeview/FileActivity.kt index 301b9e5..1d67a81 100644 --- a/app/src/main/kotlin/com/dingyi/treeview/FileActivity.kt +++ b/app/src/main/kotlin/com/dingyi/treeview/FileActivity.kt @@ -1,3 +1,22 @@ +/* + * TreeView - An TreeView implement in Android with RecyclerView written in kotlin. + * https://github.com/dingyi222666/TreeView + * + * Copyright (C) 2023-2024. dingyi222666@foxmail.com + * + * 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. + */ + package com.dingyi.treeview import android.content.Intent diff --git a/app/src/main/kotlin/com/dingyi/treeview/MainActivity.kt b/app/src/main/kotlin/com/dingyi/treeview/MainActivity.kt index 2ddd4d4..93a85a8 100644 --- a/app/src/main/kotlin/com/dingyi/treeview/MainActivity.kt +++ b/app/src/main/kotlin/com/dingyi/treeview/MainActivity.kt @@ -1,3 +1,22 @@ +/* + * TreeView - An TreeView implement in Android with RecyclerView written in kotlin. + * https://github.com/dingyi222666/TreeView + * + * Copyright (C) 2023-2024. dingyi222666@foxmail.com + * + * 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. + */ + package com.dingyi.treeview import android.content.Intent diff --git a/app/src/main/kotlin/com/dingyi/treeview/MainApplication.kt b/app/src/main/kotlin/com/dingyi/treeview/MainApplication.kt index 1178811..bd9e245 100644 --- a/app/src/main/kotlin/com/dingyi/treeview/MainApplication.kt +++ b/app/src/main/kotlin/com/dingyi/treeview/MainApplication.kt @@ -1,3 +1,22 @@ +/* + * TreeView - An TreeView implement in Android with RecyclerView written in kotlin. + * https://github.com/dingyi222666/TreeView + * + * Copyright (C) 2023-2024. dingyi222666@foxmail.com + * + * 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. + */ + package com.dingyi.treeview import android.app.Application diff --git a/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/app/src/main/res/drawable-v24/ic_launcher_foreground.xml index 2b068d1..a3b7f94 100644 --- a/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +++ b/app/src/main/res/drawable-v24/ic_launcher_foreground.xml @@ -1,3 +1,22 @@ + + + diff --git a/app/src/main/res/drawable/baseline_insert_drive_file_24.xml b/app/src/main/res/drawable/baseline_insert_drive_file_24.xml index 5927a7c..31e730b 100644 --- a/app/src/main/res/drawable/baseline_insert_drive_file_24.xml +++ b/app/src/main/res/drawable/baseline_insert_drive_file_24.xml @@ -1,3 +1,22 @@ + + diff --git a/app/src/main/res/drawable/baseline_keyboard_arrow_right_24.xml b/app/src/main/res/drawable/baseline_keyboard_arrow_right_24.xml index ec3e595..63b6fba 100644 --- a/app/src/main/res/drawable/baseline_keyboard_arrow_right_24.xml +++ b/app/src/main/res/drawable/baseline_keyboard_arrow_right_24.xml @@ -1,3 +1,22 @@ + + diff --git a/app/src/main/res/drawable/ic_launcher_background.xml b/app/src/main/res/drawable/ic_launcher_background.xml index 07d5da9..dae6810 100644 --- a/app/src/main/res/drawable/ic_launcher_background.xml +++ b/app/src/main/res/drawable/ic_launcher_background.xml @@ -1,4 +1,23 @@ + + + + + + + + + + + + diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml index 6f3b755..39ecfa1 100644 --- a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -1,4 +1,23 @@ + + diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml index 6f3b755..39ecfa1 100644 --- a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -1,4 +1,23 @@ + + diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index f8c6127..c9d5525 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -1,4 +1,23 @@ + + #FFBB86FC #FF6200EE diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 8a89a82..6a9116f 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,3 +1,22 @@ + + TreeView \ No newline at end of file diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index 45b04c2..5242571 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -1,3 +1,22 @@ + +