1
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -22,7 +22,7 @@ import java.util.ArrayList;
|
||||
import tools.Config;
|
||||
|
||||
public class MainTabActivity extends BaseActivity<ActivityMainTabBinding>
|
||||
implements View.OnClickListener, MainFragment.OnFragmentInteractionListener,
|
||||
implements View.OnClickListener,
|
||||
Main1Fragment.OnFragmentInteractionListener,
|
||||
Main2Fragment.OnFragmentInteractionListener,
|
||||
Main3Fragment.OnFragmentInteractionListener,
|
||||
|
||||
@@ -139,7 +139,7 @@ public class GoodsInfoDialog extends BottomPopupView {
|
||||
|
||||
}
|
||||
|
||||
interface OnGoodsSelectPropertyListener {
|
||||
public interface OnGoodsSelectPropertyListener {
|
||||
void onSelect(String code, int num);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<FrameLayout
|
||||
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
|
||||
tools:context=".Main1Fragment">
|
||||
|
||||
<!-- TODO: Update blank fragment layout -->
|
||||
<RelativeLayout
|
||||
@@ -23,57 +16,55 @@
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:id="@+id/l1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dip"
|
||||
android:orientation="horizontal"
|
||||
|
||||
|
||||
android:theme="@style/AppTheme.AppBarOverlay">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv1_address"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:text="@string/app_name"
|
||||
android:textColor="@color/background_color_white"
|
||||
android:textSize="17sp" />
|
||||
|
||||
<ImageView
|
||||
android:visibility="gone"
|
||||
android:id="@+id/scan"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginRight="15dip"
|
||||
android:src="@mipmap/shaomiao" />
|
||||
android:src="@mipmap/shaomiao"
|
||||
android:visibility="gone" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/f7">
|
||||
<com.scwang.smartrefresh.layout.SmartRefreshLayout
|
||||
android:id="@+id/taobao_refresh_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:srlEnableLoadMore="false"
|
||||
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/white"
|
||||
app:srlDisableContentWhenLoading="true"
|
||||
app:srlEnableLoadMore="true"
|
||||
|
||||
>
|
||||
|
||||
<com.scwang.smartrefresh.layout.header.ClassicsHeader
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<my_view.tao_bao_refresh.ScrollViewExtend
|
||||
<ScrollView
|
||||
android:id="@+id/scroll_view_extend"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fillViewport="true">
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/l2"
|
||||
@@ -86,6 +77,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="150dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.youth.banner.Banner
|
||||
android:id="@+id/banner"
|
||||
android:layout_width="match_parent"
|
||||
@@ -97,8 +89,7 @@
|
||||
app:indicator_margin="6dp"
|
||||
app:indicator_width="6dp"
|
||||
app:is_auto_play="true"
|
||||
app:title_background="#00000000"
|
||||
/>
|
||||
app:title_background="#00000000" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
@@ -108,7 +99,6 @@
|
||||
android:orientation="horizontal">
|
||||
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/entrancegurd"
|
||||
android:layout_width="match_parent"
|
||||
@@ -125,6 +115,7 @@
|
||||
android:textColor="@color/white"
|
||||
android:textSize="15sp" />
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/service"
|
||||
android:layout_width="match_parent"
|
||||
@@ -142,6 +133,7 @@
|
||||
android:textSize="15sp" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/cargara"
|
||||
android:layout_width="match_parent"
|
||||
@@ -181,7 +173,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignLeft="@+id/view"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:text="@string/usershop" />
|
||||
android:text="发现精彩" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/moew1"
|
||||
@@ -190,76 +182,74 @@
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="10dip"
|
||||
android:text="@string/more"
|
||||
android:textColor="@color/gray" />
|
||||
android:textColor="@color/gray"
|
||||
android:visibility="gone" />
|
||||
</RelativeLayout>
|
||||
|
||||
<my_view.tao_bao_refresh.RecyView
|
||||
android:id="@+id/fragmentRecyclerviewHorization"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dip"
|
||||
|
||||
android:layout_marginRight="10dip">
|
||||
|
||||
</my_view.tao_bao_refresh.RecyView>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/myversion"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dip">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<View
|
||||
android:id="@+id/view2"
|
||||
android:layout_width="5dip"
|
||||
android:layout_height="14dip"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_marginLeft="5dip"
|
||||
android:layout_marginTop="2dip"
|
||||
android:background="@color/colorPrimary" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/userommunitybutextid"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignLeft="@+id/view2"
|
||||
android:layout_marginLeft="6dp"
|
||||
android:text="@string/ommunitybulletin" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/moew2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="10dip"
|
||||
android:text="@string/more"
|
||||
android:textColor="@color/gray" />
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<my_view.tao_bao_refresh.RecyView
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/recyView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="0dip"
|
||||
android:layout_marginRight="0dip"
|
||||
android:background="@color/white"
|
||||
android:focusable="true"></my_view.tao_bao_refresh.RecyView>
|
||||
android:layout_height="wrap_content" />
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
</my_view.tao_bao_refresh.ScrollViewExtend>
|
||||
</ScrollView>
|
||||
|
||||
<com.scwang.smartrefresh.layout.footer.ClassicsFooter
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_comment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="45dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_gravity="bottom"
|
||||
android:background="#f6f6f6"
|
||||
android:elevation="3dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_comment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginRight="7dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/shape_comment_bg"
|
||||
android:ellipsize="end"
|
||||
android:hint="说点什么"
|
||||
android:maxLength="300"
|
||||
android:paddingLeft="10dp"
|
||||
android:singleLine="true"
|
||||
android:textColorHint="#a2a2a2"
|
||||
android:textSize="13sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_send_comment"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:background="@drawable/shape_comment"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:text="发送"
|
||||
android:textColor="#fff"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
</FrameLayout>
|
||||
|
||||
</layout>
|
||||
Reference in New Issue
Block a user