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

51 lines
1.7 KiB
XML
Raw Normal View History

2018-08-08 18:17:00 +02:00
<?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"
2018-08-09 21:07:47 +02:00
android:layout_height="@dimen/list_item_height"
2018-08-08 18:17:00 +02:00
android:layout_marginBottom="@dimen/list_item_bottom_margin"
android:background="?attr/selectableItemBackground"
android:gravity="center_vertical"
android:paddingLeft="@dimen/content_padding_standard"
android:paddingRight="@dimen/content_padding_standard"
tools:background="@color/card_bg_light">
<ImageView
android:id="@+id/icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/content_padding_big"
android:layout_marginRight="@dimen/content_padding_big"
tools:src="@drawable/ic_action_live_now"
tools:tint="@color/icon_light"/>
<net.osmand.telegram.ui.views.TextViewEx
android:id="@+id/title"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/content_padding_standard"
android:layout_marginRight="@dimen/content_padding_standard"
android:layout_weight="1"
android:textColor="?android:textColorPrimary"
2018-08-09 21:07:47 +02:00
android:textSize="@dimen/list_item_title_text_size"
2018-08-08 18:17:00 +02:00
app:typeface="@string/font_roboto_regular"
tools:text="Some title"/>
<RadioButton
android:id="@+id/radio_button"
android:layout_width="wrap_content"
2018-08-09 21:07:47 +02:00
android:layout_height="wrap_content"
android:background="@null"
android:clickable="false"
android:focusable="false"
android:saveEnabled="false"/>
2018-08-08 18:17:00 +02:00
<include
layout="@layout/primary_btn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</LinearLayout>