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

fragment_direction.xml « layout « res « android - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3bed9ce2af18776decadceff65772345d9ff9f36 (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="match_parent"
                android:layout_height="match_parent"
                android:background="@color/semitransparent_black_dark"
                android:orientation="vertical"
                android:paddingBottom="@dimen/margin_direction_big"
                android:paddingLeft="@dimen/margin_direction_left"
                android:paddingRight="@dimen/margin_direction_left"
                android:paddingTop="@dimen/margin_direction_top">

  <RelativeLayout
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:layout_centerInParent="true">

    <TextView
        android:id="@+id/tv__title"
        style="@style/MwmWidget.TextView.Direction"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerHorizontal="true"
        android:layout_marginBottom="@dimen/margin_direction_small"
        android:gravity="center_horizontal"
        android:textSize="@dimen/text_direction_title"/>

    <TextView
        android:id="@+id/tv__subtitle"
        style="@style/MwmWidget.TextView.Direction"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_below="@id/tv__title"
        android:layout_centerHorizontal="true"
        android:layout_marginBottom="@dimen/margin_direction_small"
        android:layout_marginLeft="@dimen/margin_medium_and_half"
        android:layout_marginRight="@dimen/margin_medium_and_half"
        android:textColor="@color/semitransparent_white"
        android:textSize="@dimen/text_direction_subtitle"/>

    <com.mapswithme.maps.widget.ArrowView
        android:id="@+id/av__direction"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_below="@id/tv__subtitle"
        android:layout_centerHorizontal="true"
        android:src="@drawable/ic_direction"/>

    <TextView
        android:id="@+id/tv__straight_distance"
        style="@style/MwmWidget.TextView.Direction"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_below="@id/av__direction"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="@dimen/margin_direction_big"
        android:textSize="@dimen/text_direction_dist"/>

  </RelativeLayout>

</RelativeLayout>