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

routing_bottom_panel_transit.xml « layout « res « android - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4b7b7356b2b44385dc9d132df4e65428e7da7724 (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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:id="@+id/transit_panel"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  android:paddingLeft="@dimen/margin_base"
  android:paddingStart="@dimen/margin_base"
  android:paddingRight="@dimen/margin_base"
  android:paddingEnd="@dimen/margin_base"
  android:paddingBottom="@dimen/margin_half"
  android:paddingTop="@dimen/margin_half_plus">
  <TextView
    android:id="@+id/total_time"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentTop="true"
    android:layout_alignParentLeft="true"
    android:layout_alignParentStart="true"
    style="@style/MwmWidget.TextView.PlanDetail.Number.Time"
    tools:text="40 min"/>
  <TextView
    android:id="@+id/dot"
    android:layout_toRightOf="@id/total_time"
    android:layout_toEndOf="@id/total_time"
    style="@style/MwmWidget.TextView.PlanDetail.Number.Secondary"
    android:layout_marginLeft="@dimen/margin_quarter_plus"
    android:layout_marginStart="@dimen/margin_quarter_plus"
    android:layout_marginRight="@dimen/margin_quarter_plus"
    android:layout_marginTop="@dimen/margin_eighth"
    android:text="•"
    tools:ignore="HardcodedText"/>
  <ImageView
    android:id="@+id/pedestrian_icon"
    android:layout_alignBottom="@id/total_time"
    android:layout_toRightOf="@id/dot"
    android:layout_toEndOf="@id/dot"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:src="@drawable/ic_20px_route_planning_walk"
    android:tint="?iconTint"/>
  <TextView
    android:id="@+id/total_distance"
    android:layout_toRightOf="@id/pedestrian_icon"
    android:layout_toEndOf="@id/pedestrian_icon"
    style="@style/MwmWidget.TextView.PlanDetail.Number.Secondary"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    tools:text="1 km"/>
  <androidx.recyclerview.widget.RecyclerView
    android:id="@+id/transit_recycler_view"
    android:layout_marginTop="@dimen/margin_half_plus"
    android:layout_alignParentStart="true"
    android:layout_alignParentLeft="true"
    android:layout_below="@id/total_distance"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"/>
</RelativeLayout>