PageRenderTime 19ms CodeModel.GetById 13ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/ime/latinime/res/layout/tutorial_4_text_navigation.xml

http://eyes-free.googlecode.com/
XML | 65 lines | 65 code | 0 blank | 0 comment | 0 complexity | 75b94c10a5fc14d6e059438af09873f6 MD5 | raw file
 1<?xml version="1.0" encoding="utf-8"?>
 2<LinearLayout
 3  xmlns:android="http://schemas.android.com/apk/res/android"
 4  android:layout_width="match_parent"
 5  android:layout_height="match_parent"
 6  android:orientation="vertical">
 7  <LinearLayout
 8    android:layout_width="match_parent"
 9    android:layout_height="0dp"
10    android:layout_gravity="bottom"
11    android:layout_weight="1.0"
12    android:orientation="vertical"
13    android:padding="10dp">
14    <TextView
15      android:id="@+id/tutorial_title"
16      android:layout_width="match_parent"
17      android:layout_height="wrap_content"
18      android:text="@string/tutorial_4_title"
19      android:textAppearance="@android:style/TextAppearance.Medium" />
20    <LinearLayout
21      android:layout_width="match_parent"
22      android:layout_height="0dp"
23      android:layout_weight="1.0"
24      android:layout_margin="10dp"
25      android:orientation="horizontal">
26      <com.googlecode.eyesfree.inputmethod.latin.tutorial.SelectionEditText
27        android:id="@+id/tutorial_4_edittext"
28        android:layout_width="0dp"
29        android:layout_height="wrap_content"
30        android:layout_weight="1.0"
31        android:text="@string/tutorial_4_text" />
32    </LinearLayout>
33    <ViewAnimator
34      android:id="@+id/tutorial_instructions"
35      android:layout_width="match_parent"
36      android:layout_height="wrap_content"
37      android:inAnimation="@android:anim/slide_in_left"
38      android:outAnimation="@android:anim/slide_out_right"
39      android:background="@drawable/dialog"
40      android:contentDescription="@string/tutorial_instructions"
41      android:onClick="onClick" />
42  </LinearLayout>
43  <RelativeLayout
44    android:layout_width="match_parent"
45    android:layout_height="wrap_content"
46    style="@android:style/ButtonBar">
47    <com.googlecode.eyesfree.inputmethod.latin.tutorial.ContentButton
48      android:id="@+id/tutorial_previous"
49      android:layout_width="wrap_content"
50      android:layout_height="wrap_content"
51      android:layout_alignParentLeft="true"
52      android:layout_centerVertical="true"
53      android:drawableLeft="@drawable/ic_previous"
54      android:text="@string/tutorial_previous"
55      android:contentDescription="@string/tutorial_previous_hint" />
56    <com.googlecode.eyesfree.inputmethod.latin.tutorial.ContentButton
57      android:id="@+id/tutorial_exit"
58      android:layout_width="wrap_content"
59      android:layout_height="wrap_content"
60      android:layout_alignParentRight="true"
61      android:layout_centerVertical="true"
62      android:text="@string/tutorial_exit"
63      android:contentDescription="@string/tutorial_exit_hint" />
64  </RelativeLayout>
65</LinearLayout>