Skip to content

Commit

Permalink
Proper dialog background
Browse files Browse the repository at this point in the history
  • Loading branch information
davidvavra committed Mar 6, 2015
1 parent 3626b50 commit 88a06cd
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
Binary file removed library/src/main/res/drawable-mdpi/sdl_background.9.png
Binary file not shown.
Binary file not shown.
11 changes: 11 additions & 0 deletions library/src/main/res/drawable/sdl_background.xml
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:insetBottom="16dp"
android:insetLeft="16dp"
android:insetRight="16dp"
android:insetTop="16dp">
<shape android:shape="rectangle">
<corners android:radius="2dp" />
<solid android:color="@color/sdl_background_light" />
</shape>
</inset>
11 changes: 11 additions & 0 deletions library/src/main/res/drawable/sdl_background_dark.xml
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:insetBottom="16dp"
android:insetLeft="16dp"
android:insetRight="16dp"
android:insetTop="16dp">
<shape android:shape="rectangle">
<corners android:radius="2dp" />
<solid android:color="@color/sdl_background_dark" />
</shape>
</inset>
File renamed without changes.
2 changes: 2 additions & 0 deletions library/src/main/res/values/sdl_colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@
<color name="sdl_pressed_light">#29000000</color>
<!-- 16 % white -->
<color name="sdl_pressed_dark">#29FFFFFF</color>
<color name="sdl_background_light">#ffeeeeee</color>
<color name="sdl_background_dark">#ff424242</color>
</resources>

0 comments on commit 88a06cd

Please sign in to comment.