From b15394e97dbaa5cec2f439e6ae6f358030d04c8b Mon Sep 17 00:00:00 2001 From: M M Arif Date: Sat, 14 Sep 2019 12:26:20 +0500 Subject: [PATCH] Add browser icon and xml element in menu --- app/src/main/res/drawable/ic_open_in_browser.xml | 5 +++++ app/src/main/res/layout/repo_bottom_sheet_layout.xml | 2 +- app/src/main/res/menu/repo_dotted_list_menu.xml | 5 +++++ app/src/main/res/values/strings.xml | 3 ++- 4 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 app/src/main/res/drawable/ic_open_in_browser.xml diff --git a/app/src/main/res/drawable/ic_open_in_browser.xml b/app/src/main/res/drawable/ic_open_in_browser.xml new file mode 100644 index 00000000..3fb9799c --- /dev/null +++ b/app/src/main/res/drawable/ic_open_in_browser.xml @@ -0,0 +1,5 @@ + + + diff --git a/app/src/main/res/layout/repo_bottom_sheet_layout.xml b/app/src/main/res/layout/repo_bottom_sheet_layout.xml index 3d7539ee..6b1db484 100644 --- a/app/src/main/res/layout/repo_bottom_sheet_layout.xml +++ b/app/src/main/res/layout/repo_bottom_sheet_layout.xml @@ -72,7 +72,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center_vertical" - android:drawableStart="@drawable/ic_language" + android:drawableStart="@drawable/ic_open_in_browser" android:drawablePadding="24dp" android:padding="16dp" android:text="@string/openWebRepo" diff --git a/app/src/main/res/menu/repo_dotted_list_menu.xml b/app/src/main/res/menu/repo_dotted_list_menu.xml index 6518de34..683d49c8 100644 --- a/app/src/main/res/menu/repo_dotted_list_menu.xml +++ b/app/src/main/res/menu/repo_dotted_list_menu.xml @@ -11,4 +11,9 @@ android:icon="@drawable/ic_watchers" android:title="@string/repoWatchersInMenu" /> + + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 0e3c9fef..703a0bf4 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -342,7 +342,6 @@ Do you want to remove this user from the repository? User removed from the repository. User added to the repository. - Open with Browser @@ -433,6 +432,8 @@ OTP Code (Optional) Enter the otp code if 2FA is enabled + Open in Browser + Stargazers Watchers No stars found