diff options
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout')
-rw-r--r-- | org.fox.ttrss/src/main/res/layout/fragment_headlines.xml | 4 | ||||
-rw-r--r-- | org.fox.ttrss/src/main/res/layout/headlines_row_undo.xml | 29 |
2 files changed, 31 insertions, 2 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/fragment_headlines.xml b/org.fox.ttrss/src/main/res/layout/fragment_headlines.xml index 7b7244a3..ddca91fd 100644 --- a/org.fox.ttrss/src/main/res/layout/fragment_headlines.xml +++ b/org.fox.ttrss/src/main/res/layout/fragment_headlines.xml @@ -11,12 +11,12 @@ android:layout_width="match_parent" android:layout_height="match_parent" > - <ListView + <com.nhaarman.listviewanimations.itemmanipulation.DynamicListView android:id="@+id/headlines_list" android:drawSelectorOnTop="true" android:layout_width="match_parent" android:layout_height="match_parent" > - </ListView> + </com.nhaarman.listviewanimations.itemmanipulation.DynamicListView> </android.support.v4.widget.SwipeRefreshLayout> <!-- <TextView diff --git a/org.fox.ttrss/src/main/res/layout/headlines_row_undo.xml b/org.fox.ttrss/src/main/res/layout/headlines_row_undo.xml new file mode 100644 index 00000000..56c79056 --- /dev/null +++ b/org.fox.ttrss/src/main/res/layout/headlines_row_undo.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/headlines_row_undo" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:gravity="center" + android:background="?colorPrimaryDark" + android:orientation="horizontal" + android:paddingLeft="16dp" + android:weightSum="1"> + + <TextView + android:background="@drawable/ripple" + android:id="@+id/top_changed_label" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textColor="@android:color/primary_text_dark" + android:text="@string/headline_undo_row_prompt" + android:layout_weight="1" /> + + <Button + android:background="@drawable/ripple" + android:id="@+id/headlines_row_undo_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textColor="@android:color/primary_text_dark" + android:text="@string/headline_undo_row_button" /> + +</LinearLayout>
\ No newline at end of file |