/
githubmirror
/
omim
Обзор
Документация
Войти
/
githubmirror
/
omim
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
android/res/layout/subscription_button.xml
69 строк
3 KB
Александр Зацепин
[android] Changed sale text look on subscription screens
13 янв 2020, 12:04
13 янв 2020, 12:04
69c096b
Код
Авторство
О чём код?
<?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" xmlns:tools="http://schemas.android.com/tools"> <RelativeLayout android:id="@+id/button_container" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:padding="@dimen/margin_half_plus" android:minHeight="@dimen/height_block_base" android:layout_marginTop="@dimen/margin_base_plus_quarter" tools:background="?primaryButtonBackground"> <TextView android:id="@+id/name" android:layout_toStartOf="@id/price" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentStart="true" android:layout_centerVertical="true" android:textColor="@color/white_primary" android:fontFamily="@string/robotoMedium" android:textSize="@dimen/text_size_body_3" android:textAllCaps="true" android:letterSpacing="0.04" tools:text="ANNUAL" tools:targetApi="lollipop" /> <TextView android:id="@id/price" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentEnd="true" android:layout_centerVertical="true" android:textColor="@color/white_primary" android:fontFamily="@string/robotoMedium" android:textSize="@dimen/text_size_body_3" android:textAllCaps="true" android:letterSpacing="0.04" tools:text="VNG 29000 / MO" tools:targetApi="lollipop" /> <ProgressBar android:id="@+id/progress" android:layout_width="@dimen/progress_bar_size" android:layout_height="@dimen/progress_bar_size" android:layout_centerInParent="true" android:visibility="gone" tools:visibility="visible" /> </RelativeLayout> <TextView android:id="@+id/sale" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="@dimen/margin_quarter" android:paddingStart="@dimen/margin_half" android:paddingEnd="@dimen/margin_half" android:paddingTop="@dimen/margin_quarter" android:paddingBottom="@dimen/margin_quarter" android:layout_gravity="top|start" android:gravity="center_horizontal|top" android:textSize="@dimen/text_size_body_3" android:textColor="@color/white_primary" android:fontFamily="@string/robotoMedium" android:elevation="@dimen/margin_eighth" tools:text="@string/all_pass_screen_best_value" tools:background="@color/sale_view_bg" tools:targetApi="lollipop" /> </FrameLayout>