Skip to content

Commit

Permalink
Use the android title/summary IDs in the information_view.xml layout.
Browse files Browse the repository at this point in the history
  • Loading branch information
rhdunn committed Sep 5, 2013
1 parent 1de60cd commit 960770e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions android/res/layout/information_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
android:padding="6dp" >

<TextView
android:id="@+id/title"
android:id="@android:id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="marquee"
Expand All @@ -17,7 +17,7 @@
android:textAppearance="?android:attr/textAppearanceLarge" />

<TextView
android:id="@+id/summary"
android:id="@android:id/summary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxLines="4"
Expand Down
4 changes: 2 additions & 2 deletions android/src/com/reecedunn/espeak/InformationListAdapter.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ public View getView(int position, View convertView, ViewGroup parent)
{
convertView = inflater.inflate(R.layout.information_view, parent, false);
holder = new ViewHolder();
holder.title = (TextView)convertView.findViewById(R.id.title);
holder.summary = (TextView)convertView.findViewById(R.id.summary);
holder.title = (TextView)convertView.findViewById(android.R.id.title);
holder.summary = (TextView)convertView.findViewById(android.R.id.summary);
convertView.setTag(holder);
}
else
Expand Down

0 comments on commit 960770e

Please sign in to comment.