Skip to content

Commit

Permalink
Allow the use to copy any text in a pass (#476)
Browse files Browse the repository at this point in the history
The user may need to copy text from the pass for many reasons. For
example, to connect to the WiFi from Renfe trains company in Spain they
ask you for the train ticket number. Being able to just copy and paste
it into the form makes it much easier.

Co-authored-by: ligi <ligi@ligi.de>
  • Loading branch information
rivaldi8 and ligi authored Sep 2, 2023
1 parent c5ef564 commit 53b3af0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion android/src/main/res/layout/barcode.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:paddingBottom="8dp" />
android:paddingBottom="8dp"
android:textIsSelectable="true" />
</merge>
1 change: 1 addition & 0 deletions android/src/main/res/layout/pkpass_view_extra_data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="sans-serif"
android:textIsSelectable="true"
android:padding="24dp"
android:visibility="gone"/>
</LinearLayout>
Expand Down
2 changes: 2 additions & 0 deletions android/src/main/res/layout/vertical_field_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
android:layout_height="wrap_content"
android:gravity="center"
android:fontFamily="sans-serif-light"
android:textIsSelectable="true"
android:textSize="14sp"
tools:text="Key"
android:id="@+id/key" />
Expand All @@ -21,6 +22,7 @@
android:layout_height="wrap_content"
android:gravity="center"
android:fontFamily="sans-serif"
android:textIsSelectable="true"
android:textSize="18sp"
tools:text="Value"
android:id="@+id/value" />
Expand Down

0 comments on commit 53b3af0

Please sign in to comment.