activity_main.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayoutxmlns:androidLinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#FFFFFF"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#E4E4E4"
android:minHeight="55dp">
<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_centerVertical="true"
android:layout_marginLeft="8dp"
android:layout_marginRight="5dp"
android:focusable="true"
android:class="lazyload" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC" data-original="@drawable/abc_ic_ab_back_mtrl_am_alpha"/>
<ImageView
android:id="@+id/menu"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="9dp"
android:class="lazyload" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC" data-original="@drawable/top_arrow_message1"/>
</RelativeLayout>
</LinearLayout>
popuplayout.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayoutxmlns:androidLinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="vertical">
<LinearLayout
android:layout_width="120dp"
android:layout_height="130dp"
android:layout_marginRight="2dp"
android:background="@drawable/danchu"
android:gravity="center_vertical"
android:orientation="vertical">
<RelativeLayout
android:id="@+id/memu1"
android:layout_width="wrap_content"
android:layout_height="30dp"
android:layout_marginTop="5dp"
android:gravity="center_vertical">
<ImageView
android:id="@+id/xiaoxi"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_marginLeft="10dp"
android:class="lazyload" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC" data-original="@drawable/android_arrow_application"/>
<TextView
android:id="@+id/pop_computer"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_toRightOf="@+id/xiaoxi"
android:text=" 消息"
android:textColor="#FFFFFF"/>
</RelativeLayout>
<View
android:layout_width="wrap_content"
android:layout_height="1dp"/>
<RelativeLayout
android:id="@+id/memu2"
android:layout_width="wrap_content"
android:layout_height="30dp"
android:layout_marginTop="5dp"
android:gravity="center_vertical">
<ImageView
android:id="@+id/shanchu"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_marginLeft="10dp"
android:class="lazyload" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC" data-original="@drawable/android_arrow_profitbillsm"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_toRightOf="@+id/shanchu"
android:text=" 收藏"
android:textColor="#FFFFFF"/>
</RelativeLayout>
<View
android:layout_width="wrap_content"
android:layout_height="1dp"/>
<RelativeLayout
android:id="@+id/memu3"
android:layout_width="wrap_content"
android:layout_height="30dp"
android:layout_marginBottom="5dp"
android:layout_marginTop="5dp"
android:gravity="center_vertical">
<ImageView
android:id="@+id/dianjifanhui"
android:layout_width="18dp"
android:layout_height="20dp"
android:layout_marginLeft="10dp"
android:class="lazyload" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC" data-original="@drawable/dir15"/>
<TextView
android:id="@+id/pop_manage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_toRightOf="@+id/dianjifanhui"
android:text=" 首页"
android:textColor="#FFFFFF"/>
</RelativeLayout>
<View
android:layout_width="wrap_content"
android:layout_height="1dp"/>
</LinearLayout>
</LinearLayout>
|