changed search details ui view must add header menu functionalities
authordrizea <danielrizea27@gmail.com>
Mon, 23 Jul 2012 21:51:45 +0000 (00:51 +0300)
committerdrizea <danielrizea27@gmail.com>
Mon, 23 Jul 2012 21:51:45 +0000 (00:51 +0300)
Open-ILS/src/Android/res/drawable/rounded_buttom_corners.xml [deleted file]
Open-ILS/src/Android/res/layout/record_details_basic_fragment.xml
Open-ILS/src/Android/res/layout/simple_underlines.xml

diff --git a/Open-ILS/src/Android/res/drawable/rounded_buttom_corners.xml b/Open-ILS/src/Android/res/drawable/rounded_buttom_corners.xml
deleted file mode 100644 (file)
index dc34817..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?> 
-<shape xmlns:android="http://schemas.android.com/apk/res/android" 
-     android:shape="rectangle"> 
-    <gradient android:startColor="#eee" android:endColor="#aaa" 
-            android:angle="270"/> 
-
-    <corners android:bottomRightRadius="8dip" android:bottomLeftRadius="8dip" /> 
-</shape> 
\ No newline at end of file
index 61bb72d..15b47b1 100644 (file)
@@ -8,7 +8,9 @@
     <LinearLayout
         android:layout_width="fill_parent"
         android:layout_height="30dip"
-        android:background="@color/blue" >
+        android:background="@color/blue"
+        android:layout_marginTop="10dip"
+         >
 
         <TextView
             android:id="@+id/record_header_text"
index b53a392..e73e186 100644 (file)
     xmlns:android="http://schemas.android.com/apk/res/android"
     android:orientation="vertical"
     android:layout_width="fill_parent"
-    android:layout_height="fill_parent">
+    android:layout_height="fill_parent"
+    android:background="@color/white"
+    >
 
+    <RelativeLayout
+        android:id="@+id/header"
+        android:layout_width="fill_parent"
+        android:layout_height="wrap_content"
+        android:orientation="horizontal"
+        android:background="@drawable/header_rounded_corners"
+        android:paddingTop="3dip"
+        >
+        
+        <Button 
+            android:id="@+id/library_logo"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:text="@string/library_text_logo"
+            style="@style/LibraryLogoText"
+            android:layout_alignParentLeft="true"
+            android:padding="10dip"
+            />
+
+        <Button
+            android:id="@+id/my_acount_button"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:text="@string/my_account_button_text"
+            android:layout_alignParentRight="true"
+            android:padding="10dip"
+            />
+
+    </RelativeLayout>
+    
+    
+    
     <android.support.v4.view.ViewPager
         android:id="@+id/pager"
         android:layout_width="fill_parent"
         android:layout_height="0dp"
         android:layout_weight="1"
+        android:layout_marginTop="5dip"
+        android:layout_marginLeft="4dip"
+        android:layout_marginRight="4dip"
+        android:background="@drawable/details_rounded_corners"
         />
     <org.evergreen.android.utils.ui.UnderlinePageIndicator
         android:id="@+id/indicator"