Permalink
Browse files

Change login display and theme parameter values.

Change display from host to touch.
Change theme from android to default.
Remove unused live namespace declaration in sample signin.xml.
  • Loading branch information...
1 parent 22f8f22 commit 72d604d2477a1eaf0ed024e01297109b318562b3 skrueger committed Jul 26, 2012
@@ -1,19 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:live="http://schemas.android.com/apk/res/com.microsoft.live.sample"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical" >
-
+
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/welcome"
android:textAppearance="?android:attr/textAppearanceLarge" />
-
+
<TextView
android:id="@+id/beginTextView"
android:layout_width="wrap_content"
@@ -311,9 +311,9 @@ public void addObserver(OAuthRequestObserver observer) {
* passed in listener when it is completed.
*/
public void execute() {
- String displayType = OAuth.DisplayType.HOST.toString().toLowerCase();
+ String displayType = OAuth.DisplayType.TOUCH.toString().toLowerCase();
String responseType = OAuth.ResponseType.CODE.toString().toLowerCase();
- String theme = OAuth.ThemeType.ANDROID.toString().toLowerCase();
+ String theme = OAuth.ThemeType.DEFAULT.toString().toLowerCase();
String locale = Locale.getDefault().toString();
Uri requestUri = Config.INSTANCE.getOAuthAuthorizeUri()
.buildUpon()
@@ -16,7 +16,6 @@
final class OAuth {
public enum DisplayType {
- HOST,
NONE,
PAGE,
POPUP,
@@ -88,7 +87,6 @@
}
public enum ThemeType {
- ANDROID,
DARK,
LIGHT,
DEFAULT;

1 comment on commit 72d604d

Please sign in to comment.