Welcome to mirror list, hosted at ThFree Co, Russian Federation.

fragment_note_preview.xml « layout « res « main « src « app - github.com/stefan-niedermann/nextcloud-notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0b660f8dd3914454850da6294accc21736060f8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:background="?attr/colorPrimary">

    <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
        android:id="@+id/swiperefreshlayout"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        tools:context="it.niedermann.owncloud.notes.main.MainActivity"
        tools:ignore="MergeRootFrame">

        <ScrollView
            android:id="@+id/scrollView"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:orientation="vertical"
            tools:context="it.niedermann.owncloud.notes.edit.EditNoteActivity">

            <it.niedermann.android.markdown.MarkdownViewerImpl
                android:id="@+id/single_note_content"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginStart="@dimen/spacer_activity_sides"
                android:layout_marginEnd="@dimen/spacer_activity_sides"
                android:lineSpacingMultiplier="@dimen/note_line_spacing"
                android:padding="@dimen/spacer_2x"
                android:paddingStart="@dimen/spacer_2x"
                android:paddingEnd="@dimen/spacer_2x"
                android:textAppearance="?android:attr/textAppearanceMedium"
                android:textColor="@color/fg_default"
                android:textIsSelectable="true"
                android:theme="@style/textViewStyle"
                tools:text="@tools:sample/lorem/random" />
        </ScrollView>
    </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>

    <com.google.android.material.floatingactionbutton.FloatingActionButton
        android:id="@+id/searchPrev"
        style="@style/fab"
        android:layout_gravity="bottom|end"
        android:contentDescription="@string/simple_prev"
        android:translationY="-56dp"
        android:visibility="gone"
        app:backgroundTint="@color/defaultBrand"
        app:fabSize="mini"
        app:srcCompat="@drawable/ic_keyboard_arrow_up_white_24dp"
        tools:visibility="visible" />

    <com.google.android.material.floatingactionbutton.FloatingActionButton
        android:id="@+id/searchNext"
        style="@style/fab"
        android:layout_gravity="bottom|end"
        android:contentDescription="@string/simple_next"
        android:visibility="gone"
        app:backgroundTint="@color/defaultBrand"
        app:fabSize="mini"
        app:srcCompat="@drawable/ic_keyboard_arrow_down_white_24dp"
        tools:visibility="visible" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>