--- /dev/null
+<?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="@color/application_button_stop"
+ android:startColor="@color/application_button_start"
+ />
+
+ <corners
+ android:radius="4dp" />
+
+ <stroke
+ android:width="1dp"
+ android:color="@color/dark"
+ />
+ </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="#80ffffff"
+ android:useLevel="false"
+ />
+
+ <corners
+ android:radius="4dp"/>
+ </shape>
+ </item>
+
+</layer-list>
\ No newline at end of file
--- /dev/null
+<?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="@color/header_gradient_stop"
+ android:startColor="@color/header_gradient_start"
+ />
+
+ <corners
+ android:radius="4dp" />
+
+ <stroke
+ android:width="1dp"
+ android:color="@color/dark"
+ />
+ </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="#80ffffff"
+ android:useLevel="false"
+ />
+
+ <corners
+ android:radius="4dp"/>
+ </shape>
+ </item>
+
+</layer-list>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle">
+ <gradient android:angle="270" android:startColor="#30ffffff"
+ android:endColor="#30ffffff" />
+
+ <corners android:radius="8dp" />
+</shape>
\ No newline at end of file
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
- android:orientation="vertical" >
+ android:orientation="vertical"
+ android:background="@color/background"
+ >
<include android:id="@+id/header_actionbar" layout="@layout/simple_actionbar"/>
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/create"
+ style="@style/ApplicationButton"
/>
</LinearLayout>
android:paddingBottom="3dip"
android:paddingTop="3dip"
android:paddingLeft="3dip"
- android:orientation="horizontal" >
+ android:orientation="horizontal"
+ android:background="@color/background"
+ >
<TextView
android:id="@+id/bookbag_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/details"
- android:layout_gravity="right"
+ android:layout_gravity="right"
+ android:layout_marginRight="5dip"
+ style="@style/ApplicationButton"
+ android:paddingLeft="12dip"
+ android:paddingRight="12dip"
/>
</LinearLayout>
\ No newline at end of file
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
- android:orientation="vertical" >
+ android:orientation="vertical"
+ android:background="@drawable/background_grey_image"
+ >
<include android:id="@+id/header_actionbar" layout="@layout/simple_actionbar"/>
android:id="@+id/bookbag_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_marginLeft="5dip"
/>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/delete_button"
+ style="@style/ApplicationButton"
+ android:paddingLeft="15dip"
+ android:paddingRight="15dip"
+ android:layout_marginLeft="15dip"
/>
</LinearLayout>
-
-
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:gravity="center_vertical"
- android:paddingLeft="5dip"
- >
-
- <TextView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="@string/title"
- android:gravity="center"
- />
-
- <TextView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
- android:text="@string/author"
- />
-
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/bags_action"
- android:layout_gravity="right"
- android:gravity="center"
- />
-
- </LinearLayout>
<ListView
android:id="@+id/bookbagitem_list"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingTop="10dip"
+ android:background="@drawable/listview_background"
></ListView>
</LinearLayout>
\ No newline at end of file
android:paddingBottom="3dip"
android:paddingTop="3dip"
android:paddingLeft="3dip"
- android:orientation="horizontal" >
+ android:orientation="horizontal"
+ android:background="@android:color/transparent"
+ >
- <TextView
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:orientation="vertical"
+ >
+ <TextView
android:id="@+id/bookbagitem_title"
style="@style/TitleSearchStyleList"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:layout_weight="1"
android:paddingLeft="3dip"
/>
style="@style/AuthorSearchStyleList"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
android:paddingLeft="3dip"
/>
-
+
+ </LinearLayout>
+
<Button
android:id="@+id/bookbagitem_remove_button"
android:layout_width="wrap_content"
android:text="@string/bookbagitem_remove"
android:layout_gravity="right"
android:layout_weight="0"
+ style="@style/ApplicationButton"
+ android:layout_marginRight="5dip"
+
/>
</LinearLayout>
\ No newline at end of file
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
- android:padding="4dip"
+ android:background="@color/background"
>
<include android:id="@+id/header_actionbar" layout="@layout/simple_actionbar"/>
<ListView
android:id="@+id/checkout_items_list"
android:layout_width="fill_parent"
- android:layout_height="wrap_content"
+ android:layout_height="wrap_content"
>
</ListView>
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal"
- android:paddingBottom="3dip"
- android:paddingLeft="3dip"
- android:paddingTop="3dip" >
+ android:padding="3dip"
+ android:background="@color/background"
+ >
<LinearLayout
android:layout_width="fill_parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/renew_button"
- android:layout_gravity="center_vertical"
+ android:layout_gravity="center_vertical"
+ style="@style/ApplicationButton"
/>
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
- android:padding="4dip"
+ android:background="@drawable/background_grey_image"
>
<include android:id="@+id/header_actionbar" layout="@layout/simple_actionbar"/>
android:layout_marginBottom="5dip"
/>
- <LinearLayout
- android:id="@+id/record_details_copy_information"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- >
-
- </LinearLayout>
-
+ <ScrollView
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ >
+ <LinearLayout
+ android:id="@+id/record_details_copy_information"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:padding="5dip"
+ >
+
+ </LinearLayout>
+ </ScrollView>
</LinearLayout>
\ No newline at end of file
android:layout_alignParentRight="true"
android:layout_marginTop="5dip"
android:padding="10dip"
- android:text="@string/my_account_button_text" />
+ android:text="@string/my_account_button_text"
+ style="@style/HeaderButton"
+ />
</RelativeLayout>
<LinearLayout
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
- android:orientation="vertical" >
+ android:orientation="vertical"
+ android:background="@color/background"
+ >
<include android:id="@+id/header_actionbar" layout="@layout/simple_actionbar"/>
<TableLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
+ android:padding="5dip"
>
<TableRow
android:layout_width="fill_parent"
android:textSize="18sp"
android:paddingTop="10dip"
android:paddingBottom="5dip"
+ android:layout_marginLeft="10dip"
/>
<ListView
<?xml version="1.0" encoding="utf-8"?>
-<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
- android:layout_height="match_parent" >
+ android:layout_height="match_parent"
+ android:background="@color/background"
+ android:padding="5dip"
+ android:orientation="vertical"
+ >
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <TextView
+ android:id="@+id/fines_title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="1" />
+
+ <TextView
+ android:id="@+id/fines_balance_owed"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="right"
+ android:layout_weight="0"
+ android:textColor="@color/red"
+ android:textStyle="bold" />
+ </LinearLayout>
-
- <TableRow
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- >
-
- <TextView
- android:id="@+id/fines_title"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:layout_weight="10"
-
-
- />
-
- <TextView
- android:id="@+id/fines_balance_owed"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:textColor="@color/red"
- android:textStyle="bold"
- android:layout_weight="2"
- android:layout_gravity="right"
- />
-
- </TableRow>
-
- <TableRow
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- >
- <TextView
- android:id="@+id/fines_author"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:layout_weight="10"
- />
-
- <TextView
- android:id="@+id/fines_status"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:textStyle="bold"
- android:layout_weight="4"
- android:layout_gravity="right"
- />
- </TableRow>
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <TextView
+ android:id="@+id/fines_author"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="1" />
+
+ <TextView
+ android:id="@+id/fines_status"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="right"
+ android:layout_weight="0"
+ android:textStyle="bold" />
+ </LinearLayout>
-</TableLayout>
\ No newline at end of file
+</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
- android:layout_height="match_parent" >
+ android:layout_height="match_parent"
+ android:background="@drawable/background_grey_image"
+ >
<include android:id="@+id/header_actionbar" layout="@layout/simple_actionbar"/>
android:gravity="center_horizontal"
android:layout_alignParentBottom="true"
android:layout_centerInParent="true"
+ android:paddingBottom="3dip"
>
<Button
android:id="@+id/back_button"
android:layout_width="100dip"
android:layout_height="wrap_content"
android:text="@string/back"
+ style="@style/ApplicationButton"
+ android:layout_margin="5dip"
/>
<Button
android:layout_width="100dip"
android:layout_height="wrap_content"
android:text="@string/cancel_hold"
+ style="@style/ApplicationButton"
+ android:layout_margin="5dip"
/>
<Button
android:layout_width="100dip"
android:layout_height="wrap_content"
android:text="@string/update_hold"
+ style="@style/ApplicationButton"
+ android:layout_margin="5dip"
/>
</LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
- android:orientation="vertical" >
+ android:orientation="vertical"
+ android:background="@color/background"
+ >
<include android:id="@+id/header_actionbar" layout="@layout/simple_actionbar"/>
android:layout_height="match_parent"
android:orientation="horizontal"
android:paddingLeft="5dp"
+ android:background="@color/background"
>
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
- android:layout_height="match_parent" >
+ android:layout_height="match_parent"
+ android:background="@drawable/background_grey_image"
+ >
<include android:id="@+id/header_actionbar" layout="@layout/simple_actionbar"/>
android:gravity="center_horizontal"
android:layout_alignParentBottom="true"
android:layout_centerInParent="true"
+ android:layout_marginBottom="3dip"
>
<Button
android:id="@+id/cancel_hold"
android:layout_width="100dip"
android:layout_height="wrap_content"
android:text="@string/cancel"
+ style="@style/ApplicationButton"
+ android:layout_margin="5dip"
/>
<Button
android:layout_width="100dip"
android:layout_height="wrap_content"
android:text="@string/place_hold"
+ style="@style/ApplicationButton"
+ android:layout_margin="5dip"
/>
</LinearLayout>
android:layout_alignParentRight="true"
android:layout_marginTop="5dip"
android:padding="10dip"
- android:text="@string/my_account_button_text" />
+ android:text="@string/my_account_button_text"
+ style="@style/HeaderButton"
+ />
</RelativeLayout>
<LinearLayout
android:layout_alignParentRight="true"
android:layout_marginTop="5dip"
android:padding="10dip"
- android:text="@string/my_account_button_text" />
+ android:text="@string/my_account_button_text"
+ style="@style/HeaderButton"
+ />
</RelativeLayout>
<TextView
android:layout_gravity="center"
android:textColor="@color/dark"
android:padding="5dp"
- android:gravity="center"/>
+ android:gravity="center"
+ android:singleLine="true"
+ />
<color name="background">#333</color>
+ <color name="application_button_start">#444</color>
+ <color name="application_button_stop">#444</color>
+
<!-- using alpha on header -->
<color name="menu_background_start">#585858</color>
<color name="menu_background_stop">#c8c8c8</color>
<string name="suspend_hold">Suspend Hold</string>
<string name="place_hold">Place hold</string>
<string name="cancel">Cancel</string>
- <string name="cancel_hold">Cancel hold</string>
+ <string name="cancel_hold">Delete</string>
<string name="back">Back</string>
- <string name="update_hold">Update Hold</string>
+ <string name="update_hold">Update</string>
<string name="cancel_hold_dialog_message">Are you sure you want to cancel this hold?</string>
<string name="thaw_date">Automatically activate hold one</string>
<string name="hold_phone_hint">Contact phone number</string>
<string name="bookbagitem_remove">remove</string>
<string name="create_bookbag">New : </string>
<string name="create">create</string>
- <string name="bookbag_name">bookbag name</string>
+ <string name="bookbag_name">Bookbag name: </string>
<string name="add_button">add</string>
<item name="android:layout_marginTop">5dip</item>
</style>
+
+
+ <style name="HeaderButton">
+ <item name="android:textColor">@color/white</item>
+ <item name="android:background">@drawable/header_button</item>
+ <item name="android:layout_marginRight">5dip</item>
+ </style>
+
+ <style name="ApplicationButton">
+ <item name="android:textColor">@color/white</item>
+ <item name="android:background">@drawable/application_button</item>
+ <item name="android:padding">10dip</item>
+ </style>
+
<!-- Menu List Buttons -->
<style name="MenuListButton">
<item name="android:layout_margin">5dip</item>
selectedOrgPos = i;
}
ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,
- android.R.layout.simple_spinner_item, list);
+ R.layout.spinner_layout, list);
orgSelector.setAdapter(adapter);
orgSelector.setSelection(selectedOrgPos);