mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-17 11:19:01 +00:00
limit notes length to 3 lines
This commit is contained in:
parent
d64f150bdc
commit
ebdfe62f65
3 changed files with 6 additions and 3 deletions
|
|
@ -71,7 +71,8 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
bind:parsemarkdown="@{daily.notes}"
|
||||
android:visibility="@{daily.notes != null ? View.VISIBLE : View.GONE}"/>
|
||||
android:visibility="@{daily.notes != null ? View.VISIBLE : View.GONE}"
|
||||
android:maxLines="3" />
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
|
|
|||
|
|
@ -82,7 +82,8 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
bind:parsemarkdown="@{habit.notes}"
|
||||
android:visibility="@{habit.notes != null ? View.VISIBLE : View.GONE}"/>
|
||||
android:visibility="@{habit.notes != null ? View.VISIBLE : View.GONE}"
|
||||
android:maxLines="3" />
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:id="@+id/rightBorderView"
|
||||
|
|
|
|||
|
|
@ -69,7 +69,8 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
bind:parsemarkdown="@{todo.notes}"
|
||||
android:visibility="@{todo.notes != null ? View.VISIBLE : View.GONE}" />
|
||||
android:visibility="@{todo.notes != null ? View.VISIBLE : View.GONE}"
|
||||
android:maxLines="3" />
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
|
|
|||
Loading…
Reference in a new issue