i created WebAuth.java to be used to display the social client auth site, and get the users auth code started intergration of twitter
30 lines
909 B
XML
30 lines
909 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent" android:layout_height="fill_parent">
|
|
|
|
<Button
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Ok"
|
|
android:id="@+id/authOkButton"
|
|
android:layout_alignBottom="@+id/authCode"
|
|
android:layout_alignParentRight="true"></Button>
|
|
|
|
<EditText
|
|
android:layout_toLeftOf="@id/authOkButton"
|
|
android:layout_width="fill_parent"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_height="wrap_content"
|
|
android:hint="Auth Code"
|
|
android:id="@+id/authCode">
|
|
</EditText>
|
|
|
|
<WebView
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:layout_above="@id/authCode"
|
|
android:id="@+id/authWebView"
|
|
android:layout_alignParentTop="true">
|
|
</WebView>
|
|
|
|
</RelativeLayout> |