\r
<Button\r
android:id="@+id/buttonOK"\r
- android:layout_width="wrap_content"\r
+ android:layout_width="fill_parent"\r
android:layout_height="wrap_content"\r
- android:layout_weight=".50"\r
+ android:layout_weight=".75"\r
android:onClick="onOkClick"\r
android:textColor="@android:color/black"\r
android:text="@string/setup_btn_connect" >\r
\r
<Button\r
android:id="@+id/buttonNotUser"\r
- android:layout_width="wrap_content"\r
+ android:layout_width="fill_parent"\r
android:layout_height="wrap_content"\r
- android:layout_weight=".50"\r
+ android:layout_weight=".75"\r
android:onClick="onNotUserClick"\r
android:textColor="@android:color/black"\r
android:text="Get started!" >\r
public class AccountAuthenticator extends AbstractAccountAuthenticator {\r
public static final String OPTIONS_USERNAME = "username";\r
public static final String OPTIONS_PASSWORD = "password";\r
- public static final String OPTIONS_FILE_LIST_SYNC_ENABLED = "filelist";\r
- public static final String OPTIONS_PINNED_FILE_SYNC_ENABLED = "pinned";\r
\r
public static final String ACCOUNT_TYPE = "owncloud";\r
public static final String AUTH_TOKEN_TYPE = "org.owncloud";\r
import java.net.MalformedURLException;\r
import java.net.URL;\r
\r
+import com.actionbarsherlock.ActionBarSherlock;\r
+\r
import android.accounts.Account;\r
import android.accounts.AccountAuthenticatorActivity;\r
import android.accounts.AccountManager;\r
url_text.setTextColor(Color.RED);\r
hasErrors = true;\r
} else {\r
- url_text.setTextColor(android.R.color.primary_text_light);\r
+ url_text.setTextColor(android.R.color.black);\r
}\r
try {\r
String url_str = url_text.getText().toString();\r
username_text.setTextColor(Color.RED);\r
hasErrors = true;\r
} else {\r
- username_text.setTextColor(android.R.color.primary_text_light);\r
+ username_text.setTextColor(android.R.color.black);\r
}\r
\r
if (password_text.getText().toString().trim().length() == 0) {\r
password_text.setTextColor(Color.RED);\r
hasErrors = true;\r
} else {\r
- password_text.setTextColor(android.R.color.primary_text_light);\r
+ password_text.setTextColor(android.R.color.black);\r
}\r
if (hasErrors) {\r
return;\r