diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/my_schedule_unconfigured.xml | 84 | ||||
-rw-r--r-- | res/values/strings.xml | 13 |
2 files changed, 97 insertions, 0 deletions
diff --git a/res/layout/my_schedule_unconfigured.xml b/res/layout/my_schedule_unconfigured.xml new file mode 100644 index 0000000..6d9ef82 --- /dev/null +++ b/res/layout/my_schedule_unconfigured.xml @@ -0,0 +1,84 @@ +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" + android:background="@color/main_bg" + android:paddingLeft="5px" +> + + <TextView + android:layout_height="wrap_content" + android:layout_width="fill_parent" + android:textSize="14sp" + android:textStyle="bold" + android:gravity="center" + android:text="@string/my_schedule_lp" + /> + + <TextView + android:layout_height="wrap_content" + android:layout_width="fill_parent" + android:text="@string/my_schedule_user" + /> + <EditText + android:id="@+id/my_schedule_user" + android:layout_height="wrap_content" + android:layout_width="fill_parent" + /> + <TextView + android:layout_height="wrap_content" + android:layout_width="fill_parent" + android:text="@string/my_schedule_pass" + /> + <EditText + android:id="@+id/my_schedule_pass" + android:layout_height="wrap_content" + android:layout_width="fill_parent" + android:inputType="textPassword" + /> + + <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + > + <TextView + android:id="@+id/my_schedule_status" + android:layout_height="wrap_content" + android:layout_width="fill_parent" + android:layout_weight="2" + android:layout_gravity="center" + /> + <Button + android:id="@+id/my_schedule_login" + android:layout_height="wrap_content" + android:layout_width="fill_parent" + android:layout_weight="3" + android:layout_gravity="right" + android:text="@string/my_schedule_login" + /> + </LinearLayout> + + <TextView + android:layout_height="wrap_content" + android:layout_width="fill_parent" + android:textSize="14sp" + android:textStyle="bold" + android:text="@string/my_schedule_login_about" + /> + <TextView + android:layout_height="wrap_content" + android:layout_width="fill_parent" + android:background="@drawable/rounded" + android:paddingLeft="5px" + android:textColor="@color/linaro_green" + android:text="@string/my_schedule_info" + /> + + <WebView + android:id="@+id/my_schedule_webview" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + /> + +</LinearLayout>
\ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml index d3fb3b3..78057a8 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -3,4 +3,17 @@ <string name="app_name">Linaro Connect</string> <string name="posting_refresh">Refresh</string> <string name="schedule_item">Linaro Connect - Session</string> + + <string name="schedule_mine">Linaro Connect - My Schedule</string> + <string name="my_schedule_lp">Launchpad Login</string> + <string name="my_schedule_user">Email:</string> + <string name="my_schedule_pass">Password:</string> + <string name="my_schedule_info">In order to access your schedule we\'ll need + to log into Launchpad one time. This will give the app a key that it can + retrieve your schedule with. No personal information will be saved. + </string> + <string name="my_schedule_login_about">About</string> + <string name="my_schedule_login">Log In</string> + <string name="my_schedule_login_busy">Authorizing...</string> + <string name="my_schedule_login_failed">Login failed! Try Again.</string> </resources> |