Skip to content

Commit

Permalink
Allow text to be selectable in view mode
Browse files Browse the repository at this point in the history
When text is long clicked it is now selectable, so that one can
copy it to the clipboard.
  • Loading branch information
brarcher committed Feb 12, 2017
1 parent 991ba5d commit c9bde37
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions app/src/main/res/layout/loyalty_card_view_activity.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
android:layout_height="wrap_content"
android:paddingTop="10dip"
android:paddingBottom="10dip"
android:textSize="@dimen/text_size_medium"/>
android:textSize="@dimen/text_size_medium"
android:textIsSelectable="true"/>
</LinearLayout>
<LinearLayout android:orientation="horizontal"
android:padding="10dip"
Expand All @@ -76,7 +77,8 @@
android:layout_height="wrap_content"
android:paddingTop="10dip"
android:paddingBottom="10dip"
android:textSize="@dimen/text_size_medium"/>
android:textSize="@dimen/text_size_medium"
android:textIsSelectable="true"/>
</LinearLayout>
<LinearLayout android:orientation="horizontal"
android:padding="10dip"
Expand All @@ -103,7 +105,8 @@
android:layout_height="wrap_content"
android:paddingTop="10dip"
android:paddingBottom="10dip"
android:textSize="@dimen/text_size_medium"/>
android:textSize="@dimen/text_size_medium"
android:textIsSelectable="true"/>
</LinearLayout>
<LinearLayout android:orientation="horizontal"
android:layout_width="fill_parent"
Expand Down

0 comments on commit c9bde37

Please sign in to comment.