/
githubmirror
/
omim
Обзор
Документация
Войти
/
githubmirror
/
omim
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
android/res/layout/item_street.xml
49 строк
2 KB
Dmitry Yunitsky
[android] Localized street in UI.
01 май 2016, 10:28
01 май 2016, 10:28
9e24e2d
Код
Авторство
О чём код?
<?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="@dimen/height_item_oneline" android:background="?clickableBackground" android:gravity="center_vertical" android:orientation="horizontal" android:paddingEnd="@dimen/margin_base" android:paddingLeft="@dimen/margin_half_plus" android:paddingRight="@dimen/margin_base" android:paddingStart="@dimen/margin_half_plus"> <RadioButton android:id="@+id/selected" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:layout_marginEnd="@dimen/margin_base" android:layout_marginRight="@dimen/margin_base"/> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_centerVertical="true" android:layout_marginLeft="60dp" android:layout_marginStart="60dp" android:orientation="vertical"> <TextView android:id="@+id/street_default" android:layout_width="match_parent" android:layout_height="wrap_content" android:singleLine="true" android:textAppearance="@style/MwmTextAppearance.Body1" tools:text="Street name"/> <TextView android:id="@+id/street_localized" android:layout_width="match_parent" android:layout_height="wrap_content" android:singleLine="true" android:textAppearance="@style/MwmTextAppearance.Body3" tools:text="Localized street name"/> </LinearLayout> </RelativeLayout>