android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:paddingTop="@dimen/bigActionButton_marginVertical"
android:background="@drawable/background_grey_image">
- <TextView
- android:layout_width="20px"
- android:layout_height="18dp"
- />
-
<Button
android:layout_width="match_parent"
android:layout_height="56dp"
<?xml version="1.0" encoding="utf-8"?>
<resources>
- <dimen name="bigActionButton_marginVertical">9dp</dimen>
+ <dimen name="bigActionButton_marginVertical">6dp</dimen>
</resources>
TextView copy_location = (TextView) copy_info_view
.findViewById(R.id.copy_information_copy_location);
- library.setText(gl.getOrganizationName(record.copyInformationList
- .get(i).org_id) + " ");
- call_number.setText(record.copyInformationList.get(i).call_number_sufix);
- copy_location.setText(record.copyInformationList.get(i).copy_location);
+ CopyInformation info = record.copyInformationList.get(i);
+ library.setText(gl.getOrganizationName(info.org_id));
+ call_number.setText(info.call_number_sufix);
+ copy_location.setText(info.copy_location);
// insert into main view
insertPoint.addView(copy_info_view, new ViewGroup.LayoutParams(
LinearLayout copy_statuses = (LinearLayout) copy_info_view
.findViewById(R.id.copy_information_statuses);
- CopyInformation info = record.copyInformationList.get(i);
-
Set<Entry<String, String>> set = info.statusInformation.entrySet();
Iterator<Entry<String, String>> it = set.iterator();
*/
package org.evergreen_ils.views.splashscreen;
+import android.os.Build;
import org.evergreen_ils.R;
import org.evergreen_ils.globals.GlobalConfigs;
import org.evergreen_ils.searchCatalog.SearchCatalogListView;
}
});
+ /* this didn't work, but the progress bar is weird on GB 2.2,
+ and it's lopsided in landscape mode on GB 2.3.7
+ int currentApiVersion = android.os.Build.VERSION.SDK_INT;
+ if (currentApiVersion < Build.VERSION_CODES.HONEYCOMB)
+ mProgressBar.setScrollBarStyle(android.R.attr.progressBarStyleHorizontal);
+ */
+
GlobalConfigs.httpAddress = getString(R.string.ou_library_url);
startTask();
}