android-app/res/layout/main.xml

101 lines
3.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/scrollView1"
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:paddingLeft="30sp"
android:paddingRight="30sp" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1" >
<ImageView
android:id="@+id/imageView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
android:scaleType="center"
android:src="@drawable/icon" />
<TextView
android:layout_width="230dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="3"
android:text="@string/hello"
android:textSize="25sp" />
</LinearLayout>
<TextView
android:id="@+id/pageUrl_label"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_weight="1"
android:text="@string/url_label"
android:textSize="20sp" />
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/url_help" />
<EditText
android:id="@+id/pocheUrl"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:ems="10"
android:inputType="textFilter"
android:linksClickable="false"
android:maxLines="1"
android:scrollHorizontally="false" >
<requestFocus android:layout_width="wrap_content" />
</EditText>
<TextView
android:id="@+id/instructions"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/toppadding"
android:layout_weight="1"
android:paddingTop="5sp"
android:text="@string/instructions"
android:autoLink="web"
android:textSize="22sp" >
</TextView>
<Button
android:id="@+id/btnDone"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_weight="1"
android:text="@string/btnDone" />
<TextView
android:id="@+id/author"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_weight="1"
android:text="@string/author"
android:textSize="10sp" />
<android.widget.GridLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1" />
</LinearLayout>
</ScrollView>