Search and Checked Out activities now show item format in the standard way:
authorkenstir <kenstir@gmail.com>
Mon, 19 Oct 2015 03:25:36 +0000 (23:25 -0400)
committerkenstir <kenstir@gmail.com>
Mon, 19 Oct 2015 03:25:36 +0000 (23:25 -0400)
Title
Author
Format
...

Open-ILS/src/Android/core/res/layout/checkout_list_item.xml
Open-ILS/src/Android/core/res/layout/search_result_item.xml
Open-ILS/src/Android/core/res/values/styles.xml

index 003539a..a7cf4ef 100644 (file)
@@ -10,8 +10,8 @@
     <LinearLayout
         android:layout_width="fill_parent"
         android:layout_height="wrap_content"
-        android:orientation="vertical"
         android:layout_weight="1"
+        android:orientation="vertical"
         >
 
         <TextView
@@ -29,7 +29,8 @@
 
         <TextView
                 android:id="@+id/checkout_record_format"
-                style="@style/AuthorSearchStyleList"
+                style="@style/PubSearchStyleList"
+                android:gravity="left"
                 android:layout_width="fill_parent"
                 android:layout_height="wrap_content"/>
 
             <TextView
                     android:id="@+id/checkout_record_due_date"
                     style="@style/PubSearchStyleList"
-                    android:layout_width="wrap_content"
                     android:gravity="left"
-                    android:layout_height="wrap_content" android:text="due Oct 31, 2015" android:layout_weight="1"/>
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:layout_weight="1"
+                    android:text="due Oct 31, 2015" />
 
             <TextView
                     android:id="@+id/checkout_record_overdue"
                     style="@style/overdue"
-                    android:layout_width="wrap_content"
                     android:gravity="right"
-                    android:layout_height="wrap_content" android:text="overdue"/>
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:text="overdue"/>
         </LinearLayout>
 
     </LinearLayout>
@@ -59,8 +63,8 @@
             android:id="@+id/renew_button"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
-            android:text="@string/renew_button"
             android:layout_gravity="center_vertical"
+            android:text="@string/renew_button"
             style="@style/ApplicationButton"
             />
 
index 93f8399..d4b1eab 100644 (file)
        android:paddingLeft="4dip"
        >
                <TextView
-               android:id="@+id/search_record_title"
-               style="@style/TitleSearchStyleList"
-               android:layout_width="wrap_content"
-               android:layout_height="wrap_content"
+                               android:id="@+id/search_record_title"
+                               style="@style/TitleSearchStyleList"
+                               android:layout_width="wrap_content"
+                               android:layout_height="wrap_content"
                 />
 
                <TextView
-                               android:id="@+id/search_record_format"
+                               android:id="@+id/search_record_author"
                                style="@style/AuthorSearchStyleList"
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                />
 
                <TextView
-                               android:id="@+id/search_record_author"
-                               style="@style/AuthorSearchStyleList"
+                               android:id="@+id/search_record_format"
+                               style="@style/PubSearchStyleList"
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                />
 
                <TextView
-               android:id="@+id/search_record_publishing"
-               style="@style/PubSearchStyleList"
-               android:layout_width="wrap_content"
-               android:layout_height="wrap_content" />
+                               android:id="@+id/search_record_publishing"
+                               style="@style/PubSearchStyleList"
+                               android:gravity="left"
+                               android:layout_width="wrap_content"
+                               android:layout_height="wrap_content" />
 
        </LinearLayout>
 </LinearLayout>
\ No newline at end of file
index 565bc4a..26a12c2 100644 (file)
@@ -57,7 +57,6 @@
 
     <style name="PubSearchStyleList">
         <item name="android:textSize">12sp</item>
-        <item name="android:gravity">right</item>
         <item name="android:singleLine">true</item>
         <item name="android:ellipsize">end</item>
     </style>