summaryrefslogtreecommitdiff
path: root/src/se/leap
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2013-08-15 11:09:51 +0200
committercyBerta <richy@cyborgsociety.org>2013-11-15 23:21:40 +0100
commit2013db973559e0b816b8dc8e45310b4acc8ff196 (patch)
tree2b7f9187d01aed4086413d965e8cf2d3131c0635 /src/se/leap
parentb6bec89fd40a24751e2371328a17ee2aad2903fe (diff)
ProgressBar xml is loaded correctly.
Diffstat (limited to 'src/se/leap')
-rw-r--r--src/se/leap/bitmaskclient/Dashboard.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/se/leap/bitmaskclient/Dashboard.java b/src/se/leap/bitmaskclient/Dashboard.java
index 0e6cb657..30fa512c 100644
--- a/src/se/leap/bitmaskclient/Dashboard.java
+++ b/src/se/leap/bitmaskclient/Dashboard.java
@@ -164,6 +164,13 @@ public class Dashboard extends Activity implements LogInDialog.LogInDialogInterf
setContentView(R.layout.client_dashboard);
+ mProgressBar = (ProgressBar) findViewById(R.id.progressbar_dashboard);
+
+ providerAPI_broadcast_receiver_update = new ProviderAPIBroadcastReceiver_Update();
+ IntentFilter update_intent_filter = new IntentFilter(ProviderAPI.UPDATE_ACTION);
+ update_intent_filter.addCategory(Intent.CATEGORY_DEFAULT);
+ registerReceiver(providerAPI_broadcast_receiver_update, update_intent_filter);
+
providerNameTV = (TextView) findViewById(R.id.providerName);
providerNameTV.setText(provider.getDomain());
providerNameTV.setTextSize(28);