/
githubmirror
/
omim
Обзор
Документация
Войти
/
githubmirror
/
omim
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
android/res/layout/outdoor_content.xml
73 строки
3 KB
Александр Зацепин
[android] Fixed font style in guides gallery item, added spase to dot separator, decreased on 8dp the pull on touch animation in guides gallery
02 июл 2020, 17:53
02 июл 2020, 17:53
5dbca2f
Код
Авторство
О чём код?
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="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:layout_marginTop="@dimen/margin_half" android:orientation="horizontal"> <LinearLayout android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:gravity="center"> <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" app:srcCompat="?guidesTime" /> <TextView android:id="@+id/time" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="@dimen/margin_quarter" android:ellipsize="end" android:fontFamily="@string/robotoMedium" android:lines="1" android:textColor="?android:textColorSecondary" android:textSize="@dimen/text_size_body_4" tools:text="12h" /> </LinearLayout> <LinearLayout android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:gravity="center"> <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" app:srcCompat="?guidesDistance" /> <TextView android:id="@+id/distance" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="@dimen/margin_quarter" android:ellipsize="end" android:fontFamily="@string/robotoMedium" android:lines="1" android:textColor="?android:textColorSecondary" android:textSize="@dimen/text_size_body_4" tools:text="30km" /> </LinearLayout> <LinearLayout android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:gravity="center"> <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" app:srcCompat="?guidesAltitude" /> <TextView android:id="@+id/altitude" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="@dimen/margin_quarter" android:ellipsize="end" android:fontFamily="@string/robotoMedium" android:lines="1" android:textColor="?android:textColorSecondary" android:textSize="@dimen/text_size_body_4" tools:text="100m" /> </LinearLayout> </LinearLayout>