Kayıtlar

Ocak, 2013 tarihine ait yayınlar gösteriliyor

Android loading screen

Start Activity class package com.gsm.androidproject; import android.app.Activity; import android.content.Intent; import android.database.sqlite.SQLiteDatabase; import android.os.AsyncTask; import android.os.Bundle; import android.widget.ProgressBar; import android.widget.TextView; public class StartActivity extends Activity {     //private Thread thread;     private TextView dbCreatedInfo;     private TextView loadingText;     private ProgressBar bar ;     @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.activity_start_layout);         /*         dbCreatedInfo =  (TextView) findViewById(R.id.dbLoadLabel);         bar = (ProgressBar) findViewById(R.id.progressBar);         loadingText = (TextView) findViewById(R.id.loadingText);         thread = new Thread(){             @Override             public void run() {                 try {                     synchronized (this) {                   

Scroll on RelativeLayout on Android

< ScrollView xmlns : android = "http://schemas.android.com/apk/res/android" android : fillViewport = "true" android : padding = "10px" android : layout_height = "fill_parent" android : layout_width = "fill_parent" > < RelativeLayout android : id = "@+id/scrollable_places" android : layout_height = "wrap_content" android : layout_width = "wrap_content" > </ RelativeLayout > </ ScrollView >