Removed unused category view in app details.

It was hidden some time ago, and nobody seems to miss it.
Also, we will be redoing this view soon anyway. In the meantime,
this category stuff is changing and this view should be removed.
This commit is contained in:
Peter Serwylo 2016-10-13 10:16:17 +11:00
parent 6f0b33a092
commit 19ca68cb30
2 changed files with 0 additions and 17 deletions

View File

@ -1307,14 +1307,6 @@ public class AppDetails extends AppCompatActivity {
tv.setVisibility(View.GONE); tv.setVisibility(View.GONE);
} }
// Categories TextView
final TextView categories = (TextView) view.findViewById(R.id.categories);
if (prefs.expertMode() && app.categories != null) {
categories.setText(TextUtils.join(", ", app.categories));
} else {
categories.setVisibility(View.GONE);
}
Apk curApk = null; Apk curApk = null;
for (int i = 0; i < appDetails.getApks().getCount(); i++) { for (int i = 0; i < appDetails.getApks().getCount(); i++) {
final Apk apk = appDetails.getApks().getItem(i); final Apk apk = appDetails.getApks().getItem(i);

View File

@ -48,15 +48,6 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textSize="12sp" /> android:textSize="12sp" />
<!-- android:visibility="gone" because not needed in app details imho (but maybe will get used in another place soon) -->
<TextView
android:id="@+id/categories"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="12sp"
android:visibility="gone"
tools:text="System" />
<TextView <TextView
android:id="@+id/antifeatures" android:id="@+id/antifeatures"
android:layout_width="fill_parent" android:layout_width="fill_parent"