Login and Register Function+Merge+New+Search

ongbodev
ongbo 6 years ago
parent a55203fcb7
commit 707bb39381

@ -34,13 +34,14 @@ public class Search {
for(String j: medicines) mediciesSet.add(j);
String[] reasons = me_rea[1].split("\\|");
for(String j: reasons) reasonsSet.add(j);
List<Set<String>> a = new ArrayList<Set<String>>();
a.add(mediciesSet);
a.add(reasonsSet);
return a;
}
}
List<Set<String>> a = new ArrayList<Set<String>>();
a.add(mediciesSet);
a.add(reasonsSet);
return a;
return null;
}
}

@ -12,6 +12,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="101dp">
<EditText
android:id="@+id/search_edit"
android:layout_width="250dp"
android:layout_height="wrap_content"
android:layout_marginLeft="80dp"
@ -85,9 +86,12 @@
android:text="感冒发烧"
android:background="#FFDEAD"/>
</GridLayout>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/search_back"/>
<!-- <ImageView-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:src="@drawable/search_back"/>-->
<ListView
android:id="@+id/listView1"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</LinearLayout>

Loading…
Cancel
Save