forked from daniirawan1000/Android-SQLite-Database
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathactivity_main.xml
More file actions
46 lines (39 loc) · 1.33 KB
/
activity_main.xml
File metadata and controls
46 lines (39 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="10dp">
<Button
android:id="@+id/addmem_bt_id"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="ADD MEMBER" />
<ListView
android:id="@+id/memberList_id"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:dividerHeight="2dp" >
</ListView>
</LinearLayout>
File: view_member_entry.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TextView
android:id="@+id/member_id"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:visibility="gone" />
<TextView
android:id="@+id/member_name"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:padding="15dp"
android:textSize="17sp"
android:textStyle="bold"/>
</LinearLayout>