little fix to layout. removed back button from action bar.
This commit is contained in:
parent
4f84517245
commit
c9f5696e7a
2 changed files with 5 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -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())
|
||||
// {
|
||||
|
|
Loading…
Reference in a new issue