Making the Device Details activity pretty

This commit is contained in:
Alexandros Schillings
2014-04-25 12:55:25 +01:00
parent e28d698ba9
commit cf48721d77
12 changed files with 436 additions and 90 deletions
+7
View File
@@ -44,5 +44,12 @@
<string name="exporter_email_subject">Bluetooth LE Scan Results (%s)</string>
<string name="exporter_email_body">Please find attached the scan results.</string>
<string name="exporter_email_picker_text">Please select your email client:</string>
<string name="header_ibeacon_data">iBeacon Data</string>
<string name="header_raw_ad_records">Raw Ad Records</string>
<string name="header_scan_record">Scan Record</string>
<string name="header_rssi_info">RSSI Info</string>
<string name="header_device_info">Device Info</string>
<string name="invalid_device_data">Invalid Device Data!</string>
<string name="unknown">unknown</string>
</resources>
+22 -2
View File
@@ -1,4 +1,4 @@
<resources>
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<!--
Base application theme, dependent on API level. This theme is replaced
@@ -17,4 +17,24 @@
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>
</resources>
<style name="GridLayoutDataTextView" parent="android:Widget.Holo.Light.TextView">
<item name="android:textSize">12sp</item>
<item name="android:layout_weight">1</item>
<item name="android:ellipsize">none</item>
<item name="android:singleLine">false</item>
<item name="android:scrollHorizontally">false</item>
<item name="android:maxLines">100</item>
<item name="android:inputType">textMultiLine</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">match_parent</item>
</style>
<style name="GridLayoutDataTextViewMonospace" parent="@style/GridLayoutDataTextView">
<item name="android:typeface">monospace</item>
</style>
<style name="GridLayoutTitleTextView" parent="android:Widget.Holo.Light.TextView">
<item name="android:textSize">12sp</item>
</style>
</resources>