Merge branch 'master' of https://codeberg.org/gitnex/GitNex into notifications-performance-improvements Conflicts: app/src/main/java/org/mian/gitnex/adapters/DraftsAdapter.java app/src/main/java/org/mian/gitnex/adapters/NotificationsAdapter.java app/src/main/java/org/mian/gitnex/adapters/UserAccountsAdapter.java app/src/main/java/org/mian/gitnex/adapters/UserAccountsNavAdapter.java app/src/main/res/layout/bottom_sheet_repository_in_list.xml app/src/main/res/layout/list_files.xml Merge branch 'master' into notifications-performance-improvements Merge branch 'master' into notifications-performance-improvements Merge branch 'master' of https://codeberg.org/gitnex/GitNex into notifications-performance-improvements Conflicts: app/src/main/res/values-it/strings.xml Add ripple effect to buttons. Run syntax highlighting on separate thread. (#859) Initial commit. Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/875 Reviewed-by: M M Arif <mmarif@noreply.codeberg.org> Co-Authored-By: opyale <opyale@noreply.codeberg.org> Co-Committed-By: opyale <opyale@noreply.codeberg.org>
71 lines
2.6 KiB
XML
71 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingTop="6dp"
|
|
android:paddingBottom="12dp"
|
|
android:background="?attr/primaryBackgroundColor">
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:orientation="vertical"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:id="@+id/markPinned"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:focusable="true"
|
|
android:clickable="true"
|
|
android:drawablePadding="24dp"
|
|
android:padding="12dp"
|
|
android:text="@string/pinNotification"
|
|
android:textColor="?attr/primaryTextColor"
|
|
android:textSize="16sp"
|
|
app:drawableStartCompat="@drawable/ic_pin" />
|
|
|
|
<TextView
|
|
android:id="@+id/markRead"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:focusable="true"
|
|
android:clickable="true"
|
|
android:drawablePadding="24dp"
|
|
android:padding="12dp"
|
|
android:text="@string/markAsRead"
|
|
android:textColor="?attr/primaryTextColor"
|
|
android:textSize="16sp"
|
|
app:drawableStartCompat="@drawable/ic_unwatch" />
|
|
|
|
<TextView
|
|
android:id="@+id/markUnread"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:focusable="true"
|
|
android:clickable="true"
|
|
android:drawablePadding="24dp"
|
|
android:padding="12dp"
|
|
android:text="@string/markAsUnread"
|
|
android:textColor="?attr/primaryTextColor"
|
|
android:textSize="16sp"
|
|
app:drawableStartCompat="@drawable/ic_watchers" />
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
</LinearLayout>
|