little fix to layout. removed back button from action bar.

This commit is contained in:
unknown 2014-06-03 18:27:58 +03:00
parent 4f84517245
commit c9f5696e7a
2 changed files with 5 additions and 2 deletions

View file

@ -8,11 +8,15 @@
<RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content">
<Button android:id="@+id/start_tour"
android:layout_marginTop="10dp"
android:layout_marginLeft="10dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/color_black"
android:text="Start tour"/>
<Button android:id="@+id/itenerary"
android:layout_marginTop="10dp"
android:layout_marginRight="10dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/color_black"

View file

@ -33,8 +33,7 @@ public class TourViewActivity extends SherlockFragmentActivity {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
((OsmandApplication) getApplication()).applyTheme(this);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
getSupportActionBar().setDisplayHomeAsUpEnabled(false);
// if (customization.getTourInformations().isEmpty())
// {