Added copy button for Log
This commit is contained in:
BIN
remote-reader/app/src/main/res/drawable-hdpi/ic_action_copy.png
Normal file
BIN
remote-reader/app/src/main/res/drawable-hdpi/ic_action_copy.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 375 B |
BIN
remote-reader/app/src/main/res/drawable-mdpi/ic_action_copy.png
Normal file
BIN
remote-reader/app/src/main/res/drawable-mdpi/ic_action_copy.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 284 B |
BIN
remote-reader/app/src/main/res/drawable-xhdpi/ic_action_copy.png
Normal file
BIN
remote-reader/app/src/main/res/drawable-xhdpi/ic_action_copy.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 351 B |
Binary file not shown.
|
After Width: | Height: | Size: 464 B |
@@ -58,17 +58,23 @@
|
||||
android:layout_alignRight="@+id/buttonDisConnect"
|
||||
android:layout_alignEnd="@+id/buttonDisConnect" />
|
||||
|
||||
<TextView
|
||||
<HorizontalScrollView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:id="@+id/textViewLog"
|
||||
android:typeface="monospace"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_below="@+id/editTextHostname" />
|
||||
android:layout_below="@+id/editTextHostname" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:id="@+id/textViewLog"
|
||||
android:typeface="monospace" />
|
||||
</HorizontalScrollView>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -13,6 +13,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:scrollHorizontally="true"
|
||||
android:text="@string/vpcd_config_info"
|
||||
android:id="@+id/textViewInfo"
|
||||
android:layout_alignParentTop="true"
|
||||
@@ -59,18 +60,21 @@
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignTop="@+id/buttonDisConnect" />
|
||||
|
||||
<TextView
|
||||
<HorizontalScrollView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:id="@+id/textViewLog"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:typeface="monospace"
|
||||
android:textIsSelectable="true"
|
||||
android:layout_below="@+id/buttonDisConnect" />
|
||||
android:layout_below="@+id/buttonDisConnect" >
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:id="@+id/textViewLog"
|
||||
android:typeface="monospace" />
|
||||
</HorizontalScrollView>
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -2,9 +2,10 @@
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:context="com.vsmartcard.remotesmartcardreader.app.MainActivity" >
|
||||
|
||||
<item android:id="@+id/action_settings"
|
||||
android:title="@string/action_settings"
|
||||
android:orderInCategory="100"
|
||||
app:showAsAction="never" />
|
||||
|
||||
<item android:id="@+id/action_copy"
|
||||
android:title="@string/action_copy"
|
||||
android:icon="@drawable/ic_action_copy"
|
||||
app:showAsAction="ifRoom" />
|
||||
|
||||
</menu>
|
||||
|
||||
@@ -26,6 +26,8 @@
|
||||
<string name="status_default_port">Using default port</string>
|
||||
|
||||
<string name="action_settings">Settings</string>
|
||||
<string name="action_copy">Copy Log</string>
|
||||
|
||||
<string name="verbose">Verbose logging</string>
|
||||
<string name="error_tag_lost">Data transmission failed. Is the card still present?</string>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user