Drop the "Summary" from the main header, and instead just go straight to the description

This commit is contained in:
mvp76 2017-03-21 10:59:04 +01:00
parent 03a8151875
commit d457a5ca0a
2 changed files with 0 additions and 14 deletions

View File

@ -289,7 +289,6 @@ public class AppDetailsRecyclerViewAdapter
final ImageView iconView;
final TextView titleView;
final TextView authorView;
final TextView summaryView;
final TextView descriptionView;
final TextView descriptionMoreView;
final View buttonLayout;
@ -307,7 +306,6 @@ public class AppDetailsRecyclerViewAdapter
iconView = (ImageView) view.findViewById(R.id.icon);
titleView = (TextView) view.findViewById(R.id.title);
authorView = (TextView) view.findViewById(R.id.author);
summaryView = (TextView) view.findViewById(R.id.summary);
descriptionView = (TextView) view.findViewById(R.id.description);
descriptionMoreView = (TextView) view.findViewById(R.id.description_more);
buttonLayout = view.findViewById(R.id.button_layout);
@ -392,7 +390,6 @@ public class AppDetailsRecyclerViewAdapter
} else {
authorView.setVisibility(View.GONE);
}
summaryView.setText(app.summary);
final Spanned desc = Html.fromHtml(app.description, null, new Utils.HtmlTagHandler());
descriptionView.setMovementMethod(LinkMovementMethod.getInstance());
descriptionView.setText(trimTrailingNewlines(desc));

View File

@ -145,17 +145,6 @@
</RelativeLayout>
<TextView
android:id="@+id/summary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
tools:text="This app is awezome"
android:scrollbars="none"
android:textStyle="bold"
/>
<TextView
android:id="@+id/description"
android:layout_width="match_parent"