add chat button

This commit is contained in:
Andy2 2010-10-21 06:28:01 -07:00
parent 5c9cf0ebc8
commit 8a891816b4
3 changed files with 13 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View file

@ -53,6 +53,10 @@
style="@style/toolbar_button"
android:src="@drawable/undo"
/>
<ImageButton android:id="@+id/chat_button_horizontal"
style="@style/toolbar_button"
android:src="@drawable/stat_notify_chat"
/>
</LinearLayout>
</LinearLayout>
@ -85,6 +89,11 @@
style="@style/toolbar_button"
android:src="@drawable/undo"
/>
<ImageButton android:id="@+id/chat_button_vertical"
style="@style/toolbar_button"
android:src="@drawable/stat_notify_chat"
/>
</LinearLayout>
</LinearLayout>

View file

@ -47,6 +47,7 @@ public class Toolbar {
public static final int BUTTON_JUGGLE = 3;
public static final int BUTTON_ZOOM = 4;
public static final int BUTTON_UNDO = 5;
public static final int BUTTON_CHAT = 6;
private static TBButtonInfo[] s_buttonInfo = {
// BUTTON_HINT_PREV
@ -67,6 +68,9 @@ public class Toolbar {
// BUTTON_UNDO
new TBButtonInfo( R.id.undo_button_horizontal,
R.id.undo_button_vertical ),
// BUTTON_CHAT
new TBButtonInfo( R.id.chat_button_horizontal,
R.id.chat_button_vertical ),
};
private Activity m_activity;