mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-06 23:16:21 +00:00
Use the android title/summary IDs in the information_view.xml layout.
This commit is contained in:
@@ -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"
|
||||
@@ -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"
|
||||
|
||||
@@ -52,8 +52,8 @@ public class InformationListAdapter extends ArrayAdapter<Pair<String,String>>
|
||||
{
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user