Commit 250ff94b authored by feihuaduo's avatar feihuaduo

优化决斗助手代码

parent 7b79c0c7
...@@ -61,7 +61,7 @@ public class ServerListManager { ...@@ -61,7 +61,7 @@ public class ServerListManager {
}); });
} }
private ServerList readList(InputStream in) { public static ServerList readList(InputStream in) {
ServerList list = null; ServerList list = null;
try { try {
list = XmlUtils.get().getObject(ServerList.class, in); list = XmlUtils.get().getObject(ServerList.class, in);
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:text="Text" android:text="Text"
android:layout_margin="10dp" android:layout_margin="10dp"
android:id="@+id/ds_text" /> android:id="@+id/tv_message" />
<LinearLayout <LinearLayout
android:layout_height="wrap_content" android:layout_height="wrap_content"
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:text="@string/join_game" android:text="@string/join_game"
android:layout_weight="1" android:layout_weight="1"
android:id="@+id/ds_join" /> android:id="@+id/bt_join" />
<TextView <TextView
android:layout_height="wrap_content" android:layout_height="wrap_content"
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:text="@string/search_close" android:text="@string/search_close"
android:layout_weight="1" android:layout_weight="1"
android:id="@+id/ds_qx" /> android:id="@+id/bt_close" />
</LinearLayout> </LinearLayout>
<TextView <TextView
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment