Add browser icon and xml element in menu

This commit is contained in:
M M Arif 2019-09-14 12:26:20 +05:00
parent 2bdeee5429
commit b15394e97d
4 changed files with 13 additions and 2 deletions

View File

@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="#FFFFFF"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M19,4L5,4c-1.11,0 -2,0.9 -2,2v12c0,1.1 0.89,2 2,2h4v-2L5,18L5,8h14v10h-4v2h4c1.1,0 2,-0.9 2,-2L21,6c0,-1.1 -0.89,-2 -2,-2zM12,10l-4,4h3v6h2v-6h3l-4,-4z"/>
</vector>

View File

@ -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"

View File

@ -11,4 +11,9 @@
android:icon="@drawable/ic_watchers"
android:title="@string/repoWatchersInMenu" />
<item
android:id="@+id/repoOpenWithBrowser"
android:icon="@drawable/ic_open_in_browser"
android:title="@string/openWebRepo" />
</menu>

View File

@ -342,7 +342,6 @@
<string name="removeCollaboratorMessage">Do you want to remove this user from the repository?</string>
<string name="removeCollaboratorToastText">User removed from the repository.</string>
<string name="addCollaboratorToastText">User added to the repository.</string>
<string name="openWebRepo">Open with Browser</string>
<!-- add collaborator -->
<!-- profile section -->
@ -433,6 +432,8 @@
<string name="loginOTP">OTP Code (Optional)</string>
<string name="otpMessage">Enter the otp code if 2FA is enabled</string>
<string name="openWebRepo">Open in Browser</string>
<string name="repoStargazersInMenu">Stargazers</string>
<string name="repoWatchersInMenu">Watchers</string>
<string name="noDataStargazers">No stars found</string>