/
githubmirror
/
omim
Обзор
Документация
Войти
/
githubmirror
/
omim
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
android/res/layout/fragment_direction.xml
53 строки
2 KB
Dmitry Yunitsky
[android] UI fix for cut off title.
29 мар 2016, 19:22
29 мар 2016, 19:22
a01284a
Код
Авторство
О чём код?
<?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:layout_width="match_parent" android:layout_height="match_parent" android:paddingLeft="@dimen/margin_direction_side" android:paddingRight="@dimen/margin_direction_side" tools:background="@color/bg_dialog_translucent"> <com.mapswithme.maps.widget.ArrowView android:id="@+id/av__direction" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true" android:layout_marginTop="@dimen/margin_direction_small" android:src="@drawable/ic_direction_fullscreen"/> <TextView android:id="@+id/tv__subtitle" style="@style/MwmWidget.TextView.Direction" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_above="@id/av__direction" android:layout_centerHorizontal="true" android:gravity="center_horizontal" android:textColor="@color/bg_text_translucent" android:textSize="@dimen/text_direction_subtitle" tools:text="Some place type"/> <TextView android:id="@+id/tv__title" style="@style/MwmWidget.TextView.Direction" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_above="@id/tv__subtitle" android:layout_centerHorizontal="true" android:gravity="center_horizontal" android:layout_marginBottom="@dimen/margin_direction_small" android:textSize="@dimen/text_direction_title" tools:text="Place, \n long, \n long"/> <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:gravity="center_horizontal" android:layout_marginTop="@dimen/margin_direction_big" android:textSize="@dimen/text_direction_dist" tools:text="9000 km"/> </RelativeLayout>