Skip to content

Commit

Permalink
added license, new icons
Browse files Browse the repository at this point in the history
  • Loading branch information
icefields committed Jan 30, 2024
1 parent d18dc4e commit e7a183d
Show file tree
Hide file tree
Showing 8 changed files with 1,170 additions and 1 deletion.
661 changes: 661 additions & 0 deletions LICENSE.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ app is currenly under heavy development, a more complete README coming soon
### A complete Android music client for [Ampache](https://ampache.org/)
Using the latest Material3 design guidelines <br>
![image](https://github.com/icefields/Power-Ampache-2/assets/149625124/01b13919-4f65-4939-8b96-504ccf157424)
![image](https://www.gnu.org/graphics/agplv3-88x31.png)

# Development
The app is developed using Clean Architecture on top of MVVM, following SOLID principles.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,25 @@ import org.acra.data.StringFormat
import org.acra.ktx.initAcra
import javax.inject.Inject

/**
*
* LICENSE: GNU Affero General Public License, version 3 (AGPL-3.0-or-later)
* Copyright Ampache.org, 2001-2023
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
@HiltAndroidApp
class PowerAmpache2Application : Application(), ImageLoaderFactory, Configuration.Provider {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,25 @@ import luci.sixsixsix.powerampache2.presentation.main.MainViewModel
import luci.sixsixsix.powerampache2.presentation.settings.SettingsViewModel
import luci.sixsixsix.powerampache2.ui.theme.PowerAmpache2Theme

/**
*
* LICENSE: GNU Affero General Public License, version 3 (AGPL-3.0-or-later)
* Copyright Ampache.org, 2001-2023
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
@AndroidEntryPoint
@OptIn(UnstableApi::class)
class MainActivity : ComponentActivity() {
Expand Down
228 changes: 228 additions & 0 deletions app/src/main/res/drawable-night/ic_launcher_coloured.xml

Large diffs are not rendered by default.

222 changes: 222 additions & 0 deletions app/src/main/res/drawable/ic_launcher_coloured.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/src/main/res/mipmap-anydpi/ic_launcher.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<adaptive-icon xmlns:android="http:https://schemas.android.com/apk/res/android">
<background android:drawable="@color/launcherBgColour" />
<foreground>
<inset android:drawable="@drawable/ic_launcher_temp"
<inset android:drawable="@drawable/ic_launcher_coloured"
android:inset="15%"/>
</foreground>
<monochrome>
Expand Down
19 changes: 19 additions & 0 deletions app/src/main/res/values-night/colors.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="purple_200">#FFBB86FC</color>
<color name="purple_500">#FF6200EE</color>
<color name="purple_700">#FF3700B3</color>
<color name="teal_200">#FF03DAC5</color>
<color name="teal_700">#FF018786</color>
<color name="black">#FF000000</color>
<color name="white">#FFFFFFFF</color>

<color name="colorPrimary">#08FF04</color>
<color name="colorPrimaryDark">#3700B3</color>
<color name="colorAccent">#08FF04</color>
<color name="mediumDarkBackground">#303030</color>
<color name="darkBackground">#202020</color>
<color name="lightBackground">#404040</color>

<color name="launcherBgColour">#FFFADAFF</color>
</resources>

0 comments on commit e7a183d

Please sign in to comment.