- <EditText\r
- android:id="@+id/oAuthEntryPoint_2"\r
- android:layout_width="match_parent"\r
- android:layout_height="wrap_content"\r
- android:ems="10"\r
- android:enabled="false"\r
- android:text="@string/oauth2_url_endpoint_access"\r
- android:singleLine="true"\r
- android:inputType="textUri"\r
- android:visibility="gone" >\r
- <requestFocus />\r
- </EditText> \r
-\r
- <EditText\r
- android:id="@+id/account_username"\r
- android:layout_width="match_parent"\r
- android:layout_height="wrap_content"\r
- android:ems="10"\r
- android:hint="@string/auth_username"\r
- android:inputType="textNoSuggestions" />\r
+ <FrameLayout\r
+ android:layout_width="match_parent"\r
+ android:layout_height="wrap_content"\r
+ >\r
+ \r
+ <EditText\r
+ android:id="@+id/hostUrlInput"\r
+ android:layout_width="match_parent"\r
+ android:layout_height="wrap_content"\r
+ android:ems="10"\r
+ android:hint="@string/auth_host_url"\r
+ android:inputType="textUri"\r
+ >\r
+ <requestFocus />\r
+ </EditText>\r
+ \r
+ <ImageView\r
+ android:id="@+id/refreshButton"\r
+ android:layout_width="wrap_content"\r
+ android:layout_height="wrap_content"\r
+ android:layout_gravity="right|center_vertical"\r
+ android:src="@drawable/ic_action_refresh_black"\r
+ android:onClick="onRefreshClick"\r
+ android:visibility="invisible" />\r
+ \r
+ </FrameLayout>\r
+ \r
+ <TextView\r
+ android:id="@+id/server_status_text"\r
+ android:layout_width="match_parent"\r
+ android:layout_height="wrap_content"\r
+ android:layout_marginBottom="10dp"\r
+ android:drawableLeft="@android:drawable/stat_notify_sync"\r
+ android:drawablePadding="5dp"\r
+ android:gravity="center_vertical"\r
+ android:text="@string/auth_testing_connection" />\r
+ \r
+ <CheckBox\r
+ android:id="@+id/oauth_onOff_check"\r
+ android:layout_width="wrap_content"\r
+ android:layout_height="wrap_content"\r
+ android:checked="false"\r
+ android:onClick="onCheckClick"\r
+ android:text="@string/oauth_check_onoff"\r
+ android:textAppearance="?android:attr/textAppearanceSmall"\r
+ android:visibility="gone"\r
+ />\r
+ \r
+ <EditText\r
+ android:id="@+id/oAuthEntryPoint_1"\r
+ android:layout_width="match_parent"\r
+ android:layout_height="wrap_content"\r
+ android:ems="10"\r
+ android:enabled="false"\r
+ android:text="@string/oauth2_url_endpoint_auth"\r
+ android:singleLine="true"\r
+ android:inputType="textUri"\r
+ android:visibility="gone" >\r
+ <requestFocus />\r
+ </EditText> \r
+ \r
+ <EditText\r
+ android:id="@+id/oAuthEntryPoint_2"\r
+ android:layout_width="match_parent"\r
+ android:layout_height="wrap_content"\r
+ android:ems="10"\r
+ android:enabled="false"\r
+ android:text="@string/oauth2_url_endpoint_access"\r
+ android:singleLine="true"\r
+ android:inputType="textUri"\r
+ android:visibility="gone" >\r
+ <requestFocus />\r
+ </EditText> \r
+ \r
+ <EditText\r
+ android:id="@+id/account_username"\r
+ android:layout_width="match_parent"\r
+ android:layout_height="wrap_content"\r
+ android:ems="10"\r
+ android:hint="@string/auth_username"\r
+ android:inputType="textNoSuggestions" />\r
+ \r
+ <FrameLayout\r
+ android:layout_width="match_parent"\r
+ android:layout_height="wrap_content"\r
+ >\r
+ <EditText\r
+ android:id="@+id/account_password"\r
+ android:layout_width="match_parent"\r
+ android:layout_height="wrap_content"\r
+ android:ems="10"\r
+ android:hint="@string/auth_password"\r
+ android:inputType="textPassword"/>\r
+ \r
+ <ImageView\r
+ android:id="@+id/viewPasswordButton"\r
+ android:layout_width="wrap_content"\r
+ android:layout_height="wrap_content"\r
+ android:layout_gravity="right|center_vertical"\r
+ android:src="@android:drawable/ic_menu_view"\r
+ android:onClick="onViewPasswordClick"\r
+ android:visibility="invisible" />\r
+ </FrameLayout>\r
+ \r
+ <TextView\r
+ android:id="@+id/auth_status_text"\r
+ android:layout_width="match_parent"\r
+ android:layout_height="wrap_content"\r
+ android:gravity="center_vertical"\r
+ android:text="@string/auth_unauthorized"\r
+ android:drawableLeft="@android:drawable/stat_notify_sync"\r
+ android:drawablePadding="5dip"\r
+ />\r