diff options
author | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2012-08-20 08:28:29 +0200 |
---|---|---|
committer | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2012-08-20 08:29:34 +0200 |
commit | 2ce7d7bb3f99ec282090c09c45b099b957f0a939 (patch) | |
tree | 9168ef932c43306e488faa66672b233c93d5f070 /android | |
parent | Ask user if it wants to overwrite a template (diff) | |
download | core-2ce7d7bb3f99ec282090c09c45b099b957f0a939.tar.gz core-2ce7d7bb3f99ec282090c09c45b099b957f0a939.zip |
Fixed listing of multiple servers in Selection Activity.
Change-Id: Ic60a132b352438870db966de7c25cce9ff51721d
Diffstat (limited to 'android')
-rw-r--r-- | android/sdremote/src/org/libreoffice/impressremote/SelectorActivity.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/android/sdremote/src/org/libreoffice/impressremote/SelectorActivity.java b/android/sdremote/src/org/libreoffice/impressremote/SelectorActivity.java index f6641ed81022..8fb4298b5f71 100644 --- a/android/sdremote/src/org/libreoffice/impressremote/SelectorActivity.java +++ b/android/sdremote/src/org/libreoffice/impressremote/SelectorActivity.java @@ -161,11 +161,13 @@ public class SelectorActivity extends Activity { if (!aMap.containsValue(aServer)) { View aView = getLayoutInflater() .inflate(R.layout.activity_selector_sublayout_server, - aLayout); + null); + TextView aText = (TextView) aView .findViewById(R.id.selector_sub_label); aText.setOnClickListener(mClickListener); aText.setText(aServer.getName()); + aLayout.addView(aView); aMap.put(aServer, aText); } |