-
Notifications
You must be signed in to change notification settings - Fork 39
/
dashboard_home.xml
73 lines (69 loc) · 3.13 KB
/
dashboard_home.xml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res/org.acmelab.andgram"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<com.markupartist.android.widget.ActionBar
android:id="@+id/dashboardActionbar"
style="@style/ActionBar"
app:title="@string/app_name"
/>
<LinearLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:padding="6dip">
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1">
<Button android:id="@+id/activity_button"
android:onClick="openFeedIntent"
style="@style/DashboardButton"
android:text="@string/feed"
android:drawableTop="@drawable/ic_menu_allfriends"/>
<Button android:id="@+id/popular_button"
android:onClick="openPopularGridIntent"
style="@style/DashboardButton"
android:text="@string/popular"
android:drawableTop="@drawable/ic_menu_star"/>
</LinearLayout>
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1">
<Button android:id="@+id/user_feed_button"
android:onClick="openUserfeedIntent"
style="@style/DashboardButton"
android:text="@string/userfeed"
android:drawableTop="@drawable/ic_menu_slideshow"/>
<Button android:id="@+id/camera_button"
android:onClick="openPictureIntent"
style="@style/DashboardButton"
android:text="@string/take_picture"
android:drawableTop="@drawable/ic_menu_camera"/>
</LinearLayout>
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1">
<Button android:id="@+id/gallery_button"
android:onClick="openGalleryIntent"
style="@style/DashboardButton"
android:text="@string/gallery"
android:drawableTop="@drawable/ic_menu_gallery"/>
<Button android:id="@+id/login_button"
android:onClick="openLoginIntent"
style="@style/DashboardButton"
android:text="@string/login"
android:drawableTop="@drawable/ic_menu_login"/>
</LinearLayout>
</LinearLayout>
</LinearLayout>