Merge pull request #2022 from philipwhiuk/addToolsText

Add some useful tools text to the custom actionbar
This commit is contained in:
cketti 2017-01-10 11:45:03 +01:00 committed by GitHub
commit bf0fe6e25a

View file

@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
android:layout_height="wrap_content"
xmlns:tools="http://schemas.android.com/tools">
<LinearLayout
android:id="@+id/actionbar_message_list"
@ -19,6 +20,7 @@
<TextView
android:id="@+id/actionbar_title_first"
tools:text="Title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="start"
@ -27,6 +29,7 @@
<TextView
android:id="@+id/actionbar_title_sub"
tools:text="Subtitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end"
@ -45,6 +48,7 @@
<TextView
android:id="@+id/actionbar_unread_count"
tools:text="1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="12dip"
@ -61,10 +65,11 @@
<com.fsck.k9.view.MessageTitleView
android:id="@+id/message_title_view"
tools:text="MessageTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:includeFontPadding="false"
android:textSize="16sp" />
</LinearLayout>
</FrameLayout>
</FrameLayout>