+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ownCloud Android client application
-
- Copyright (C) 2012-2013 ownCloud Inc.
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License version 2,
- as published by the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
--->
-
-<selector xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:state_enabled="false"
- android:drawable="@drawable/dropdown_disabled" />
- <item android:state_pressed="true"
- android:drawable="@drawable/dropdown_pressed" />
- <item android:state_pressed="false" android:state_focused="true"
- android:drawable="@drawable/dropdown_focused" />
- <item android:drawable="@drawable/dropdown_default" />
-</selector>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ownCloud Android client application
-
- Copyright (C) 2012-2013 ownCloud Inc.
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License version 2,
- as published by the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
--->
-<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
- <!-- item>
- <rotate
- android:drawable="@drawable/freenet_spinner_48_outer"
- android:pivotX="50%"
- android:pivotY="50%"
- android:fromDegrees="0"
- android:toDegrees="1080" />
- </item-->
- <item>
- <rotate
- android:drawable="@drawable/spinner_48_inner"
- android:pivotX="50%"
- android:pivotY="50%"
- android:fromDegrees="0"
- android:toDegrees="720" />
- </item>
-</layer-list>
\r
</LinearLayout>\r
\r
- <com.owncloud.android.ui.CustomButton\r
+ <Button\r
android:id="@id/buttonOK"\r
android:layout_width="match_parent"\r
android:layout_height="wrap_content"\r
android:orientation="horizontal" >
<!-- 'OK' / 'CANCEL' BUTTONS CHANGE THEIR ORDER FROM ANDROID 4.0 ; THANKS, GOOGLE -->
- <com.owncloud.android.ui.CustomButton
+ <Button
android:id="@+id/cancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/common_cancel" />
- <com.owncloud.android.ui.CustomButton
+ <Button
android:id="@+id/ok"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"\r
android:text="@string/auth_unauthorized" />\r
\r
- <com.owncloud.android.ui.CustomButton\r
+ <Button\r
android:id="@+id/buttonOK"\r
android:layout_width="match_parent"\r
android:layout_height="wrap_content"\r
android:layout_margin="5dp"
android:weightSum="1.0" >
- <com.owncloud.android.ui.CustomButton
+ <Button
android:id="@+id/buttonNo"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/common_no"
android:layout_weight="0.5"/>
- <com.owncloud.android.ui.CustomButton
+ <Button
android:id="@+id/buttonYes"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/failed_upload_all_cb"\r
android:textSize="8sp" />\r
\r
- <com.owncloud.android.ui.CustomButton\r
+ <Button\r
android:id="@+id/failed_upload_retry_all_btn"\r
android:layout_width="wrap_content"\r
android:layout_height="wrap_content"\r
android:text="@string/failed_upload_headline_retryall_btn"\r
android:textSize="8sp" />\r
\r
- <com.owncloud.android.ui.CustomButton\r
+ <Button\r
android:id="@+id/failed_upload_delete_all_btn"\r
android:layout_width="wrap_content"\r
android:layout_height="wrap_content"\r
android:layout_height="wrap_content"\r
android:minWidth="100dp"/>\r
\r
- <com.owncloud.android.ui.CustomButton\r
+ <Button\r
android:id="@+id/failed_uploadactivity_close_button"\r
android:layout_width="fill_parent"\r
android:layout_height="wrap_content"\r
android:gravity="center"
android:orientation="horizontal" >
- <com.owncloud.android.ui.CustomButton
+ <Button
android:id="@+id/ok"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/common_ok" />
- <com.owncloud.android.ui.CustomButton
+ <Button
android:id="@+id/cancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_height="wrap_content"
android:gravity="bottom">
- <com.owncloud.android.ui.CustomButton
+ <Button
android:id="@+id/deleteLogHistoryButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/main_wrn_accsetup"
android:textAppearance="?android:attr/textAppearanceMedium" />
- <com.owncloud.android.ui.CustomButton
+ <Button
android:id="@+id/setup_account"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/PassCodeStyle" />\r
</LinearLayout>\r
\r
- <com.owncloud.android.ui.CustomButton android:layout_width="wrap_content"\r
+ <Button android:layout_width="wrap_content"\r
android:layout_height="wrap_content"\r
android:text="@string/common_cancel"\r
android:textColor="@android:color/black"\r
android:layout_height="wrap_content"
android:gravity="center" >
- <com.owncloud.android.ui.CustomButton
+ <Button
android:id="@+id/cancel"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/common_cancel" />
- <com.owncloud.android.ui.CustomButton
+ <Button
android:id="@+id/details_btn"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/ssl_validator_btn_details_see" />
- <com.owncloud.android.ui.CustomButton
+ <Button
android:id="@+id/ok"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_height="wrap_content"\r
android:gravity="center"\r
android:orientation="horizontal" >\r
-\r <com.owncloud.android.ui.CustomButton\r
+\r <Button\r
android:id="@+id/upload_files_btn_cancel"\r
android:layout_width="wrap_content"\r
android:layout_height="wrap_content"\r
android:layout_weight="1"\r
android:text="@string/common_cancel" />\r
-\r <com.owncloud.android.ui.CustomButton\r
+\r <Button\r
android:id="@+id/upload_files_btn_upload"\r
android:layout_width="wrap_content"\r
android:layout_height="wrap_content"\r
</FrameLayout>
<LinearLayout android:id="@+id/linearLayout1"
android:layout_width="fill_parent" android:layout_alignParentBottom="true" android:layout_height="wrap_content" android:orientation="vertical">
- <com.owncloud.android.ui.CustomButton android:layout_gravity="bottom" android:layout_height="wrap_content"
+ <Button android:layout_gravity="bottom" android:layout_height="wrap_content"
android:layout_width="fill_parent" android:id="@+id/uploader_choose_folder"
android:text="@string/uploader_btn_upload_text"/>
</LinearLayout>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<resources xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <style name="Theme.ownCloud.ButtonStyle" parent="@android:style/Widget.Holo.Light.Button">
+ <item name="android:background">@android:drawable/btn_default</item>
+ <item name="android:textColor">@color/button_text_color</item>
+ </style>
+
+</resources>
<item name="android:actionBarStyle">@style/Theme.ownCloud.Widget.ActionBar</item>
<item name="actionBarStyle">@style/Theme.ownCloud.Widget.ActionBar</item>
<item name="android:buttonStyle">@style/Theme.ownCloud.ButtonStyle</item>
- <item name="actionDropDownStyle">@style/DropDownStyle</item>
- <item name="android:actionDropDownStyle">@style/DropDownStyle</item>
+ <item name="actionDropDownStyle">@style/Theme.ownCloud.DropDownStyle</item>
+ <item name="android:actionDropDownStyle">@style/Theme.ownCloud.DropDownStyle</item>
</style>
<style name="Theme.ownCloud.noActionBar" parent="style/Theme.Sherlock.Light.NoActionBar">
<item name="android:actionBarStyle">@style/Theme.ownCloud.Widget.ActionBar</item>
<item name="actionBarStyle">@style/Theme.ownCloud.Widget.ActionBar</item>
<item name="android:buttonStyle">@style/Theme.ownCloud.ButtonStyle</item>
- <item name="actionDropDownStyle">@style/DropDownStyle</item>
- <item name="android:actionDropDownStyle">@style/DropDownStyle</item>
+ <item name="actionDropDownStyle">@style/Theme.ownCloud.DropDownStyle</item>
+ <item name="android:actionDropDownStyle">@style/Theme.ownCloud.DropDownStyle</item>
</style>
<style name="Theme.ownCloud.Fullscreen" parent="style/Theme.Sherlock.NoActionBar">
<item name="android:actionBarStyle">@style/Theme.ownCloud.Widget.ActionBar</item>
<item name="actionBarStyle">@style/Theme.ownCloud.Widget.ActionBar</item>
<item name="android:windowFullscreen">true</item>
- <item name="actionDropDownStyle">@style/DropDownStyle</item>
- <item name="android:actionDropDownStyle">@style/DropDownStyle</item>
+ <item name="actionDropDownStyle">@style/Theme.ownCloud.DropDownStyle</item>
+ <item name="android:actionDropDownStyle">@style/Theme.ownCloud.DropDownStyle</item>
</style>
<item name="android:shadowRadius">1</item>
<item name="android:shadowDy">1</item>
<item name="android:backgroundSplit">@drawable/split_action_bg</item>
- <item name="android:indeterminateProgressStyle">@style/IndeterminateStyle</item>
- <item name="indeterminateProgressStyle">@style/IndeterminateStyle</item>
- </style>
-
- <!-- DropDown -->
- <style name="DropDownStyle" parent="style/Widget.Sherlock.Spinner.DropDown.ActionBar">
- <item name="android:background">@drawable/dropdown</item>
- </style>
- <style name="IndeterminateStyle" parent="style/Widget.Sherlock.ProgressBar">
- <item name="android:indeterminateDrawable">@drawable/indeterminate_progress</item>
+ <item name="android:indeterminateProgressStyle">@style/Theme.ownCloud.IndeterminateStyle</item>
+ <item name="indeterminateProgressStyle">@style/Theme.ownCloud.IndeterminateStyle</item>
</style>
<!-- Dialogs -->
<style name="Theme.ownCloud.Dialog" parent="style/Theme.Sherlock.Light.Dialog">
</style>
- <!-- Buttons -->
- <style name="Theme.ownCloud.ButtonStyle" parent="@android:style/Widget.Button">
- <item name="android:background">@android:drawable/btn_default</item>
- <item name="android:textColor">@color/button_text_color</item>
- </style>
-
<!-- PopDownMenu -->
<style name="Animations.PopDownMenu" />
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<resources xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <!-- Buttons -->
+ <style name="Theme.ownCloud.ButtonStyle" parent="@android:style/Widget.Button">
+ <item name="android:background">@android:drawable/btn_default</item>
+ <item name="android:textColor">@color/button_text_color</item>
+ </style>
+
+ <!-- DropDown -->
+ <style name="Theme.ownCloud.DropDownStyle" parent="style/Widget.Sherlock.Spinner.DropDown.ActionBar">
+ <item name="android:background">@drawable/abs__spinner_ab_holo_dark</item>
+ </style>
+
+ <style name="Theme.ownCloud.IndeterminateStyle" parent="style/Widget.Sherlock.ProgressBar">
+ <item name="android:indeterminateDrawable">@drawable/abs__progress_medium_holo</item>
+ </style>
+
+</resources>