my account dashboard icons + background changed
authordrizea <danielrizea27@gmail.com>
Mon, 13 Aug 2012 16:54:56 +0000 (19:54 +0300)
committerdrizea <danielrizea27@gmail.com>
Mon, 13 Aug 2012 16:54:56 +0000 (19:54 +0300)
Open-ILS/src/Android/res/drawable-hdpi/book_bag.png
Open-ILS/src/Android/res/drawable-hdpi/check_out.png
Open-ILS/src/Android/res/drawable-hdpi/fines.png
Open-ILS/src/Android/res/drawable-hdpi/holds.png
Open-ILS/src/Android/res/drawable/menu_background_button.xml [new file with mode: 0644]
Open-ILS/src/Android/res/layout/dashbord_account.xml
Open-ILS/src/Android/res/values/styles.xml

index a6abc30..42eb783 100644 (file)
Binary files a/Open-ILS/src/Android/res/drawable-hdpi/book_bag.png and b/Open-ILS/src/Android/res/drawable-hdpi/book_bag.png differ
index 95cd2b8..fe2dbb0 100644 (file)
Binary files a/Open-ILS/src/Android/res/drawable-hdpi/check_out.png and b/Open-ILS/src/Android/res/drawable-hdpi/check_out.png differ
index 369aac8..34ba62e 100644 (file)
Binary files a/Open-ILS/src/Android/res/drawable-hdpi/fines.png and b/Open-ILS/src/Android/res/drawable-hdpi/fines.png differ
index 8968581..56a0dbb 100644 (file)
Binary files a/Open-ILS/src/Android/res/drawable-hdpi/holds.png and b/Open-ILS/src/Android/res/drawable-hdpi/holds.png differ
diff --git a/Open-ILS/src/Android/res/drawable/menu_background_button.xml b/Open-ILS/src/Android/res/drawable/menu_background_button.xml
new file mode 100644 (file)
index 0000000..633acdc
--- /dev/null
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<layer-list>
+    <item>
+        <shape
+            xmlns:android="http://schemas.android.com/apk/res/android"
+            android:shape="rectangle" >
+            <gradient
+                android:angle="270"
+                android:endColor="#40ffffff"
+                android:startColor="#70ffffff" 
+                />
+
+            <corners
+                android:radius="8dp" />
+        </shape>
+    </item>
+    <item>
+        <shape
+            xmlns:android="http://schemas.android.com/apk/res/android"
+            android:shape="rectangle" >
+            <gradient
+                android:angle="270"
+                android:centerColor="#00ffffff"
+                android:endColor="#00ffffff"
+                android:startColor="#40ffffff" 
+                android:useLevel="false"
+                />
+
+            <corners
+                android:radius="8dp"/>
+        </shape>
+    </item>
+
+</layer-list>
\ No newline at end of file
index 05a1940..69634f6 100644 (file)
@@ -11,7 +11,9 @@
         android:orientation="horizontal"
         android:layout_width="fill_parent"
         android:layout_height="wrap_content"
-        android:layout_weight="1">
+        android:layout_weight="1"
+        android:gravity="center"
+        >
         <Button android:id="@+id/account_btn_check_out"
             style="@style/HomeButton"
             android:onClick="onClickFeature"
@@ -28,6 +30,7 @@
         android:orientation="horizontal"
         android:layout_width="fill_parent"
         android:layout_height="wrap_content"
+        android:gravity="center"
         android:layout_weight="1">
         <Button android:id="@+id/account_btn_fines"
             style="@style/HomeButton"
index 76ffad8..749e01b 100644 (file)
     
      <style name="HomeButton">
         <item name="android:layout_gravity">center_vertical</item>
-        <item name="android:layout_width">fill_parent</item>
-        <item name="android:layout_height">wrap_content</item>
-        <item name="android:layout_weight">1</item>
+        <item name="android:layout_width">130dip</item>
+        <item name="android:layout_height">130dip</item>
+        <item name="android:layout_margin">5dip</item>
         <item name="android:gravity">center_horizontal</item>
         <item name="android:textSize">@dimen/text_size_medium</item>
         <item name="android:textStyle">normal</item>
-        <item name="android:textColor">@color/foreground1</item>
-        <item name="android:background">@null</item>
+        <item name="android:textColor">@color/dark</item>
+        <item name="android:background">@drawable/menu_background_button</item>
     </style>