diff options
author | Pankaj Garg <pgarg@codeaurora.org> | 2015-07-13 09:54:21 -0700 |
---|---|---|
committer | jrizzoli <joey@cyanogenmoditalia.it> | 2015-08-28 13:15:46 +0200 |
commit | 634bf437d710db2b54840365925b91b5d35ba571 (patch) | |
tree | 080b7cff8815a7dec57f1aa1d0548e4069c06a75 /res/layout/browser_add_bookmark_content.xml | |
parent | 4101f27ca8b79962e6ca8196c72599645aec7bcb (diff) | |
download | android_packages_apps_Gello-634bf437d710db2b54840365925b91b5d35ba571.tar.gz android_packages_apps_Gello-634bf437d710db2b54840365925b91b5d35ba571.tar.bz2 android_packages_apps_Gello-634bf437d710db2b54840365925b91b5d35ba571.zip |
Browser bookmark cleanup
- Option to remove bookmark on clicking "star"
button
- Add bookmark dialog look cleanup
- Hide "account" in "add bookmark dialog" if only
one account
Change-Id: I42fd4d54f119bb3bcdb784fd2f6f58570d019eee
Diffstat (limited to 'res/layout/browser_add_bookmark_content.xml')
-rw-r--r-- | res/layout/browser_add_bookmark_content.xml | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/res/layout/browser_add_bookmark_content.xml b/res/layout/browser_add_bookmark_content.xml index f97753dc..186bbc09 100644 --- a/res/layout/browser_add_bookmark_content.xml +++ b/res/layout/browser_add_bookmark_content.xml @@ -135,7 +135,8 @@ android:ellipsize="end" android:textAppearance="?android:attr/textAppearanceMedium" /> </TableRow> - <TableRow android:layout_marginBottom="10dip"> + <TableRow android:layout_marginBottom="10dip" + android:id="@+id/row_account"> <TextView android:layout_height="wrap_content" android:layout_width="wrap_content" @@ -203,21 +204,22 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" + android:gravity="end" style="?android:attr/buttonBarStyle"> + <Button android:id="@+id/delete" + android:visibility="gone" + android:text="@string/remove_bookmark" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + style="?android:attr/buttonBarButtonStyle" /> <Button android:id="@+id/cancel" android:text="@string/do_not_save" - android:layout_width="0dip" - android:layout_gravity="end" - android:layout_weight="1" - android:maxLines="2" + android:layout_width="wrap_content" android:layout_height="wrap_content" style="?android:attr/buttonBarButtonStyle" /> <Button android:id="@+id/OK" android:text="@string/save" - android:layout_width="0dip" - android:layout_gravity="start" - android:layout_weight="1" - android:maxLines="2" + android:layout_width="wrap_content" android:layout_height="wrap_content" style="?android:attr/buttonBarButtonStyle" /> </LinearLayout> |