<application\r
android:allowBackup="true"\r
android:icon="@drawable/evergreen_launcher_icon"\r
- android:label="@string/ou_app_name"\r
+ android:label="@string/ou_app_label"\r
android:theme="@style/EvergreenTheme" >\r
\r
<!-- Notification receiver -->\r
\r
<activity\r
android:name="org.evergreen.android.views.splashscreen.SplashActivity"\r
- android:label="@string/ou_app_label">\r
+ >\r
<!-- android:theme="@android:style/Theme.Light.NoTitleBar" -->\r
<intent-filter>\r
<action android:name="android.intent.action.MAIN" />\r
\r
<!-- Search -->\r
\r
- <activity\r
- android:name="org.evergreen.android.searchCatalog.SampleUnderlinesNoFade"\r
- android:label="Underlines/No Fade" >\r
+ <activity android:name="org.evergreen.android.searchCatalog.SampleUnderlinesNoFade">\r
</activity>\r
<activity android:name="org.evergreen.android.searchCatalog.MoreCopyInformation" >\r
</activity>\r
- <activity\r
- android:name="org.evergreen.android.searchCatalog.SearchCatalogListView"\r
- android:label="@string/ou_app_label" >\r
+ <activity android:name="org.evergreen.android.searchCatalog.SearchCatalogListView">\r
</activity>\r
<activity android:name="org.evergreen.android.searchCatalog.AdvancedSearchActivity" >\r
</activity>\r
<activity\r
android:name="org.evergreen.android.barcodescan.CaptureActivity"\r
- android:label="@string/ou_app_label"\r
android:screenOrientation="landscape"\r
android:theme="@android:style/Theme.NoTitleBar"\r
android:windowSoftInputMode="stateAlwaysHidden" >\r
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
- <!-- Bottom 2dp Shadow -->
- <item>
- <shape android:shape="rectangle">
- <gradient
- android:startColor="#000"
- android:centerColor="#42b8cd"
- android:endColor="#000"
- />
- </shape>
- </item>
-</layer-list>
\ No newline at end of file
android:layout_marginLeft="5dip"
android:drawableLeft="@drawable/evergreen_launcher_icon_48"
android:paddingLeft="5dip"
- android:text="@string/ou_action_bar_text"
+ android:text="@string/ou_app_label"
android:textColor="@color/white"
android:textSize="16sp"
/>
android:layout_alignParentLeft="true"
android:layout_marginLeft="5dip"
android:drawableLeft="@drawable/evergreen_launcher_icon_48"
- android:text="@string/ou_action_bar_text"
+ android:text="@string/ou_app_label"
android:textColor="@color/white"
android:textSize="16sp"
android:paddingLeft="5dip"
android:layout_centerHorizontal="true"
android:layout_marginTop="106dp"
android:src="@drawable/evergreen_logo_sm072"
- android:contentDescription="@string/ou_action_bar_text" />
+ android:contentDescription="@string/ou_app_label" />
<TextView
android:id="@+id/action_in_progress"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingTop="10dip"
- android:divider="@drawable/list_view_separator"
android:dividerHeight="1dp"
></ListView>
android:layout_height="wrap_content"
android:paddingTop="10dip"
android:background="@drawable/listview_background"
- android:divider="@drawable/list_view_separator"
android:dividerHeight="1dp"
></ListView>
android:layout_alignParentLeft="true"
android:layout_marginLeft="5dip"
android:drawableLeft="@drawable/evergreen_launcher_icon_48"
- android:text="@string/ou_action_bar_text"
+ android:text="@string/ou_app_label"
android:textColor="@color/white"
android:textSize="16sp"
android:paddingLeft="5dip"
>
<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
+
+ <TableLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:padding="5dip"
+ >
+ <TableRow
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ >
+
+ <TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- >
-
- <TextView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="@string/total_owned"
- />
- <TextView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="@string/total_paid"
- />
-
- <TextView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="@string/balance_owed"
- />
-
- </TableRow>
- <TableRow
+ android:layout_weight="1"
+ android:text="@string/total_owned"
+ />
+ <TextView
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:text="@string/total_paid"
+ />
+
+ <TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- >
- <TextView
- android:id="@+id/fines_total_owned"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- />
- <TextView
- android:id="@+id/fines_total_paid"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- />
- <TextView
- android:id="@+id/fined_balance_owed"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- />
- </TableRow>
+ android:layout_weight="1"
+ android:text="@string/balance_owed"
+ />
+
+ </TableRow>
+ <TableRow
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ >
+ <TextView
+ android:id="@+id/fines_total_owned"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ />
+ <TextView
+ android:id="@+id/fines_total_paid"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ />
+ <TextView
+ android:id="@+id/fined_balance_owed"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ />
+ </TableRow>
+
+ </TableLayout>
- </TableLayout>
-
- <TextView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="@string/overdue_materials"
- android:textSize="18sp"
- android:paddingTop="10dip"
- android:paddingBottom="5dip"
- android:layout_marginLeft="10dip"
- />
+ <TextView
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/overdue_materials"
+ android:textSize="18sp"
+ android:paddingTop="10dip"
+ android:paddingBottom="5dip"
+ android:layout_marginLeft="5dip"
+ />
<ListView
- android:id="@+id/fines_overdue_materials_list"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:divider="@drawable/list_view_separator"
- android:dividerHeight="1dp"
- ></ListView>
+ android:id="@+id/fines_overdue_materials_list"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:dividerHeight="1dp"
+ />
</LinearLayout>
\ No newline at end of file
android:layout_height="wrap_content"
android:layout_gravity="right"
android:layout_weight="0"
- android:textColor="@color/red"
android:textStyle="bold" />
</LinearLayout>
android:id="@+id/holds_item_list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
- android:divider="@drawable/list_view_separator"
- android:dividerHeight="1dp"
+ android:dividerHeight="1dp"
></ListView>
</LinearLayout>
\ No newline at end of file
android:layout_alignParentLeft="true"
android:layout_marginLeft="5dip"
android:drawableLeft="@drawable/evergreen_launcher_icon_48"
- android:text="@string/ou_action_bar_text"
+ android:text="@string/ou_app_label"
android:textColor="@color/white"
android:textSize="16sp"
android:paddingLeft="5dip"/>
android:id="@+id/search_results_list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
- android:divider="@drawable/list_view_separator"
android:dividerHeight="1dp"
android:layout_below="@id/search_text" >
</ListView>
android:layout_alignParentLeft="true"
android:layout_marginLeft="5dip"
android:drawableLeft="@drawable/evergreen_launcher_icon_48"
- android:text="@string/ou_action_bar_text"
+ android:text="@string/ou_app_label"
android:textColor="@color/white"
android:textSize="16sp"
android:paddingLeft="5dip"
<?xml version="1.0" encoding="utf-8"?>
-<!-- ou_cwmars.xml - C/W MARS organizational unit -->
<resources>
+ <string name="ou_account_label">Evergreen Library</string>
+ <string name="ou_account_sign_in_message">Sign in to your\nEvergreen Library Account</string>
<!-- Each evergreen-derived app should have its own ou_account_type. This will enable
a user to have multiple evergreen-derived apps working simultaneously. -->
<string name="ou_account_type">org.evergreen_ils</string>
- <!-- TODO: make URLs HTTPS -->
- <string name="ou_library_url">http://bark.cwmars.org</string>
- <string name="ou_app_name">C/W Mars Library</string>
- <string name="ou_app_label">C/W Mars Library</string>
- <string name="ou_app_welcome_label">Welcome</string>
- <string name="ou_account_label">C/W Mars Library</string>
- <string name="ou_account_sign_in_message">Sign in to your\nC/W Mars Library Account</string>
- <string name="ou_action_bar_text">C/W Mars</string>
+ <string name="ou_app_label">Evergreen Library</string>
+ <string name="ou_app_name">Evergreen Library</string>
+ <string name="ou_library_url">https://demo.evergreencatalog.com</string>
</resources>
<string name="preference_notifications_title">Notification settings</string>
<plurals name="number_of_copies">
- <item quantity="one">one copy</item>
+ <item quantity="one">1 copy</item>
<item quantity="other">%d copies</item>
</plurals>
<plurals name="number_of_holds">
- <item quantity="one">One hold</item>
+ <item quantity="one">1 hold</item>
<item quantity="other">%d holds</item>
</plurals>
<plurals name="number_of_items">
- <item quantity="one">one item</item>
+ <item quantity="one">1 item</item>
<item quantity="other">%d items</item>
</plurals>
// status.setText(record.getHoldStatus());
fineStatus.setText(record.getStatus());
- if (record.getStatus().equals("returned")) {
- fineStatus.setTextColor(Color.argb(255, 0, 255, 0));
- } else
- fineStatus.setTextColor(Color.argb(255, 255, 0, 0));
-
return row;
}
}
<application
android:allowBackup="true"
android:icon="@drawable/evergreen_launcher_icon"
- android:label="@string/ou_app_name"
+ android:label="@string/ou_app_label"
android:theme="@style/EvergreenTheme" >
<!-- Notification receiver -->
<service android:name="org.evergreen.android.services.ScheduledIntentService" >
</service>
- <activity
- android:name="org.evergreen.android.views.splashscreen.SplashActivity"
- android:label="@string/ou_app_label">
+ <activity android:name="org.evergreen.android.views.splashscreen.SplashActivity">
<!-- android:theme="@android:style/Theme.Light.NoTitleBar" -->
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</activity>
<activity android:name="org.evergreen.android.searchCatalog.MoreCopyInformation" >
</activity>
- <activity
- android:name="org.evergreen.android.searchCatalog.SearchCatalogListView"
- android:label="@string/ou_app_label" >
+ <activity android:name="org.evergreen.android.searchCatalog.SearchCatalogListView">
</activity>
<activity android:name="org.evergreen.android.searchCatalog.AdvancedSearchActivity" >
</activity>
<activity
android:name="org.evergreen.android.barcodescan.CaptureActivity"
- android:label="@string/ou_app_label"
android:screenOrientation="landscape"
android:theme="@android:style/Theme.NoTitleBar"
android:windowSoftInputMode="stateAlwaysHidden" >
<?xml version="1.0" encoding="utf-8"?>
<!-- ou_cwmars.xml - C/W MARS organizational unit -->
<resources>
- <!-- TODO: make URLs HTTPS -->
- <string name="ou_library_url">http://bark.cwmars.org</string>
- <string name="ou_app_name">C/W Mars Library</string>
- <string name="ou_app_label">C/W Mars</string>
- <string name="ou_app_welcome_label">Welcome</string>
<string name="ou_account_label">C/W Mars Library</string>
<string name="ou_account_sign_in_message">Sign in to your\nC/W Mars Library Account</string>
+ <string name="ou_account_type">org.cwmars</string>
+ <string name="ou_app_label">C/W Mars</string>
+ <string name="ou_app_name">C/W Mars Library Free</string>
+ <string name="ou_library_url">http://bark.cwmars.org</string> <!-- TODO: make HTTPS -->
</resources>
<application
android:allowBackup="true"
android:icon="@drawable/evergreen_launcher_icon"
- android:label="@string/ou_app_name"
+ android:label="@string/ou_app_label"
android:theme="@style/EvergreenTheme" >
<!-- Notification receiver -->
<service android:name="org.evergreen.android.services.ScheduledIntentService">
</service>
- <activity
- android:name="org.evergreen.android.views.splashscreen.SplashActivity"
- android:label="@string/ou_app_label">
+ <activity android:name="org.evergreen.android.views.splashscreen.SplashActivity">
<!-- android:theme="@android:style/Theme.Light.NoTitleBar" -->
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
</activity>
<activity android:name="org.evergreen.android.searchCatalog.MoreCopyInformation">
</activity>
- <activity
- android:name="org.evergreen.android.searchCatalog.SearchCatalogListView"
- android:label="@string/ou_app_label">
+ <activity android:name="org.evergreen.android.searchCatalog.SearchCatalogListView">
</activity>
<activity android:name="org.evergreen.android.searchCatalog.AdvancedSearchActivity">
</activity>
<activity
android:name="org.evergreen.android.barcodescan.CaptureActivity"
- android:label="@string/ou_app_label"
android:screenOrientation="landscape"
android:theme="@android:style/Theme.NoTitleBar"
android:windowSoftInputMode="stateAlwaysHidden">
<?xml version="1.0" encoding="utf-8"?>
<!-- ou.xml - organizational unit app customization -->
<resources>
- <string name="ou_account_type">com.evergreencatalog.demo</string>
- <string name="ou_library_url">http://demo.evergreencatalog.com</string>
- <string name="ou_app_name">Evergreen Demo Library</string>
- <string name="ou_app_label">Evergreen Demo</string>
- <string name="ou_app_welcome_label">Welcome</string>
<string name="ou_account_label">Evergreen Demo Library</string>
<string name="ou_account_sign_in_message">Sign in to your\nEvergreen Demo Library Account</string>
+ <string name="ou_account_type">com.evergreencatalog.demo</string>
+ <string name="ou_app_label">Evergreen Demo</string>
+ <string name="ou_app_name">Evergreen Demo Library</string>
+ <string name="ou_library_url">http://demo.evergreencatalog.com</string>
</resources>