-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #554 from DHD2280/additions10
Misc Toast Improvements, Toast Style 12 addition
- Loading branch information
Showing
42 changed files
with
223 additions
and
828 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
app/src/main/assets/CompileOnDemand/android/TSTFRM12/res/drawable/toast_frame.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,34 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item> | ||
<layer-list> | ||
<item> | ||
<shape> | ||
<gradient | ||
android:angle="315.0" | ||
android:endColor="@*android:color/holo_blue_dark" | ||
android:startColor="@*android:color/holo_blue_light" /> | ||
<corners | ||
android:bottomLeftRadius="14dp" | ||
android:bottomRightRadius="24dp" | ||
android:topLeftRadius="24dp" | ||
android:topRightRadius="14dp" /> | ||
</shape> | ||
</item> | ||
<item | ||
android:bottom="4.0dp" | ||
android:end="4.0dp" | ||
android:start="4.0dp" | ||
android:top="4.0dp"> | ||
<shape> | ||
<solid android:color="@color/toast_color_bg" /> | ||
<corners | ||
android:bottomLeftRadius="10dp" | ||
android:bottomRightRadius="20dp" | ||
android:topLeftRadius="20dp" | ||
android:topRightRadius="10dp" /> | ||
</shape> | ||
</item> | ||
</layer-list> | ||
</item> | ||
</layer-list> |
34 changes: 34 additions & 0 deletions
34
app/src/main/assets/CompileOnDemand/android/TSTFRM12/res/drawable/toast_frame_material.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,34 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item> | ||
<layer-list> | ||
<item> | ||
<shape> | ||
<gradient | ||
android:angle="315.0" | ||
android:endColor="@*android:color/holo_blue_dark" | ||
android:startColor="@*android:color/holo_blue_light" /> | ||
<corners | ||
android:bottomLeftRadius="14dp" | ||
android:bottomRightRadius="24dp" | ||
android:topLeftRadius="24dp" | ||
android:topRightRadius="14dp" /> | ||
</shape> | ||
</item> | ||
<item | ||
android:bottom="4.0dp" | ||
android:end="4.0dp" | ||
android:start="4.0dp" | ||
android:top="4.0dp"> | ||
<shape> | ||
<solid android:color="@color/toast_color_bg" /> | ||
<corners | ||
android:bottomLeftRadius="10dp" | ||
android:bottomRightRadius="20dp" | ||
android:topLeftRadius="20dp" | ||
android:topRightRadius="10dp" /> | ||
</shape> | ||
</item> | ||
</layer-list> | ||
</item> | ||
</layer-list> |
6 changes: 6 additions & 0 deletions
6
app/src/main/assets/CompileOnDemand/android/TSTFRM12/res/values-night/colors.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,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
|
||
<color name="toast_color_bg">@android:color/system_neutral2_800</color> | ||
|
||
</resources> |
6 changes: 6 additions & 0 deletions
6
app/src/main/assets/CompileOnDemand/android/TSTFRM12/res/values/colors.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,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
|
||
<color name="toast_color_bg">@android:color/system_neutral1_50</color> | ||
|
||
</resources> |
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
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
34 changes: 34 additions & 0 deletions
34
app/src/main/res/drawable-night-v24/toast_frame_style_12.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,34 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item> | ||
<layer-list> | ||
<item> | ||
<shape> | ||
<gradient | ||
android:angle="315.0" | ||
android:endColor="@color/holo_blue_dark" | ||
android:startColor="@color/holo_blue_light" /> | ||
<corners | ||
android:bottomLeftRadius="14dp" | ||
android:bottomRightRadius="24dp" | ||
android:topLeftRadius="24dp" | ||
android:topRightRadius="14dp" /> | ||
</shape> | ||
</item> | ||
<item | ||
android:bottom="4.0dp" | ||
android:end="4.0dp" | ||
android:start="4.0dp" | ||
android:top="4.0dp"> | ||
<shape> | ||
<solid android:color="@android:color/system_neutral1_800" /> | ||
<corners | ||
android:bottomLeftRadius="10dp" | ||
android:bottomRightRadius="20dp" | ||
android:topLeftRadius="20dp" | ||
android:topRightRadius="10dp" /> | ||
</shape> | ||
</item> | ||
</layer-list> | ||
</item> | ||
</layer-list> |
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,34 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item> | ||
<layer-list> | ||
<item> | ||
<shape> | ||
<gradient | ||
android:angle="315.0" | ||
android:endColor="@color/holo_blue_dark" | ||
android:startColor="@color/holo_blue_light" /> | ||
<corners | ||
android:bottomLeftRadius="14dp" | ||
android:bottomRightRadius="24dp" | ||
android:topLeftRadius="24dp" | ||
android:topRightRadius="14dp" /> | ||
</shape> | ||
</item> | ||
<item | ||
android:bottom="4.0dp" | ||
android:end="4.0dp" | ||
android:start="4.0dp" | ||
android:top="4.0dp"> | ||
<shape> | ||
<solid android:color="@android:color/system_neutral1_50" /> | ||
<corners | ||
android:bottomLeftRadius="10dp" | ||
android:bottomRightRadius="20dp" | ||
android:topLeftRadius="20dp" | ||
android:topRightRadius="10dp" /> | ||
</shape> | ||
</item> | ||
</layer-list> | ||
</item> | ||
</layer-list> |
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
Oops, something went wrong.