forked from upstream-mirrors/OpenTracks
Fixed tabhost resource id.
This commit is contained in:
@@ -201,7 +201,7 @@ public class TrackDetailActivity extends AbstractListActivity implements ChooseA
|
|||||||
trackRecordingServiceConnection = new TrackRecordingServiceConnection(this, bindChangedCallback);
|
trackRecordingServiceConnection = new TrackRecordingServiceConnection(this, bindChangedCallback);
|
||||||
trackDataHub = TrackDataHub.newInstance(this);
|
trackDataHub = TrackDataHub.newInstance(this);
|
||||||
|
|
||||||
tabHost = findViewById(android.R.id.tabhost);
|
tabHost = findViewById(R.id.tackdetail_tabhost);
|
||||||
tabHost.setup();
|
tabHost.setup();
|
||||||
|
|
||||||
ViewPager viewPager = findViewById(R.id.pager);
|
ViewPager viewPager = findViewById(R.id.pager);
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ limitations under the License.
|
|||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<TabHost
|
<TabHost
|
||||||
android:id="@android:id/tabhost"
|
android:id="@+id/tackdetail_tabhost"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1">
|
android:layout_weight="1">
|
||||||
|
|||||||
Reference in New Issue
Block a user