added thread needed to start twitter authorization to TravelPostMain.java. Created TwitterWebAuth.java and twitterwebauth.xml modified some strings to better explain failure points. tested and working for authorization.
31 lines
911 B
XML
31 lines
911 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"/>
|
|
|
|
<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"
|
|
android:inputType="number"/>
|
|
|
|
<WebView
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:layout_above="@id/authCode"
|
|
android:id="@+id/authWebView"
|
|
android:layout_alignParentTop="true"/>
|
|
|
|
</RelativeLayout> |