summaryrefslogtreecommitdiff
path: root/android/sdremote/res/layout/fragment_slides_pager.xml
blob: 8bf235cbf59e9b971ce1ef21fbcf031435543834 (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"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:orientation="vertical"
              android:gravity="center"
              android:paddingTop="@dimen/padding_slides_pager"
              android:paddingBottom="@dimen/padding_slides_pager"
              android:layout_width="match_parent"
              android:layout_height="match_parent">

    <android.support.v4.view.ViewPager
        android:id="@+id/pager_slides"
        android:layout_weight="4"
        android:layout_width="match_parent"
        android:layout_height="0dp"/>

    <LinearLayout
        android:id="@+id/layout_notes"
        android:orientation="vertical"
        android:paddingLeft="@dimen/padding_slides_pager"
        android:paddingRight="@dimen/padding_slides_pager"
        android:layout_weight="3"
        android:layout_width="match_parent"
        android:layout_height="0dp">

        <org.libreoffice.impressremote.view.CapsTextView
            style="@style/SectionHeader"
            android:text="@string/header_notes"
            android:paddingTop="@dimen/padding_header"/>

        <ScrollView
            android:id="@+id/scroll_notes"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content">

            <TextSwitcher
                android:id="@+id/text_switcher_notes"
                android:inAnimation="@android:anim/fade_in"
                android:outAnimation="@android:anim/fade_out"
                android:measureAllChildren="false"
                android:paddingTop="@dimen/padding_slide_notes"
                android:paddingLeft="@dimen/padding_slide_notes"
                android:paddingRight="@dimen/padding_slide_notes"
                android:layout_width="match_parent"
                android:layout_height="wrap_content">

                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"/>

                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"/>

            </TextSwitcher>

        </ScrollView>

    </LinearLayout>

</LinearLayout>