diff options
author | Clark Scheff <clark@cyngn.com> | 2014-09-23 15:45:26 -0700 |
---|---|---|
committer | Clark Scheff <clark@cyngn.com> | 2014-09-25 21:23:54 +0000 |
commit | 442e4d0846df4566ce2fa9c4c627125f2983ee8c (patch) | |
tree | f720d8a6ca8505fe32ea79e2fe98a862be13abc0 /res/layout/fragment_pager_list.xml | |
parent | 885239ffdcf1538427226e582b0aee80ce920afd (diff) | |
download | packages_apps_ThemeChooser-442e4d0846df4566ce2fa9c4c627125f2983ee8c.tar.gz packages_apps_ThemeChooser-442e4d0846df4566ce2fa9c4c627125f2983ee8c.tar.bz2 packages_apps_ThemeChooser-442e4d0846df4566ce2fa9c4c627125f2983ee8c.zip |
Replace option menu with reset/delete actions
The code and xml for the popup menu are still in place for future
use. The image view for the menu is simply set to View.GONE so it
will not be available to the user at this time.
Change-Id: I7897e1c06532c51d6be82edca3bb76c37acbf9ae
Diffstat (limited to 'res/layout/fragment_pager_list.xml')
-rw-r--r-- | res/layout/fragment_pager_list.xml | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/res/layout/fragment_pager_list.xml b/res/layout/fragment_pager_list.xml index 9e9b69c..c562080 100644 --- a/res/layout/fragment_pager_list.xml +++ b/res/layout/fragment_pager_list.xml @@ -110,7 +110,27 @@ android:layout_marginStart="1dp" android:layout_marginEnd="8dp" android:scaleType="center" - android:src="@drawable/ic_overflow_dark"/> + android:src="@drawable/ic_overflow_dark" + android:visibility="gone"/> + + <ImageView + android:id="@+id/delete" + android:layout_width="36dp" + android:layout_height="match_parent" + android:layout_marginStart="1dp" + android:layout_marginEnd="8dp" + android:scaleType="center" + android:src="@drawable/ic_theme_delete"/> + + <ImageView + android:id="@+id/reset" + android:layout_width="36dp" + android:layout_height="match_parent" + android:layout_marginStart="1dp" + android:layout_marginEnd="8dp" + android:scaleType="center" + android:src="@drawable/ic_theme_reset" + android:visibility="gone"/> </LinearLayout> <ProgressBar android:id="@+id/apply_progress" |