Permalink
Browse files

Add a text view for optionally showing a message for adding.

  • Loading branch information...
1 parent 2556295 commit 058930a5a445cf3a7d61b7dcd01fb6c5df42ef78 @nickpalmer nickpalmer committed Apr 23, 2012
Showing with 22 additions and 5 deletions.
  1. +22 −5 res/layout/draggable_add.xml
@@ -1,8 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent" android:id="@+id/relativeLayout1"
- android:layout_height="wrap_content" android:gravity="right">
- <ImageButton android:src="@drawable/add_button" android:padding="5sp" android:background="@null"
- android:layout_gravity="center_vertical|right" android:id="@+id/add_button"
- android:layout_width="wrap_content" android:layout_height="wrap_content"></ImageButton>
+ android:id="@+id/relativeLayout1"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:gravity="right" >
+
+ <TextView
+ android:id="@+id/empty_text"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:visible="false" >
+ </TextView>
+
+ <ImageButton
+ android:id="@+id/add_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical|right"
+ android:background="@null"
+ android:padding="5sp"
+ android:src="@drawable/add_button" >
+ </ImageButton>
+
</FrameLayout>

0 comments on commit 058930a

Please sign in to comment.