Added Android code
[wl-app.git] / Android / app / src / main / res / layout / filter_item.xml
diff --git a/Android/app/src/main/res/layout/filter_item.xml b/Android/app/src/main/res/layout/filter_item.xml
new file mode 100644 (file)
index 0000000..4240bf8
--- /dev/null
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+                xmlns:tools="http://schemas.android.com/tools"
+                android:layout_width="wrap_content"
+                android:layout_height="@dimen/book_search_filters_height"
+                android:paddingLeft="5dp"
+                android:paddingRight="5dp">
+
+    <TextView
+        android:id="@+id/tvFilterName"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:layout_centerInParent="true"
+        android:background="@drawable/filter_background"
+        android:drawableEnd="@drawable/close_small_tint"
+        android:drawablePadding="10dp"
+        android:paddingBottom="5dp"
+        android:paddingLeft="15dp"
+        android:paddingRight="15dp"
+        android:paddingTop="5dp"
+        android:textAllCaps="true"
+        android:textColor="@color/white"
+        android:textSize="12dp"
+        tools:ignore="SpUsage"/>
+</RelativeLayout>
\ No newline at end of file