Cleanup Bookmarks, History, and SavedPages screen
- Redesigned bookmark thumbnail view
- Custom ImageView to scale the thumbnail properly
- Fix column count in bookmark expandable view
- Disable GroupView if we have only one account in bookmark
Change-Id: I2fccae50b9e96c909744bd5c7d0af7b373136c54
diff --git a/res/layout/history.xml b/res/layout/history.xml
index 53f70dc..705c32d 100644
--- a/res/layout/history.xml
+++ b/res/layout/history.xml
@@ -39,18 +39,34 @@
android:visibility="gone"
/>
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/combo_shadow_height"
+ android:layout_gravity="bottom"
+ android:background="@drawable/shadow_top" />
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/combo_shadow_height"
+ android:layout_gravity="top"
+ android:background="@drawable/shadow_bottom" />
+
</FrameLayout>
+
+
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="10"
- android:layout_alignParentBottom="true" >
+ android:background="@color/primary"
+ style="?android:attr/buttonBarStyle" >
<Button
android:id="@+id/clear_history_button"
android:text="@string/clear_history"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ style="?android:attr/buttonBarButtonStyle"
/>
</LinearLayout>