]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - res/layout/dictionary_activity.xml
Also add a search/clear FloatingActionButton.
[Dictionary.git] / res / layout / dictionary_activity.xml
index e92915d42c54eee714c9907fca4cbb7fd6b213db..ca812d18f4083a923e321cf6356acb0dd6f15f47 100644 (file)
         android:layout_height="wrap_content"
         android:src="@drawable/ic_swap_horiz_black_24dp" />
 
+     <android.support.design.widget.FloatingActionButton
+        android:id="@+id/floatSearchButton"
+        android:layout_toLeftOf="@+id/floatSwapButton"
+        android:layout_alignParentBottom="true"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:src="@drawable/ic_search_black_24dp" />
+
     <TextView
         android:id="@android:id/empty"
         android:layout_width="match_parent"