[Libreoffice-commits] .: android/sdremote

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Aug 19 23:29:57 PDT 2012


 android/sdremote/src/org/libreoffice/impressremote/SelectorActivity.java |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 2ce7d7bb3f99ec282090c09c45b099b957f0a939
Author: Andrzej J.R. Hunt <andrzej at ahunt.org>
Date:   Mon Aug 20 08:28:29 2012 +0200

    Fixed listing of multiple servers in Selection Activity.
    
    Change-Id: Ic60a132b352438870db966de7c25cce9ff51721d

diff --git a/android/sdremote/src/org/libreoffice/impressremote/SelectorActivity.java b/android/sdremote/src/org/libreoffice/impressremote/SelectorActivity.java
index f6641ed..8fb4298 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);
                 }
 


More information about the Libreoffice-commits mailing list