diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2016-10-21 19:32:50 +0200 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2016-10-21 19:41:43 +0200 |
commit | 9eb1db4530b9d413aca9404c58a691f824624920 (patch) | |
tree | e21d336fae46579d12af568246feaf715199fa35 | |
parent | cddb7409b543949d537ce740a03c5dcd598f1e17 (diff) |
add some design-time layout text to preferences layout
Change-Id: I7951b50e4edd8b660e1aabfed39e5a8996811611
-rw-r--r-- | android/sdremote/mobile/src/main/res/layout/preference_item.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/android/sdremote/mobile/src/main/res/layout/preference_item.xml b/android/sdremote/mobile/src/main/res/layout/preference_item.xml index 733cb5d..7166430 100644 --- a/android/sdremote/mobile/src/main/res/layout/preference_item.xml +++ b/android/sdremote/mobile/src/main/res/layout/preference_item.xml @@ -1,8 +1,10 @@ <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" + android:baselineAligned="false" android:paddingLeft="@dimen/padding_horizontal_list_item" android:paddingRight="@dimen/padding_horizontal_list_item" android:paddingTop="@dimen/padding_vertical_list_item" @@ -18,12 +20,14 @@ <TextView android:id="@android:id/title" + tools:text="Name of Setting" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textAppearance="@android:style/TextAppearance.Medium" /> <TextView android:id="@android:id/summary" + tools:text="Some longer description of the setting. Imagine there would be a toggle-switch to the right" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@android:id/title" |