|
559 | 559 | android:layout_margin="10dp" |
560 | 560 | android:background="@color/light_gray" /> |
561 | 561 |
|
562 | | - <!-- TODO: remove hardcoded strings --> |
563 | | - |
564 | 562 | <RadioButton |
565 | 563 | android:id="@+id/radioButtonWriteTagTransferRestore" |
566 | 564 | android:layout_width="match_parent" |
|
569 | 567 | android:gravity="center_horizontal" |
570 | 568 | android:onClick="onChangeWriteMode" |
571 | 569 | android:tag="writetag_transfer_restore" |
572 | | - android:text="Value Transfer and Restore" |
| 570 | + android:text="@string/text_transfer_restore_value_block" |
573 | 571 | android:textAppearance="?android:attr/textAppearanceLarge" |
574 | 572 | android:textColor="?attr/colorAccent" /> |
575 | 573 |
|
|
597 | 595 | android:layout_alignParentLeft="true" |
598 | 596 | android:layout_alignParentTop="true" |
599 | 597 | android:padding="5dp" |
600 | | - android:text="Set value of Value Block even if there are only decrement/transfer/restore permissions" |
| 598 | + android:text="@string/text_transfer_restore_value_block_info" |
601 | 599 | android:textAppearance="?android:attr/textAppearanceMedium" /> |
602 | 600 |
|
603 | 601 | <GridLayout |
|
615 | 613 | android:layout_row="0" |
616 | 614 | android:layout_column="0" |
617 | 615 | android:padding="5dp" |
618 | | - android:text="Staging" |
| 616 | + android:text="@string/text_staging" |
619 | 617 | android:textAppearance="?android:attr/textAppearanceMedium" |
620 | 618 | android:labelFor="@+id/editTextWriteTagTransferRestoreStagingSector" /> |
621 | 619 |
|
|
661 | 659 | android:layout_row="1" |
662 | 660 | android:layout_column="0" |
663 | 661 | android:padding="5dp" |
664 | | - android:text="Destination" |
| 662 | + android:text="@string/text_destination" |
665 | 663 | android:textAppearance="?android:attr/textAppearanceMedium" |
666 | 664 | android:labelFor="@+id/editTextWriteTagTransferRestoreDestinationSector" /> |
667 | 665 |
|
|
709 | 707 | android:layout_below="@id/gridLayoutWriteTagTransferRestore" |
710 | 708 | android:layout_alignBaseline="@id/editTextWriteTagTransferRestoreValue" |
711 | 709 | android:padding="5dp" |
712 | | - android:text="Value and Address" |
| 710 | + android:text="@string/text_value_and_address" |
713 | 711 | android:textAppearance="?android:attr/textAppearanceMedium" /> |
714 | 712 |
|
715 | 713 | <EditText |
|
738 | 736 |
|
739 | 737 | <Button |
740 | 738 | android:id="@+id/buttonWriteTagTransferRestore" |
741 | | - android:layout_width="wrap_content" |
| 739 | + android:layout_width="match_parent" |
742 | 740 | android:layout_height="wrap_content" |
743 | 741 | android:layout_below="@id/textViewWriteTagTransferRestoreValueAddress" |
744 | 742 | android:layout_marginTop="10dp" |
745 | | - android:onClick="onWriteValueTransferRestore" |
746 | | - android:text="Create key map & Transfer/Restore" /> |
| 743 | + android:onClick="onWriteValueBlockTransferRestore" |
| 744 | + android:text="@string/action_write_value_block_transfer_restore" /> |
747 | 745 | </RelativeLayout> |
748 | 746 |
|
749 | 747 | </RadioGroup> |
|
0 commit comments