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

widget_fastactions_detailview.xml « layout « res « main « src « News-Android-App - github.com/nextcloud/news-android.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0a1fe45545509e7e5c6c64793b1e3f95e22874f7 (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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:background="@drawable/fa_bg"
    android:orientation="horizontal"
    android:animateLayoutChanges="true">

    <!--
    <androidx.appcompat.widget.AppCompatImageButton
        android:id="@+id/fa_toggle"
        android:layout_width="56dp"
        android:layout_height="56dp"
        android:background="@color/transparent"
        app:srcCompat="@drawable/ic_fa_expand" />
    -->

    <!-- android:layout_toRightOf="@id/fa_toggle" android:visibility="gone"-->
    <LinearLayout
        android:id="@+id/fa_collapse_layout"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:visibility="visible">

        <androidx.appcompat.widget.AppCompatImageButton
            android:id="@+id/fa_star"
            android:layout_width="56dp"
            android:layout_height="56dp"
            android:background="?android:attr/selectableItemBackground"
            android:src="@drawable/ic_action_star_border_dark" />

        <androidx.appcompat.widget.AppCompatImageButton
            android:id="@+id/fa_mark_as_read"
            android:layout_width="56dp"
            android:layout_height="56dp"
            android:background="?android:attr/selectableItemBackground"
            app:srcCompat="@drawable/ic_checkbox_outline_white" />

        <!--
        <androidx.appcompat.widget.AppCompatImageButton
            android:id="@+id/fa_share"
            android:layout_width="56dp"
            android:layout_height="56dp"
            android:background="?android:attr/selectableItemBackground"
            app:srcCompat="@drawable/ic_share_white" />
        -->
    </LinearLayout>


    <androidx.appcompat.widget.AppCompatImageButton
        android:id="@+id/fa_open_in_browser"
        android:layout_width="56dp"
        android:layout_height="56dp"
        android:layout_toEndOf="@id/fa_collapse_layout"
        android:background="@drawable/fa_button"
        android:src="@drawable/ic_action_open_in_browser"
        android:translationZ="50dp" />

</RelativeLayout>