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

fragment_timetable_advanced.xml « layout « res « android - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cca693bab6afe5bb570a59d18ed978f730e52984 (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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:card_view="http://schemas.android.com/apk/res-auto"
  xmlns:tools="http://schemas.android.com/tools"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:background="?windowBackgroundForced">

  <LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:padding="@dimen/margin_half">

    <androidx.cardview.widget.CardView
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      card_view:cardBackgroundColor="?cardBackground"
      card_view:cardCornerRadius="2dp"
      card_view:cardElevation="4dp">

      <EditText
        android:id="@+id/et__timetable"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:background="@null"
        android:gravity="top|start"
        android:inputType="textMultiLine"
        android:padding="@dimen/margin_base"
        android:textAppearance="@style/MwmTextAppearance.Body3"
        tools:hint="hint"
        tools:text="trololo \ntrololo \ntrololo"/>

    </androidx.cardview.widget.CardView>

    <androidx.cardview.widget.CardView
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:layout_marginTop="@dimen/margin_half"
      card_view:cardBackgroundColor="?cardBackground"
      card_view:cardCornerRadius="2dp"
      card_view:cardElevation="4dp">

      <RelativeLayout
        android:id="@+id/examples"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:animateLayoutChanges="true">

        <TextView
          android:id="@+id/tv__examples_title"
          android:layout_width="match_parent"
          android:layout_height="@dimen/height_block_base"
          android:background="?clickableBackground"
          android:drawablePadding="@dimen/margin_base"
          android:gravity="center_vertical"
          android:padding="@dimen/margin_base"
          android:text="@string/editor_example_values"
          android:textAppearance="@style/MwmTextAppearance.Body3"
          android:textColor="?colorAccent"/>

        <View
          android:layout_width="match_parent"
          android:layout_height="1dp"
          android:layout_below="@id/tv__examples_title"
          android:background="?dividerHorizontal"/>

        <WebView
          android:id="@+id/wv__examples"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_below="@id/tv__examples_title"
          android:padding="@dimen/margin_base"/>

      </RelativeLayout>

    </androidx.cardview.widget.CardView>

  </LinearLayout>

</ScrollView>