Fixed tabhost resource id.

This commit is contained in:
Dennis Guse
2019-09-13 23:55:39 +02:00
parent 71c0114f8f
commit ea82d2df94
2 changed files with 2 additions and 2 deletions
@@ -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);
+1 -1
View File
@@ -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">