Alexandre Lision | 67916dd | 2014-01-24 13:33:04 -0500 | [diff] [blame^] | 1 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
| 2 | xmlns:tools="http://schemas.android.com/tools"
|
| 3 | android:layout_width="match_parent"
|
| 4 | android:layout_height="match_parent"
|
| 5 | android:orientation="vertical"
|
| 6 | android:paddingBottom="@dimen/activity_vertical_margin"
|
| 7 | android:paddingLeft="@dimen/activity_horizontal_margin"
|
| 8 | android:paddingRight="@dimen/activity_horizontal_margin"
|
| 9 | android:paddingTop="@dimen/activity_vertical_margin"
|
| 10 | tools:context=".MainActivity" >
|
| 11 |
|
| 12 | <ListView
|
| 13 | android:id="@+id/listViewBuddy"
|
| 14 | android:layout_width="match_parent"
|
| 15 | android:layout_height="match_parent"
|
| 16 | android:layout_weight="1"
|
| 17 | android:listSelector="@drawable/bkg" >
|
| 18 | </ListView>
|
| 19 |
|
| 20 | <LinearLayout
|
| 21 | android:layout_width="match_parent"
|
| 22 | android:layout_height="wrap_content"
|
| 23 | android:orientation="horizontal" >
|
| 24 |
|
| 25 | <ImageButton
|
| 26 | android:id="@+id/buttonCall"
|
| 27 | android:layout_width="wrap_content"
|
| 28 | android:layout_height="wrap_content"
|
| 29 | android:layout_weight="1"
|
| 30 | android:onClick="makeCall"
|
| 31 | android:src="@android:drawable/ic_menu_call" />
|
| 32 |
|
| 33 | <TextView
|
| 34 | android:layout_width="wrap_content"
|
| 35 | android:layout_height="match_parent"
|
| 36 | android:layout_weight="1"
|
| 37 | android:text=" "/>
|
| 38 |
|
| 39 | <ImageButton
|
| 40 | android:id="@+id/buttonAddBuddy"
|
| 41 | android:layout_width="wrap_content"
|
| 42 | android:layout_height="wrap_content"
|
| 43 | android:layout_weight="1"
|
| 44 | android:onClick="addBuddy"
|
| 45 | android:src="@android:drawable/ic_menu_add" />
|
| 46 |
|
| 47 | <ImageButton
|
| 48 | android:id="@+id/buttonEditBuddy"
|
| 49 | android:layout_width="wrap_content"
|
| 50 | android:layout_height="wrap_content"
|
| 51 | android:layout_weight="1"
|
| 52 | android:onClick="editBuddy"
|
| 53 | android:src="@android:drawable/ic_menu_edit" />
|
| 54 |
|
| 55 | <ImageButton
|
| 56 | android:id="@+id/buttonDelBuddy"
|
| 57 | android:layout_width="wrap_content"
|
| 58 | android:layout_height="wrap_content"
|
| 59 | android:layout_weight="1"
|
| 60 | android:onClick="delBuddy"
|
| 61 | android:src="@android:drawable/ic_menu_delete" />
|
| 62 |
|
| 63 | </LinearLayout>
|
| 64 |
|
| 65 | </LinearLayout> |