Updates to SWE browser's options menu
- Changed the contents of the menu
- Iconified frequently used items
- Changes to layout and menu animation
- Removed popup menu from History and Bookmarks page
-- Added buttons to these pages to replace menu items
- Updated icons used in popup menu
- Added menu option to save link to homepage
- Add bookmark icon color depicts if bookmark exists
Change-Id: I37226506737647367f71159f1a439cc3fca4ae03
diff --git a/res/layout/history.xml b/res/layout/history.xml
index f3adb51..53f70dc 100644
--- a/res/layout/history.xml
+++ b/res/layout/history.xml
@@ -14,23 +14,44 @@
limitations under the License.
-->
-<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
->
+ android:orientation="vertical" >
- <ExpandableListView
- android:id="@+id/history"
- android:layout_height="match_parent"
- android:layout_width="match_parent" />
+ <FrameLayout
+ android:layout_width="match_parent"
+ android:layout_weight="90"
+ android:layout_height="match_parent" >
- <TextView android:id="@android:id/empty"
- android:layout_width="wrap_content"
+ <ExpandableListView
+ android:id="@+id/history"
+ android:layout_height="match_parent"
+ android:layout_width="match_parent" />
+
+ <TextView android:id="@android:id/empty"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:textAppearance="?android:attr/textAppearanceLarge"
+ android:text="@string/empty_history"
+ android:visibility="gone"
+ />
+
+ </FrameLayout>
+ <LinearLayout
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:textAppearance="?android:attr/textAppearanceLarge"
- android:text="@string/empty_history"
- android:visibility="gone"
- />
+ android:layout_weight="10"
+ android:layout_alignParentBottom="true" >
-</FrameLayout>
+ <Button
+ android:id="@+id/clear_history_button"
+ android:text="@string/clear_history"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ />
+ </LinearLayout>
+
+</LinearLayout>
\ No newline at end of file