-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the ability to extract projects to their raw dimensions (the us…
…er also has the options of extracting to scaled dimensions as well). This closes issue #184 (fix #184). More changes are needed to be done in future commits to stabilize this feature and improve the user interface. 'Save as' has been transitioned into a single menu item titled 'Export'. When the user clicks 'Export', a dialog is shown from which the user can input values such as the file's title, the file's type, and the file's resolution (raw or scaled).
- Loading branch information
therealbluepandabear
committed
Aug 9, 2022
1 parent
bedd7ed
commit 9b8888a
Showing
12 changed files
with
350 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
app/src/main/java/com/therealbluepandabear/pixapencil/enums/BitmapResolution.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package com.therealbluepandabear.pixapencil.enums | ||
|
||
enum class BitmapResolution { | ||
Raw, | ||
Scaled | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<shape | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:shape="rectangle"> | ||
<solid | ||
android:color="@android:color/holo_blue_dark" /> | ||
<stroke | ||
android:width="1dp" | ||
android:color="@android:color/holo_blue_dark" /> | ||
</shape> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<inset xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:insetRight="-3dp"> | ||
<shape android:shape="rectangle"> | ||
<solid | ||
android:color="@android:color/transparent" /> | ||
<stroke | ||
android:width="3dp" | ||
android:color="@android:color/holo_blue_dark" /> | ||
</shape> | ||
</inset> |
10 changes: 10 additions & 0 deletions
10
app/src/main/res/drawable/radio_button_unselected_last.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<inset xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<shape android:shape="rectangle"> | ||
<solid | ||
android:color="@android:color/transparent" /> | ||
<stroke | ||
android:width="3dp" | ||
android:color="@android:color/holo_blue_dark" /> | ||
</shape> | ||
</inset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item | ||
android:drawable="@drawable/radio_button_selected" | ||
android:state_checked="true" /> | ||
<item android:drawable="@drawable/radio_button_unselected" /> | ||
</selector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item | ||
android:drawable="@drawable/radio_button_selected" | ||
android:state_checked="true" /> | ||
<item android:drawable="@drawable/radio_button_unselected_last" /> | ||
</selector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:color="@android:color/holo_blue_dark" android:state_checked="false" /> | ||
<item android:color="@color/white" android:state_checked="true" /> | ||
</selector> |
Oops, something went wrong.