Permalink
Browse files

A simple fix to make the document display scrollable

  • Loading branch information...
1 parent 8e4bee0 commit e0bba5565287bfc16975add8e4d65265bb467d7c @matburt committed Apr 13, 2010
Showing with 14 additions and 8 deletions.
  1. +14 −8 res/layout/simpletext.xml
View
@@ -1,9 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_height="fill_parent"
- android:layout_width="fill_parent">
- <TextView android:id="@+id/orgTxt"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"/>
-</LinearLayout>
+<ScrollView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/scroller"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+ <LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_height="fill_parent"
+ android:layout_width="fill_parent">
+ <TextView android:id="@+id/orgTxt"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/>
+ </LinearLayout>
+</ScrollView>

0 comments on commit e0bba55

Please sign in to comment.