OsmAnd/OsmAnd-telegram/res/layout/secondary_btn.xml

30 lines
1.1 KiB
XML
Raw Normal View History

2018-06-26 20:29:38 +02:00
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
2018-06-26 20:29:38 +02:00
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/secondary_btn_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/secondary_btn_bg">
<net.osmand.telegram.ui.views.TextViewEx
2018-06-26 20:29:38 +02:00
android:id="@+id/secondary_btn"
android:layout_width="match_parent"
android:layout_height="@dimen/dialog_button_height"
android:layout_gravity="center"
android:background="?attr/selectableItemBackgroundBorderless"
android:ellipsize="end"
android:gravity="center"
android:letterSpacing="@dimen/text_button_letter_spacing"
android:maxLines="1"
android:paddingLeft="@dimen/content_padding_standard"
android:paddingRight="@dimen/content_padding_standard"
2018-06-26 20:29:38 +02:00
android:textColor="?attr/ctrl_active_color"
android:textSize="@dimen/text_button_text_size"
app:typeface="@string/font_roboto_medium"
2018-06-26 20:29:38 +02:00
tools:ignore="UnusedAttribute"
tools:text="Secondary button"/>
</FrameLayout>