xujiaming 2016-8-23

代码修正,功能完善
This commit is contained in:
TISSOT 2016-08-24 12:21:26 +08:00
parent 772fe9298a
commit 1e4cccc56f
19 changed files with 42 additions and 15 deletions

View File

@ -337,19 +337,20 @@ public final class R {
public static final int header_shop=0x7f03002f; public static final int header_shop=0x7f03002f;
public static final int header_shop_all=0x7f030030; public static final int header_shop_all=0x7f030030;
public static final int header_soft=0x7f030031; public static final int header_soft=0x7f030031;
public static final int layout_libraryreservation=0x7f030032; public static final int info_list_item=0x7f030032;
public static final int layout_reservation=0x7f030033; public static final int layout_libraryreservation=0x7f030033;
public static final int mine_list_item=0x7f030034; public static final int layout_reservation=0x7f030034;
public static final int mine_soft_list_item=0x7f030035; public static final int mine_list_item=0x7f030035;
public static final int news_list_item=0x7f030036; public static final int mine_soft_list_item=0x7f030036;
public static final int order_info_list_item=0x7f030037; public static final int news_list_item=0x7f030037;
public static final int popmenu=0x7f030038; public static final int order_info_list_item=0x7f030038;
public static final int scom_list_item=0x7f030039; public static final int popmenu=0x7f030039;
public static final int shop_all_list_item=0x7f03003a; public static final int scom_list_item=0x7f03003a;
public static final int shop_grid_item=0x7f03003b; public static final int shop_all_list_item=0x7f03003b;
public static final int tab_widget_item=0x7f03003c; public static final int shop_grid_item=0x7f03003c;
public static final int viewpager_menu=0x7f03003d; public static final int tab_widget_item=0x7f03003d;
public static final int viewpager_shopinfo=0x7f03003e; public static final int viewpager_menu=0x7f03003e;
public static final int viewpager_shopinfo=0x7f03003f;
} }
public static final class menu { public static final class menu {
public static final int main=0x7f080000; public static final int main=0x7f080000;

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="5dp" >
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#F5F5F5"
android:padding="8dp" >
<!-- 讲坛标题 -->
<TextView
android:id="@+id/tv_info_item_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_centerVertical="true"
android:text="“四会”教练员评比"
android:textSize="15sp" />
</RelativeLayout>
</RelativeLayout>

View File

@ -62,10 +62,10 @@ public class InformationListAdapter extends BaseAdapter {
// TODO Auto-generated method stub // TODO Auto-generated method stub
BXTNewsHolder newsHolder; BXTNewsHolder newsHolder;
if (convertView == null) { if (convertView == null) {
convertView = mInflater.inflate(R.layout.bxt_list_item, null); convertView = mInflater.inflate(R.layout.info_list_item, null);
newsHolder = new BXTNewsHolder(); newsHolder = new BXTNewsHolder();
newsHolder.tvBXTNewsTitle = (TextView) convertView newsHolder.tvBXTNewsTitle = (TextView) convertView
.findViewById(R.id.tv_bxt_news_item_title); .findViewById(R.id.tv_info_item_title);
convertView.setTag(newsHolder); convertView.setTag(newsHolder);
} else { } else {
newsHolder = (BXTNewsHolder) convertView.getTag(); newsHolder = (BXTNewsHolder) convertView.getTag();