forked from upstream-mirrors/OpenTracks
Removed UI seemingly used by removed "shared with me" functionality.
This commit is contained in:
+1
-7
@@ -52,13 +52,7 @@ public abstract class SectionResourceCursorAdapter extends ResourceCursorAdapter
|
|||||||
if (getItemViewType(position) == ItemType.TRACK.ordinal()) {
|
if (getItemViewType(position) == ItemType.TRACK.ordinal()) {
|
||||||
return super.getView(getCursorPosition(position), convertView, parent);
|
return super.getView(getCursorPosition(position), convertView, parent);
|
||||||
} else {
|
} else {
|
||||||
TextView textView;
|
return convertView;
|
||||||
if (convertView == null) {
|
|
||||||
textView = (TextView) layoutInflater.inflate(R.layout.track_list_header, parent, false);
|
|
||||||
} else {
|
|
||||||
textView = (TextView) convertView;
|
|
||||||
}
|
|
||||||
return textView;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,24 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
Copyright 2013 Google Inc.
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
-->
|
|
||||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:paddingBottom="4dp"
|
|
||||||
android:paddingLeft="24dp"
|
|
||||||
android:paddingTop="32dp"
|
|
||||||
android:text="@string/track_list_shared_with_me"
|
|
||||||
style="?android:attr/listSeparatorTextViewStyle" />
|
|
||||||
@@ -2078,11 +2078,6 @@ limitations under the License.
|
|||||||
success.">
|
success.">
|
||||||
Now recording a new track
|
Now recording a new track
|
||||||
</string>
|
</string>
|
||||||
<string name="track_list_shared_with_me"
|
|
||||||
translation_description="The section header for ‘Shared with me’ tracks from Google
|
|
||||||
Drive.">
|
|
||||||
Shared with me
|
|
||||||
</string>
|
|
||||||
|
|
||||||
<!-- Track Widget -->
|
<!-- Track Widget -->
|
||||||
<string name="track_widget_config_title"
|
<string name="track_widget_config_title"
|
||||||
|
|||||||
Reference in New Issue
Block a user