ndt-dev - [ndt-dev] [ndt] r717 committed - Tweak layout so the last few lines of results aren't clipped.
Subject: NDT-DEV email list created
List archive
[ndt-dev] [ndt] r717 committed - Tweak layout so the last few lines of results aren't clipped.
Chronological Thread
- From:
- To:
- Subject: [ndt-dev] [ndt] r717 committed - Tweak layout so the last few lines of results aren't clipped.
- Date: Tue, 11 Oct 2011 21:25:09 +0000
Revision: 717
Author:
Date: Tue Oct 11 14:24:22 2011
Log: Tweak layout so the last few lines of results aren't clipped.
http://code.google.com/p/ndt/source/detail?r=717
Modified:
/branches/android/Android/res/layout/results.xml
/branches/android/Android/src/net/measurementlab/ndt/ResultsActivity.java
=======================================
--- /branches/android/Android/res/layout/results.xml Tue Aug 23 14:09:58 2011
+++ /branches/android/Android/res/layout/results.xml Tue Oct 11 14:24:22 2011
@@ -11,7 +11,9 @@
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<HorizontalScrollView android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
- android:layout_alignParentTop="true">
+ android:layout_alignParentTop="true"
+ android:id="@+id/AllResults"
android:layout_above="@+id/ResultsFooter"
+ android:layout_weight="1">
<LinearLayout android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal">
<!-- summary results -->
@@ -111,7 +113,8 @@
</HorizontalScrollView>
<RelativeLayout android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:padding="10sp"
android:layout_alignParentBottom="true">
+ android:padding="10sp"
android:layout_alignParentBottom="true"
+ android:id="@+id/ResultsFooter">
<LinearLayout android:orientation="vertical"
android:layout_alignParentLeft="true" android:layout_width="wrap_content"
android:layout_height="wrap_content">
=======================================
--- /branches/android/Android/src/net/measurementlab/ndt/ResultsActivity.java Tue Oct 11 13:37:21 2011
+++ /branches/android/Android/src/net/measurementlab/ndt/ResultsActivity.java Tue Oct 11 14:24:22 2011
@@ -186,11 +186,12 @@
variables, "pub_OptimalRcvrBuffer"));
results.append(formatDetailedLine(R.string.results_detailed_bottleneck_link,
variables, "pub_AccessTech"));
+ // haven't been able to deduce where this var is set
// results.append(formatDetailedLine(R.string.results_detailed_dupe_acks, variables,
-// "pub_DupAcksOut"));
+// "pub_DupAcksIn"));
TextView textView = (TextView)
findViewById(R.id.DetailedResultsInfo);
- textView.setText(results);
+ textView.setText(results.toString());
}
private void formatAdvancedResults(String diagnosticStatus) {
- [ndt-dev] [ndt] r717 committed - Tweak layout so the last few lines of results aren't clipped., ndt, 10/11/2011
Archive powered by MHonArc 2.6.16.