mirror of
https://codeberg.org/gitnex/GitNex
synced 2024-12-23 00:48:57 +01:00
Add browser icon and xml element in menu
This commit is contained in:
parent
2bdeee5429
commit
b15394e97d
5
app/src/main/res/drawable/ic_open_in_browser.xml
Normal file
5
app/src/main/res/drawable/ic_open_in_browser.xml
Normal 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>
|
@ -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"
|
||||
|
@ -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>
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user