diff options
author | tom79 <tschneider.ac@gmail.com> | 2019-04-27 12:54:01 +0200 |
---|---|---|
committer | tom79 <tschneider.ac@gmail.com> | 2019-04-27 12:54:01 +0200 |
commit | 1e5e9e98d9a946c69e12bf831c6d60e5a48c79e2 (patch) | |
tree | c2b1415bd955d255c969c3ac03625cba0a364021 /app/src/main/res/layout | |
parent | 50e91b373cfc8c689aa5fade65945925c9e294c3 (diff) |
Issue #903 - Display undo layout when moving elements
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/fragment_reorder_tabs.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_reorder_tabs.xml b/app/src/main/res/layout/fragment_reorder_tabs.xml index 11b85bf93..7c8b99f72 100644 --- a/app/src/main/res/layout/fragment_reorder_tabs.xml +++ b/app/src/main/res/layout/fragment_reorder_tabs.xml @@ -28,5 +28,32 @@ android:scrollbars="none" > </android.support.v7.widget.RecyclerView> + + <RelativeLayout + android:id="@+id/undo_container" + android:visibility="gone" + android:background="@color/mastodonC3" + android:layout_width="match_parent" + android:layout_height="50dp" + android:layout_alignParentBottom="true" + android:layout_marginBottom="0dp"> + <TextView + android:id="@+id/undo_action" + android:paddingLeft="20dp" + android:paddingRight="20dp" + android:paddingTop="5dp" + android:paddingBottom="5dp" + android:layout_alignParentEnd="true" + android:layout_centerInParent="true" + android:layout_marginEnd="10dp" + android:layout_marginRight="10dp" + android:textColor="@color/mastodonC4" + android:textAllCaps="true" + android:text="@string/undo" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textSize="18sp" + android:layout_alignParentRight="true" /> + </RelativeLayout> </RelativeLayout> |