Tag Archives: scrollview

16,260 views

HorizontalScrollView ScrollView horizontal vertical Android xml example

HorizontalScrollView ScrollView LinearLayout horizontal vertical Android xml basic example and image. <?xml version="1.0" encoding="utf-8"?> <LinearLayout android:id="@+id/LinearLayout01" android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android">   // horizontal and vertical Scrollview <ScrollView android:id="@+id/ScrollView01" android:layout_height="135px" android:layout_width="wrap_content" android:scrollbars="horizontal|vertical">   // HorizontalScrollview <HorizontalScrollView android:id="@+id/HorizontalScrollView01" android:layout_height="fill_parent" android:layout_width="wrap_content">   <LinearLayout android:id="@+id/LinearLayout02" … Continue reading

Posted in Android Examples Code | Tagged , , , , | Comments Off on HorizontalScrollView ScrollView horizontal vertical Android xml example
31,948 views

Scroll to certain position on application Android example code

ScrollTo(), getTop(), getBottom(), getLeft(), getRight(), ScrollView, LinearLayout Android Java xml example. How get position of a View. MainClass.java /* public void scrollTo (int x, int y) Since: API Level 1 Set the scrolled position of your view. This will cause … Continue reading

Posted in Android Examples Code | Tagged , , , , , , , | Comments Off on Scroll to certain position on application Android example code
22,758 views

TableRow TableLayout table row add delete remove removeview addview Android example

TableRow TableLayout table row add delete remove removeview addview get table row index indexOfChild create table row dynamically TextView dynamically Android example Main.java TableLayout table = (TableLayout)findViewById(R.id.table); TableRow row = (TableRow)findViewById(R.id.row);   // get table row index android. int nIndex … Continue reading

Posted in Android Examples Code | Tagged , , , , , | Comments Off on TableRow TableLayout table row add delete remove removeview addview Android example