Commit ba44d874 authored by Kristin Muterspaw's avatar Kristin Muterspaw
Browse files

Replaced button with Bench Sample image button.

parent a98ee64c
......@@ -37,7 +37,7 @@
<ConfirmationsSetting value="0" id="Add" />
<ConfirmationsSetting value="0" id="Remove" />
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
......
......@@ -219,7 +219,7 @@ public class BenchSampleActivity extends Activity {
public void afterTextChanged(Editable s) {
sensorValue = s.toString();
Log.d(TAG, "Sensor Value: " + sensorValue);
if (!sensorValue.equals("")){
if (!sensorValue.equals("")) {
sensor.setLastValue(new float[] {Float.parseFloat(sensorValue)}, 1);
}
}
......@@ -316,8 +316,4 @@ public class BenchSampleActivity extends Activity {
c.close();
return geo;
}
}
......@@ -79,7 +79,7 @@ public class MainScreenActivity extends Activity {
i.putExtra(SensorSampleActivity.WHICH_SENSOR, "built-in");
checkDatabase(i);
break;
case R.id.buttonBenchSample:
case R.id.imageButtonBenchSample:
i = new Intent(context, BenchSampleActivity.class);
checkDatabase(i);
break;
......
<vector android:autoMirrored="true" android:height="149dp"
android:viewportHeight="149.2021" android:viewportWidth="164.98688"
android:width="164dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillAlpha="0.0" android:fillColor="#000000"
android:pathData="m0,0l164.99,0l0,149.2l-164.99,0z"
android:strokeColor="#00000000" android:strokeLineCap="square"/>
<path android:fillAlpha="0.0" android:fillColor="#000000"
android:pathData="m-8.18,78.28l181.35,0l0,61.61l-181.35,0z"
android:strokeColor="#00000000" android:strokeLineCap="square"/>
<path android:fillColor="#a61c00"
android:pathData="m38.93,78.73l0,6.52l3.27,0q0.69,0 1.27,-0.25q0.59,-0.27 1.03,-0.7q0.45,-0.45 0.7,-1.05q0.27,-0.59 0.27,-1.27q0,-0.66 -0.27,-1.25q-0.25,-0.59 -0.7,-1.03q-0.45,-0.45 -1.05,-0.7q-0.58,-0.27 -1.25,-0.27l-3.27,0zM38.93,88.66l0,9l4.52,0q0.94,0 1.75,-0.34q0.83,-0.36 1.42,-0.97q0.61,-0.61 0.95,-1.44q0.36,-0.83 0.36,-1.75q0,-0.92 -0.36,-1.73q-0.34,-0.83 -0.95,-1.44q-0.61,-0.63 -1.44,-0.97q-0.83,-0.36 -1.73,-0.36l-4.52,0zM42.2,75.31q1.38,0 2.59,0.53q1.22,0.52 2.13,1.44q0.91,0.91 1.42,2.13q0.53,1.2 0.53,2.58q0,2.45 -1.52,4.27q0.98,0.58 1.72,1.34q0.75,0.75 1.25,1.66q0.52,0.89 0.77,1.89q0.27,0.98 0.27,2.03q0,1.63 -0.63,3.06q-0.63,1.44 -1.7,2.53q-1.08,1.08 -2.52,1.7q-1.44,0.63 -3.06,0.63l-6.22,0q-0.36,0 -0.67,-0.14q-0.3,-0.14 -0.53,-0.36q-0.23,-0.22 -0.38,-0.53q-0.14,-0.33 -0.14,-0.67l0,-22.38q0,-0.34 0.14,-0.66q0.14,-0.33 0.38,-0.55q0.23,-0.22 0.53,-0.36q0.31,-0.14 0.67,-0.14l4.97,0zM68.3,90.38q-0.28,-0.88 -0.83,-1.61q-0.53,-0.73 -1.25,-1.25q-0.72,-0.53 -1.58,-0.81q-0.86,-0.3 -1.78,-0.3q-0.92,0 -1.8,0.3q-0.86,0.28 -1.59,0.81q-0.72,0.52 -1.25,1.25q-0.53,0.73 -0.8,1.61l10.88,0zM67.57,96.01q0.73,0 1.2,0.48q0.47,0.47 0.47,1.19q0,0.72 -0.48,1.22q-2.48,2.19 -5.89,2.19q-3.73,0 -6.38,-2.64q-2.64,-2.64 -2.64,-6.39q0,-3.73 2.64,-6.38q2.64,-2.64 6.38,-2.64q3.7,0 6.38,2.64q1.33,1.31 1.98,2.92q0.67,1.59 0.67,3.45q0,0.73 -0.5,1.22q-0.48,0.47 -1.2,0.47l-12.77,0q0.28,0.88 0.81,1.61q0.53,0.73 1.25,1.27q0.72,0.52 1.58,0.81q0.86,0.28 1.8,0.28q1.06,0 1.95,-0.31q0.89,-0.33 1.64,-0.97q0.48,-0.41 1.11,-0.42zM78.02,84.7q2.14,-1.66 5.05,-1.66q1.69,0 3.2,0.67q1.53,0.66 2.69,1.8q1.16,1.13 1.83,2.67q0.69,1.53 0.69,3.27l0,7.95q0,0.7 -0.5,1.2q-0.48,0.48 -1.17,0.48q-0.72,0 -1.2,-0.48q-0.48,-0.5 -0.48,-1.2l0,-7.95q0,-1.03 -0.41,-1.94q-0.41,-0.92 -1.09,-1.61q-0.69,-0.69 -1.61,-1.08q-0.91,-0.41 -1.94,-0.41q-1.05,0 -1.97,0.39q-0.91,0.39 -1.59,1.09q-0.69,0.69 -1.09,1.61q-0.39,0.91 -0.39,1.94l0,7.95q0,0.7 -0.5,1.2q-0.48,0.48 -1.17,0.48q-0.72,0 -1.22,-0.48q-0.48,-0.5 -0.48,-1.2l0,-14.67q0,-0.69 0.48,-1.19q0.5,-0.5 1.22,-0.5q0.69,0 1.17,0.5q0.5,0.5 0.5,1.16zM107.92,95.98q0.73,0 1.2,0.48q0.47,0.47 0.47,1.19q0,0.72 -0.53,1.25q-2.48,2.19 -5.88,2.19q-3.73,0 -6.38,-2.64q-2.66,-2.64 -2.66,-6.39q0,-3.73 2.66,-6.38q2.64,-2.64 6.38,-2.64q3.41,0 5.88,2.19q0.58,0.52 0.58,1.28q0,0.72 -0.47,1.2q-0.47,0.48 -1.2,0.48q-0.61,0 -1.09,-0.39q-0.81,-0.69 -1.72,-1.03q-0.91,-0.36 -1.97,-0.36q-1.17,0 -2.2,0.44q-1.03,0.44 -1.81,1.2q-0.77,0.77 -1.22,1.8q-0.44,1.03 -0.44,2.2q0,1.19 0.44,2.22q0.45,1.03 1.22,1.8q0.78,0.77 1.81,1.2q1.03,0.44 2.2,0.44q1.06,0 1.97,-0.34q0.91,-0.34 1.7,-1.03q0.45,-0.34 1.06,-0.36zM115.78,99.4q0,0.7 -0.5,1.2q-0.48,0.48 -1.19,0.48q-0.7,0 -1.2,-0.48q-0.48,-0.5 -0.48,-1.2l0,-22.41q0,-0.7 0.48,-1.19q0.5,-0.5 1.2,-0.5q0.69,0 1.17,0.5q0.5,0.48 0.52,1.19l0,7.73q2.14,-1.66 5.05,-1.66q1.69,0 3.2,0.67q1.53,0.66 2.69,1.8q1.16,1.13 1.83,2.67q0.69,1.53 0.69,3.27l0,7.92q-0.02,0.7 -0.52,1.2q-0.48,0.48 -1.17,0.48q-0.7,0 -1.19,-0.48q-0.48,-0.5 -0.48,-1.2l0,-7.92q0,-1.03 -0.41,-1.94q-0.41,-0.92 -1.09,-1.61q-0.69,-0.69 -1.61,-1.08q-0.91,-0.41 -1.94,-0.41q-1.05,0 -1.97,0.39q-0.91,0.39 -1.59,1.09q-0.69,0.69 -1.09,1.61q-0.39,0.91 -0.39,1.94l0,7.92z"
android:strokeColor="#00000000" android:strokeLineCap="square"/>
<path android:fillColor="#a61c00"
android:pathData="m25.93,137.51q-0.34,-0.44 -0.34,-1.03q0,-0.36 0.13,-0.67q0.14,-0.31 0.38,-0.55q0.23,-0.23 0.53,-0.36q0.31,-0.13 0.69,-0.13q0.94,0 1.42,0.78q0.69,1.05 1.7,1.58q1.02,0.53 2.19,0.53q0.92,0 1.73,-0.36q0.81,-0.36 1.41,-0.97q0.61,-0.61 0.97,-1.44q0.36,-0.84 0.36,-1.77q0,-0.89 -0.34,-1.67q-0.33,-0.78 -0.89,-1.36q-0.56,-0.59 -1.31,-0.97q-0.75,-0.38 -1.58,-0.45q-1.3,-0.11 -2.41,-0.67q-1.11,-0.56 -1.95,-1.45q-0.83,-0.91 -1.31,-2.05q-0.47,-1.16 -0.47,-2.45q0,-1.58 0.59,-2.86q0.59,-1.28 1.75,-2.28l-0.02,0q1.86,-1.61 4.36,-1.61q0.8,0 1.59,0.2q0.81,0.2 1.56,0.61q0.75,0.41 1.41,1.03q0.66,0.61 1.17,1.42q0.23,0.42 0.23,0.92q0,0.38 -0.13,0.69q-0.13,0.3 -0.36,0.53q-0.23,0.23 -0.55,0.36q-0.31,0.13 -0.67,0.13q-0.33,0 -0.58,-0.09q-0.25,-0.09 -0.45,-0.27q-0.19,-0.19 -0.38,-0.42q-0.19,-0.23 -0.41,-0.53q-0.38,-0.56 -1.05,-0.84q-0.67,-0.28 -1.44,-0.28q-0.63,0 -1.2,0.25q-0.58,0.25 -1.03,0.69q-0.45,0.42 -0.73,1.03q-0.28,0.59 -0.28,1.28q0,0.63 0.23,1.19q0.23,0.56 0.64,1.02q0.41,0.44 0.94,0.72q0.55,0.28 1.17,0.33q1.5,0.13 2.81,0.78q1.33,0.66 2.31,1.72q1,1.05 1.58,2.42q0.58,1.36 0.58,2.88q0,3.78 -2.78,6.13l0.02,0q-2.23,1.91 -5.09,1.91q-0.95,0 -1.91,-0.23q-0.95,-0.23 -1.83,-0.69q-0.88,-0.45 -1.64,-1.13q-0.77,-0.67 -1.33,-1.53zM51.96,126.41q-1.19,0 -2.22,0.45q-1.03,0.44 -1.8,1.2q-0.75,0.77 -1.2,1.8q-0.44,1.03 -0.44,2.19q0,1.17 0.44,2.2q0.45,1.03 1.2,1.8q0.77,0.77 1.8,1.22q1.03,0.44 2.22,0.44q1.17,0 2.2,-0.44q1.03,-0.45 1.8,-1.22q0.77,-0.78 1.2,-1.8q0.45,-1.03 0.45,-2.2q0,-1.16 -0.45,-2.17q-0.44,-1.03 -1.2,-1.8q-0.77,-0.78 -1.8,-1.22q-1.03,-0.45 -2.2,-0.45zM57.62,139.41l0,-0.33q-1.2,0.97 -2.63,1.48q-1.42,0.52 -3.03,0.52q-3.73,0 -6.38,-2.64q-2.64,-2.64 -2.64,-6.39q0,-3.73 2.64,-6.38q2.64,-2.64 6.38,-2.64q3.7,0 6.38,2.64q2.66,2.64 2.66,6.38l0,7.36q0,0.69 -0.5,1.19q-0.48,0.48 -1.19,0.48q-0.7,0 -1.2,-0.48q-0.48,-0.5 -0.48,-1.19zM89.24,139.4q0,0.7 -0.5,1.2q-0.48,0.48 -1.17,0.48q-0.72,0 -1.2,-0.48q-0.48,-0.5 -0.48,-1.2l0,-9.17q0,-0.78 -0.3,-1.47q-0.3,-0.69 -0.81,-1.2q-0.52,-0.53 -1.22,-0.83q-0.69,-0.31 -1.5,-0.31q-0.8,0 -1.48,0.31q-0.69,0.3 -1.22,0.81q-0.52,0.52 -0.81,1.2q-0.3,0.69 -0.3,1.48l0,9.17q0,0.7 -0.5,1.2q-0.48,0.48 -1.19,0.48q-0.7,0 -1.2,-0.48q-0.48,-0.5 -0.48,-1.2l0,-9.17q0,-0.8 -0.31,-1.48q-0.3,-0.69 -0.81,-1.2q-0.52,-0.52 -1.22,-0.81q-0.69,-0.31 -1.47,-0.31q-0.8,0 -1.5,0.3q-0.69,0.3 -1.22,0.83q-0.52,0.52 -0.81,1.2q-0.3,0.69 -0.3,1.48l0,9.17q0,0.7 -0.5,1.2q-0.48,0.48 -1.17,0.48q-0.7,0 -1.2,-0.48q-0.48,-0.5 -0.48,-1.2l0,-14.69q0,-0.69 0.48,-1.17q0.5,-0.5 1.19,-0.5q0.56,0 1,0.31q0.44,0.31 0.59,0.83q1.72,-1.14 3.92,-1.14q1.61,0 3.02,0.64q1.42,0.63 2.48,1.92q2.25,-2.56 5.5,-2.56q1.47,0 2.78,0.58q1.31,0.56 2.28,1.55q0.98,0.97 1.55,2.28q0.58,1.31 0.58,2.78l0,9.17zM95.77,132.06q0,1.17 0.44,2.2q0.45,1.03 1.2,1.8q0.77,0.77 1.8,1.22q1.03,0.44 2.22,0.44q1.17,0 2.2,-0.44q1.03,-0.45 1.8,-1.22q0.77,-0.78 1.2,-1.8q0.45,-1.03 0.45,-2.2q0,-1.16 -0.45,-2.17q-0.44,-1.03 -1.2,-1.8q-0.77,-0.78 -1.8,-1.22q-1.03,-0.45 -2.2,-0.45q-1.19,0 -2.22,0.45q-1.03,0.44 -1.8,1.2q-0.75,0.77 -1.2,1.8q-0.44,1.03 -0.44,2.19zM101.43,141.09q-3.23,0 -5.66,-1.98l0,8.05q0,0.72 -0.5,1.19q-0.48,0.48 -1.19,0.48q-0.73,0 -1.2,-0.48q-0.47,-0.47 -0.47,-1.19l0,-15.09q0,-3.73 2.64,-6.38q2.64,-2.64 6.38,-2.64q3.7,0 6.38,2.64q1.33,1.31 1.98,2.92q0.67,1.59 0.67,3.45q0,3.78 -2.66,6.39q-1.34,1.33 -2.94,1.98q-1.58,0.66 -3.44,0.66zM113.07,139.41l0,-22.42q0,-0.7 0.47,-1.19q0.48,-0.5 1.2,-0.5q0.73,0 1.2,0.5q0.48,0.48 0.48,1.19l0,20.72l0.77,0q0.7,0 1.19,0.5q0.48,0.48 0.48,1.2q0,0.69 -0.48,1.19q-0.48,0.48 -1.19,0.48l-2.47,0q-0.69,0 -1.17,-0.48q-0.48,-0.5 -0.48,-1.19zM135.51,130.38q-0.28,-0.88 -0.83,-1.61q-0.53,-0.73 -1.25,-1.25q-0.72,-0.53 -1.58,-0.81q-0.86,-0.3 -1.78,-0.3q-0.92,0 -1.8,0.3q-0.86,0.28 -1.59,0.81q-0.72,0.52 -1.25,1.25q-0.53,0.73 -0.8,1.61l10.87,0zM134.78,136.01q0.73,0 1.2,0.48q0.47,0.47 0.47,1.19q0,0.72 -0.48,1.22q-2.48,2.19 -5.89,2.19q-3.73,0 -6.37,-2.64q-2.64,-2.64 -2.64,-6.39q0,-3.73 2.64,-6.38q2.64,-2.64 6.37,-2.64q3.7,0 6.38,2.64q1.33,1.31 1.98,2.92q0.67,1.59 0.67,3.45q0,0.73 -0.5,1.22q-0.48,0.47 -1.2,0.47l-12.77,0q0.28,0.88 0.81,1.61q0.53,0.73 1.25,1.27q0.72,0.52 1.58,0.81q0.86,0.28 1.8,0.28q1.06,0 1.95,-0.31q0.89,-0.33 1.64,-0.97q0.48,-0.41 1.11,-0.42z"
android:strokeColor="#00000000" android:strokeLineCap="square"/>
<path android:fillColor="#999999"
android:pathData="m22.75,29.87l0,0c0,-1.58 1.28,-2.86 2.86,-2.86l113.77,0c0.76,0 1.49,0.3 2.02,0.84c0.54,0.54 0.84,1.26 0.84,2.02l0,11.44c0,1.58 -1.28,2.86 -2.86,2.86l-113.77,0c-1.58,0 -2.86,-1.28 -2.86,-2.86z"
android:strokeColor="#00000000" android:strokeLineCap="square"/>
<path android:fillColor="#00000000"
android:pathData="m22.75,29.87l0,0c0,-1.58 1.28,-2.86 2.86,-2.86l113.77,0c0.76,0 1.49,0.3 2.02,0.84c0.54,0.54 0.84,1.26 0.84,2.02l0,11.44c0,1.58 -1.28,2.86 -2.86,2.86l-113.77,0c-1.58,0 -2.86,-1.28 -2.86,-2.86z"
android:strokeColor="#666666" android:strokeLineCap="butt"
android:strokeLineJoin="round" android:strokeWidth="1.0"/>
<path android:fillColor="#999999"
android:pathData="m34.98,44.17l0,0c0.59,0 1.07,0.48 1.07,1.07l0,22.66c0,0.28 -0.11,0.55 -0.31,0.75c-0.2,0.2 -0.47,0.31 -0.75,0.31l-4.26,0c-0.59,0 -1.07,-0.48 -1.07,-1.07l0,-22.66c0,-0.59 0.48,-1.07 1.07,-1.07z"
android:strokeColor="#00000000" android:strokeLineCap="square"/>
<path android:fillColor="#00000000"
android:pathData="m34.98,44.17l0,0c0.59,0 1.07,0.48 1.07,1.07l0,22.66c0,0.28 -0.11,0.55 -0.31,0.75c-0.2,0.2 -0.47,0.31 -0.75,0.31l-4.26,0c-0.59,0 -1.07,-0.48 -1.07,-1.07l0,-22.66c0,-0.59 0.48,-1.07 1.07,-1.07z"
android:strokeColor="#666666" android:strokeLineCap="butt"
android:strokeLineJoin="round" android:strokeWidth="1.0"/>
<path android:fillColor="#efefef"
android:pathData="m48.84,5.18l2.11,-0.54l3.21,10.55l-2.11,0.54z"
android:strokeColor="#00000000" android:strokeLineCap="square"/>
<path android:fillColor="#e69138"
android:pathData="m52.11,14.4l1.25,-0.32l0.24,0.79l-1.25,0.32z"
android:strokeColor="#00000000" android:strokeLineCap="square"/>
<path android:fillColor="#b45f06"
android:pathData="m51.71,13.1l1.25,-0.32l0.24,0.79l-1.25,0.32z"
android:strokeColor="#00000000" android:strokeLineCap="square"/>
<path android:fillColor="#783f04"
android:pathData="m51.32,11.79l1.25,-0.32l0.24,0.79l-1.25,0.32z"
android:strokeColor="#00000000" android:strokeLineCap="square"/>
<path android:fillAlpha="0.0" android:fillColor="#000000"
android:pathData="m48.25,14.02l0,0c0,-1.14 0.92,-2.06 2.06,-2.06l8.25,0l0,0c0.55,0 1.07,0.22 1.46,0.6c0.39,0.39 0.6,0.91 0.6,1.46l0,10.93c0,1.14 -0.92,2.06 -2.06,2.06l-8.25,0c-1.14,0 -2.06,-0.92 -2.06,-2.06z"
android:strokeColor="#00000000" android:strokeLineCap="square"/>
<path android:fillColor="#00000000"
android:pathData="m48.25,14.02l0,0c0,-1.14 0.92,-2.06 2.06,-2.06l8.25,0l0,0c0.55,0 1.07,0.22 1.46,0.6c0.39,0.39 0.6,0.91 0.6,1.46l0,10.93c0,1.14 -0.92,2.06 -2.06,2.06l-8.25,0c-1.14,0 -2.06,-0.92 -2.06,-2.06z"
android:strokeColor="#999999" android:strokeLineCap="butt"
android:strokeLineJoin="round" android:strokeWidth="1.0"/>
<path android:fillColor="#85400b"
android:pathData="m48.67,19.56l0,0c0,-0.82 0.67,-1.49 1.49,-1.49l8.55,0c0.4,0 0.77,0.16 1.05,0.44c0.28,0.28 0.44,0.66 0.44,1.05l0,5.96c0,0.82 -0.67,1.49 -1.49,1.49l-8.55,0l0,0c-0.82,0 -1.49,-0.67 -1.49,-1.49z"
android:strokeColor="#00000000" android:strokeLineCap="square"/>
<path android:fillColor="#c9daf8"
android:pathData="m38.81,16.4l0,0c0,0.17 1.06,0.3 2.38,0.3c1.31,0 2.38,-0.13 2.38,-0.3l0,10.48c0,0.17 -1.06,0.3 -2.38,0.3c-1.31,0 -2.38,-0.13 -2.38,-0.3z"
android:strokeColor="#00000000" android:strokeLineCap="square"/>
<path android:fillColor="#dee8fa"
android:pathData="m38.81,16.4l0,0c0,-0.17 1.06,-0.3 2.38,-0.3c1.31,0 2.38,0.13 2.38,0.3l0,0c0,0.17 -1.06,0.3 -2.38,0.3c-1.31,0 -2.38,-0.13 -2.38,-0.3z"
android:strokeColor="#00000000" android:strokeLineCap="square"/>
<path android:fillAlpha="0.0" android:fillColor="#000000"
android:pathData="m43.57,16.4l0,0c0,0.17 -1.06,0.3 -2.38,0.3c-1.31,0 -2.38,-0.13 -2.38,-0.3l0,0c0,-0.17 1.06,-0.3 2.38,-0.3c1.31,0 2.38,0.13 2.38,0.3l0,10.48c0,0.17 -1.06,0.3 -2.38,0.3c-1.31,0 -2.38,-0.13 -2.38,-0.3l0,-10.48"
android:strokeColor="#00000000" android:strokeLineCap="square"/>
<path android:fillColor="#999999"
android:pathData="m134.17,44.17l0,0c0.59,0 1.07,0.48 1.07,1.07l0,22.66c0,0.28 -0.11,0.55 -0.31,0.75c-0.2,0.2 -0.47,0.31 -0.75,0.31l-4.26,0c-0.59,0 -1.07,-0.48 -1.07,-1.07l0,-22.66c0,-0.59 0.48,-1.07 1.07,-1.07z"
android:strokeColor="#00000000" android:strokeLineCap="square"/>
<path android:fillColor="#00000000"
android:pathData="m134.17,44.17l0,0c0.59,0 1.07,0.48 1.07,1.07l0,22.66c0,0.28 -0.11,0.55 -0.31,0.75c-0.2,0.2 -0.47,0.31 -0.75,0.31l-4.26,0c-0.59,0 -1.07,-0.48 -1.07,-1.07l0,-22.66c0,-0.59 0.48,-1.07 1.07,-1.07z"
android:strokeColor="#666666" android:strokeLineCap="butt"
android:strokeLineJoin="round" android:strokeWidth="1.0"/>
</vector>
......@@ -44,6 +44,15 @@
android:contentDescription="@string/databaseActions"
android:background="@null"
android:onClick="startSampleActivity" />
<ImageButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:src="@drawable/bench_icon"
android:background="@null"
android:contentDescription="@string/benchSample"
android:id="@+id/imageButtonBenchSample"
android:onClick="startSampleActivity" />
</LinearLayout>
</LinearLayout>
\ No newline at end of file
......@@ -7,6 +7,10 @@
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginStart="10dp"
android:layout_marginEnd="10dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="8dp"
android:textSize="20sp"
android:id="@+id/itemName"/>
......
......@@ -44,13 +44,14 @@
android:contentDescription="@string/databaseActions"
android:background="@null"
android:onClick="startSampleActivity" />
<Button
<ImageButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:text="@string/benchSample"
android:src="@drawable/bench_icon"
android:contentDescription="@string/benchSample"
android:id="@+id/buttonBenchSample"
android:background="@null"
android:id="@+id/imageButtonBenchSample"
android:onClick="startSampleActivity" />
</LinearLayout>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment