<item android:drawable="@color/owncloud_blue_bright" android:state_pressed="true"/>
<item android:drawable="@color/owncloud_blue_bright" android:state_focused="true"/>
- <item android:drawable="@color/owncloud_white" />
+ <item android:drawable="@color/background_color" />
</selector>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="@color/owncloud_white"
+ android:background="@color/background_color"
android:id="@+id/explanation"
android:orientation="vertical">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"\r
android:layout_width="fill_parent"\r
android:layout_height="fill_parent"\r
- android:background="@color/owncloud_white"\r
+ android:background="@color/background_color"\r
android:orientation="vertical"\r
android:id="@+id/failed_files_list_view">\r
\r
android:id="@+id/failed_upload_message_view"\r
android:layout_width="fill_parent"\r
android:layout_height="fill_parent"\r
- android:background="@color/owncloud_white"\r
+ android:background="@color/background_color"\r
android:orientation="vertical" >\r
\r
<TextView android:id="@+id/faild_upload_message" \r
android:id="@+id/top"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="@color/owncloud_white"
+ android:background="@color/background_color"
android:gravity="center"
tools:context=".ui.fragment.FilePreviewFragment" >
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"\r
android:layout_width="match_parent"\r
android:layout_height="match_parent"\r
- android:background="@color/owncloud_white"\r
+ android:background="@color/background_color"\r
android:orientation="horizontal"\r
android:baselineAligned="false"\r
>\r
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="@color/owncloud_white"
+ android:background="@color/background_color"
android:id="@+id/explanation"
android:orientation="vertical">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="@color/owncloud_white"
+ android:background="@color/background_color"
android:id="@+id/explanation"
android:orientation="vertical">
android:id="@+id/fdScrollView"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
- android:background="@color/owncloud_white"
+ android:background="@color/background_color"
android:gravity="center_horizontal"
-->
android:id="@+id/top"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
- android:background="@color/owncloud_white"
+ android:background="@color/background_color"
tools:context=".ui.fragment.PreviewImageFragment" >
<ProgressBar
android:id="@+id/upload_files_layout"\r
android:layout_width="fill_parent"\r
android:layout_height="fill_parent"\r
- android:background="@color/owncloud_white"\r
+ android:background="@color/background_color"\r
android:orientation="vertical" >\r
<fragment\r
<color name="filelist_icon_backgorund">#DDDDDD</color>
<color name="owncloud_blue_bright">#00ddff</color>
- <color name="owncloud_white">#F7F7F7</color>
</resources>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<resources>
+ <!-- Colors -->
+ <color name="background_color">#F7F7F7</color>
+
<string name="server_url"></string>
<bool name="show_server_url_input">true</bool>
<string name="auth_method_oauth2">off</string>
<string name="auth_method_saml_web_sso">off</string>
+
+
</resources>
loadmoreBtn = new Button(this);
loadmoreBtn.setId(42);
loadmoreBtn.setText(getString(R.string.failed_upload_load_more_images));
- loadmoreBtn.setBackgroundResource(R.color.owncloud_white);
+ loadmoreBtn.setBackgroundResource(R.color.background_color);
loadmoreBtn.setTextSize(12);
loadmoreBtn.setOnClickListener(new OnClickListener() {
@Override
TextView failureTextView = new TextView(this);
failureTextView.setText(getString(R.string.failed_upload_failure_text) + message);
- failureTextView.setBackgroundResource(R.color.owncloud_white);
+ failureTextView.setBackgroundResource(R.color.background_color);
failureTextView.setTextSize(8);
failureTextView.setOnLongClickListener(getOnLongClickListener(message));
failureTextView.setPadding(5, 5, 5, 10);
TextView retryButton = new TextView(this);
retryButton.setId(id);
retryButton.setText(img_path);
- retryButton.setBackgroundResource(R.color.owncloud_white);
+ retryButton.setBackgroundResource(R.color.background_color);
retryButton.setTextSize(8);
retryButton.setOnClickListener(getImageButtonOnClickListener(img_path));
retryButton.setOnLongClickListener(getOnLongClickListener(message));
private CheckBox getFileCheckbox(int id) {
CheckBox retryCB = new CheckBox(this);
retryCB.setId(id);
- retryCB.setBackgroundResource(R.color.owncloud_white);
+ retryCB.setBackgroundResource(R.color.background_color);
retryCB.setTextSize(8);
retryCB.setTag(retry_chexbox_tag);
return retryCB;