resort simulation dialogue a bit better
This commit is contained in:
parent
ca60148431
commit
730c11179e
2 changed files with 9 additions and 6 deletions
|
@ -6,9 +6,6 @@
|
|||
<TextView android:text="@string/select_animate_speedup" android:gravity="center"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:layout_marginTop="5dp"/>
|
||||
<CheckBox android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/AnnounceGPXWpt"
|
||||
android:layout_marginLeft="10dp" android:layout_marginRight="10dp"
|
||||
android:text="@string/announce_gpx_waypoints"/>
|
||||
<SeekBar android:id="@+id/Speedup" android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:layout_marginTop="5dp"/>
|
||||
<LinearLayout
|
||||
|
@ -19,4 +16,10 @@
|
|||
<TextView android:text="15" android:gravity="right" android:layout_weight="0.5" android:id="@+id/MaxSpeedup"
|
||||
android:layout_width="wrap_content" android:layout_height="wrap_content"/>
|
||||
</LinearLayout>
|
||||
<CheckBox android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/AnnounceGPXWpt"
|
||||
android:layout_marginLeft="10dp" android:layout_marginRight="10dp"
|
||||
android:text="@string/announce_gpx_waypoints"/>
|
||||
<TextView android:text="@string/animate_routing_using_gpx" android:gravity="center"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:layout_marginTop="5dp"/>
|
||||
</LinearLayout>
|
||||
|
|
|
@ -36,7 +36,7 @@ public class OsmAndLocationSimulation {
|
|||
public void startStopRouteAnimation(final MapActivity ma) {
|
||||
if (!isRouteAnimating()) {
|
||||
Builder builder = new AlertDialog.Builder(ma);
|
||||
builder.setTitle(R.string.animate_routing_using_gpx);
|
||||
builder.setTitle(R.string.animate_route);
|
||||
final View view = ma.getLayoutInflater().inflate(R.layout.animate_route, null);
|
||||
((TextView)view.findViewById(R.id.MinSpeedup)).setText("1"); //$NON-NLS-1$
|
||||
((TextView)view.findViewById(R.id.MaxSpeedup)).setText("4"); //$NON-NLS-1$
|
||||
|
|
Loading…
Reference in a new issue