summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFup Duck <fupduck@sacknagel.com>2017-12-12 16:17:03 +0100
committerFup Duck <fupduck@sacknagel.com>2017-12-12 16:17:03 +0100
commit9a35f971f917ef4141923d50deb25fa0d2f9b7dd (patch)
treea6ea9e8e0c83056175b033b9d007372f8bd642b3
parent357c9a21dcf31c609488fdf7f6a874e22f181ddd (diff)
set background
-rw-r--r--app/src/main/res/layout/drawer_main.xml5
-rw-r--r--app/src/main/res/values/colors.xml1
-rw-r--r--app/src/main/res/values/dimens.xml2
3 files changed, 5 insertions, 3 deletions
diff --git a/app/src/main/res/layout/drawer_main.xml b/app/src/main/res/layout/drawer_main.xml
index 9327d03f..b2254d2a 100644
--- a/app/src/main/res/layout/drawer_main.xml
+++ b/app/src/main/res/layout/drawer_main.xml
@@ -3,17 +3,18 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
+ android:background="@color/colorBackground"
tools:context="se.leap.bitmaskclient.NavigationDrawerFragment">
<ImageView android:id="@+id/imageView"
- android:layout_width="wrap_content"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:background="@drawable/ic_colorsquare"
android:src="@drawable/mask" />
<ListView android:id="@+id/accountList"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="#cccc"
android:choiceMode="singleChoice"
android:divider="@android:color/transparent"
android:dividerHeight="0dp">
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index 1818312e..49415189 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -2,6 +2,7 @@
<resources>
<color name="colorPrimary">#b39ddb</color>
<color name="colorPrimaryDark">#ac97d2</color>
+ <color name="colorBackground">#fffafafa</color>
<color name="red200">#ef9a9a</color>
<color name="pink200">#f48fb1</color>
diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml
index c92860be..b9a3890f 100644
--- a/app/src/main/res/values/dimens.xml
+++ b/app/src/main/res/values/dimens.xml
@@ -22,5 +22,5 @@
<!-- Per the design guidelines, navigation drawers should be between 240dp and 320dp:
https://developer.android.com/design/patterns/navigation-drawer.html -->
- <dimen name="navigation_drawer_width">240dp</dimen>
+ <dimen name="navigation_drawer_width">300dp</dimen>
</resources> \ No newline at end of file