| <?xml version="1.0" encoding="utf-8"?> |
| |
| <!-- |
| list item which shows a followed tag - see ReaderTagAdapter |
| --> |
| |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:tools="http://schemas.android.com/tools" |
| xmlns:app="http://schemas.android.com/apk/res-auto" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:background="?android:selectableItemBackground" |
| android:orientation="horizontal" |
| android:paddingBottom="@dimen/margin_medium" |
| android:paddingLeft="@dimen/margin_extra_large" |
| android:paddingRight="@dimen/margin_extra_large" |
| android:paddingTop="@dimen/margin_medium"> |
| |
| <org.wordpress.android.widgets.WPTextView |
| android:id="@+id/text_topic" |
| android:layout_width="0dp" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center_vertical" |
| android:layout_weight="1" |
| android:textColor="@color/grey_dark" |
| android:textSize="@dimen/text_sz_large" |
| tools:text="text_topic" /> |
| |
| <ImageButton |
| android:id="@+id/btn_remove" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center_vertical" |
| android:background="?android:selectableItemBackground" |
| android:padding="@dimen/margin_small" |
| android:contentDescription="@string/remove" |
| app:srcCompat="@drawable/ic_close_grey600_24dp" /> |
| </LinearLayout> |