summaryrefslogtreecommitdiffstats
path: root/mobile/android/base/resources/layout/two_line_folder_row.xml
blob: 3ca52749f94a7b2a281cd994105b0319b078d6fa (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
<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<merge xmlns:android="http://schemas.android.com/apk/res/android"
       xmlns:tools="http://schemas.android.com/tools"
       xmlns:gecko="http://schemas.android.com/apk/res-auto"
       tools:context=".BrowserApp">

    <ImageView android:id="@+id/icon"
               android:src="@drawable/folder_closed"
               android:layout_width="24dp"
               android:layout_height="18dp"
               android:scaleType="fitXY"
               android:layout_margin="20dp"/>

    <LinearLayout android:layout_width="0dp"
                  android:layout_height="wrap_content"
                  android:layout_weight="1"
                  android:layout_gravity="center_vertical"
                  android:paddingRight="10dp"
                  android:orientation="vertical">

        <org.mozilla.gecko.widget.FadedSingleColorTextView
                android:id="@+id/title"
                style="@style/Widget.TwoLinePageRow.Title"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                gecko:fadeWidth="90dp"
                tools:text="This is a long test title"/>

        <org.mozilla.gecko.widget.FadedSingleColorTextView android:id="@+id/subtitle"
                  style="@style/Widget.TwoLinePageRow.Url"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:visibility="gone"
                  gecko:fadeWidth="90dp"
                  tools:text="1 items"/>

    </LinearLayout>

</merge>