App2 for group buying with imitation handles -- Activity for the current city, app2 -- activity

Source: Internet
Author: User

App2 for group buying with imitation handles -- Activity for the current city, app2 -- activity

On the home page, click "city TextView" to transfer to the current city and select Activity.

Fragment_city.xml

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"                android:layout_width="match_parent"                android:layout_height="match_parent"                android:background="@color/city_item_bg" >    <EditText        android:id="@+id/city_et_search"        android:layout_width="match_parent"        android:layout_height="wrap_content"        android:layout_margin="10dp"        android:padding="10dp"        android:drawableLeft="@drawable/wb_search_icon"        android:drawablePadding="5dp"        android:hint="@string/input_city_to_search"        android:background="@drawable/edittext_selector"/>    <RelativeLayout        android:id="@+id/city_fra_content_layout"        android:layout_width="match_parent"        android:layout_height="wrap_content"        android:layout_below="@+id/city_et_search">        <android.support.v7.widget.RecyclerView            android:id="@+id/city_rv_city_list"            android:layout_width="match_parent"            android:layout_height="match_parent"            android:layout_toLeftOf="@+id/city_sidebar"/>        <TextView            android:id="@+id/city_tv_show"            android:layout_width="80dp"            android:layout_height="80dp"            android:layout_centerInParent="true"            android:background="@android:color/darker_gray"            android:gravity="center"            android:textColor="#ffffffff"            android:textSize="30dp"            android:visibility="gone" />        <android.support.v7.widget.RecyclerView            android:id="@+id/city_rv_search_result"            android:layout_width="match_parent"            android:layout_height="match_parent"            android:layout_toLeftOf="@+id/city_sidebar"            android:visibility="gone"/>        <TextView            android:id="@+id/city_tv_no_result"            android:layout_width="wrap_content"            android:layout_height="wrap_content"            android:layout_centerInParent="true"            android:text="@string/not_find_city"            android:visibility="gone"/>        <com.myxh.coolshopping.ui.widget.SidebarView            android:id="@+id/city_sidebar"            android:layout_width="25dp"            android:layout_height="match_parent"            android:layout_alignParentRight="true"            android:layout_marginRight="2dp"            android:layout_marginTop="7dp" />    </RelativeLayout></RelativeLayout>

  

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.