-
Recent Posts
Popular Posts List
-
Linkify text li...
0
56
-
Scroll to certa...
0
44
-
Get Resource ID...
0
42
-
Foreach loop cy...
0
41
-
Convert Drawabl...
0
39
-
How quickly res...
0
38
-
Transparent Bac...
0
35
-
Android Studio ...
0
31
-
Spinner ComboBo...
0
30
-
Timer task Time...
0
30
-
Create bitmap a...
0
30
-
Turn screen ON ...
0
29
-
Timer simple Ti...
0
28
-
Open url with b...
0
28
-
Get Assets fold...
0
27
-
android.app.App...
0
26
-
Convert Activit...
0
26
-
Progressbar cha...
0
23
-
PHP how to incl...
0
23
-
How set focus o...
0
22
-
Linkify text li...
Views
- Timer simple TimerTask Java Android example - 136,403 views
- Linkify text link url in TextView text Android example - 95,083 views
- Spinner ComboBox DropDown List Android example code - 85,215 views
- How quickly restart adb.exe ADB server Android emulator example - 82,498 views
- Compressing a bitmap to JPG format Android example - 72,981 views
- Turn screen ON OFF Android sample code - 71,966 views
- Get Assets folder path and read txt file to string Android example code - 71,492 views
- Timer task TimerTask run cancel Android example - 65,121 views
- Start Activity from ListView item click Android example - 63,136 views
- How update View TextView with timer Android runnable example - 61,435 views
- If, else if, else statement Java Android example - 49,309 views
- Draw Arc Android basic example - 45,608 views
- Class File Editor – Source not found – Change Attached Source – Eclipse - 45,214 views
- Draw circle Android basic example - 44,605 views
- Scroll to certain position on application Android example code - 44,468 views
- Get Resource ID by Resources String Name Android example - 40,580 views
- Crop cropped cut bitmap image pictures Android example - 38,952 views
- Foreach loop cycle in Java Android example - 38,870 views
- AsyncTask Example Android with ProgressBar - 38,570 views
- Create bitmap and draw text into bitmap Android example - 37,572 views
Categories
- Android Examples Code (314)
- Android Software Download (4)
- Android Studio (43)
- Array,List,Collections (22)
- Bitmap, drawing (44)
- Bugs, warnings, errors (108)
- Dictionaries (22)
- Download (2)
- Eclipse (78)
- Fragments Tutorial (8)
- Javascript css html (12)
- PHP (3)
- Smartphone (31)
- Smartphones (3)
- SQLite database (7)
- Uncategorized (4)
Archives
Meta
Tag Archives: relativelayout
1,776 views
Center View in RelativeLayout Android
RelativeLayout like parent, child Srollview is centered horizontal. Second RelativeLayout in SrollView have gravity center, every child will centered horizontally and vertically. <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center_horizontal"> <ScrollView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/scrollView2" > <RelativeLayout android:layout_width="320dp" android:layout_height="wrap_content" … Continue reading
Posted in Android Examples Code
Tagged relativelayout
Comments Off on Center View in RelativeLayout Android
Relative layout RelativeLayout Android example
xml RelativeLayout Android example: Eclipse graphical xml layout editor res/layout/main.xml <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent"> <TextView android:id="@+id/idLabel" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Enter word"/> <EditText android:id="@+id/idEntry" android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@android:drawable/editbox_background" android:layout_below="@id/idLabel"/> <Button android:id="@+id/idOk" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/idEntry" android:layout_alignParentRight="true" android:layout_marginLeft="10dip" android:text="OK" /> <Button android:layout_width="wrap_content" … Continue reading
Posted in Android Examples Code
Tagged eclipse, example, layout, relativelayout, xml
Comments Off on Relative layout RelativeLayout Android example