aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout
diff options
context:
space:
mode:
authorChristian S <christian@pix-art.de>2016-01-23 11:10:01 +0100
committerChristian S <christian@pix-art.de>2016-01-23 11:10:01 +0100
commit07d139decd7ed9f616b15539bbca00e244eb8a29 (patch)
tree339791f3e322529144f40e6953af7d1b2dd30722 /src/main/res/layout
parent7dd587554f81a35a42a2fdc4cdd74785b28114bc (diff)
make actionbar title/subtitle clickable
* show conference or contact details * hide button to show conference or contact details
Diffstat (limited to 'src/main/res/layout')
-rw-r--r--src/main/res/layout/ab_title.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/main/res/layout/ab_title.xml b/src/main/res/layout/ab_title.xml
new file mode 100644
index 000000000..5b22ad252
--- /dev/null
+++ b/src/main/res/layout/ab_title.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical" android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <TextView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@android:id/text1"
+ style="@style/Base.TextAppearance.AppCompat.Widget.ActionBar.Title"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:ellipsize="end"
+ android:singleLine="true"
+ android:gravity="center_vertical"
+ android:textColor="@color/grey200"
+ android:clickable="true"
+ android:onClick="onClick" />
+ <TextView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@android:id/text2"
+ style="@style/Base.TextAppearance.AppCompat.Widget.ActionBar.Subtitle"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:ellipsize="end"
+ android:layout_below="@android:id/text1"
+ android:singleLine="true"
+ android:textSize="12dp"
+ android:textColor="@color/black54"
+ android:gravity="center_vertical"
+ android:onClick="onClick"
+ android:clickable="true" />
+</RelativeLayout> \ No newline at end of file