Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2014
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:orientation="vertical"
  4. android:layout_width="fill_parent"
  5. android:layout_height="fill_parent"
  6. android:background="@drawable/back">
  7.  
  8. <com.abc.xyz.TextViewEx
  9. android:id="@+id/etext1"
  10. android:layout_width="fill_parent"
  11. android:layout_height="wrap_content"
  12. android:textSize="@dimen/betxt"
  13. android:textColor="#FFFFFF"
  14. android:layout_marginLeft="@dimen/activity_margin"
  15. android:layout_marginRight="@dimen/activity_margin"
  16. android:layout_marginBottom="@dimen/activity_margin"
  17. android:layout_marginTop="@dimen/activity_margin"
  18. android:scrollbars="vertical"/>
  19.  
  20. </LinearLayout>
  21.  
  22. textView1 = (TextViewEx) findViewById (R.id.etext1);
  23. textView1.setMovementMethod(new ScrollingMovementMethod());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement