• linkedu视频
  • 平面设计
  • 电脑入门
  • 操作系统
  • 办公应用
  • 电脑硬件
  • 动画设计
  • 3D设计
  • 网页设计
  • CAD设计
  • 影音处理
  • 数据库
  • 程序设计
  • 认证考试
  • 信息管理
  • 信息安全
菜单
linkedu.com
  • 网页制作
  • 数据库
  • 程序设计
  • 操作系统
  • CMS教程
  • 游戏攻略
  • 脚本语言
  • 平面设计
  • 软件教程
  • 网络安全
  • 电脑知识
  • 服务器
  • 视频教程
  • JavaScript
  • ASP.NET
  • PHP
  • 正则表达式
  • AJAX
  • JSP
  • ASP
  • Flex
  • XML
  • 编程技巧
  • Android
  • swift
  • C#教程
  • vb
  • vb.net
  • C语言
  • Java
  • Delphi
  • 易语言
  • vc/mfc
  • 嵌入式开发
  • 游戏开发
  • ios
  • 编程问答
  • 汇编语言
  • 微信小程序
  • 数据结构
  • OpenGL
  • 架构设计
  • qt
  • 微信公众号
您的位置:首页 > 程序设计 >Android > 仿拉手团购App9-- 产品详情界面,团购app9--

仿拉手团购App9-- 产品详情界面,团购app9--

作者:网友 字体:[增加 减小] 来源:互联网 时间:2017-05-26

网友通过本文主要向大家介绍了苹果 app9ca3,苹果 app9ccb,苹果 app9cc5,app9cd7 color lcd,苹果 app9cc3等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com

仿拉手团购App9-- 产品详情界面,团购app9--


 

 

activity_detail.xml

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context="com.myxh.coolshopping.ui.activity.DetailActivity">

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_above="@+id/detail_layout_buy">
        <com.myxh.coolshopping.ui.widget.ObserverScrollView
            android:id="@+id/detail_scroll_view"
            android:layout_width="match_parent"
            android:layout_height="match_parent">
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:orientation="vertical">
                <com.facebook.drawee.view.SimpleDraweeView
                    android:id="@+id/detail_product_photo"
                    android:layout_width="match_parent"
                    android:layout_height="@dimen/detail_photo_height"
                    android:scaleType="centerCrop"
                    app:placeholderImage="@mipmap/home_adver_320"/>
                <View
                    style="@style/detail_view_style"/>
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:orientation="vertical"
                    android:padding="@dimen/detail_product_info_layout_padding">
                    <TextView
                        android:id="@+id/detail_tv_product_name"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        tools:text="竹林宾馆"
                        android:textSize="@dimen/textSize_20"
                        android:textColor="@color/app_yellow"/>
                    <LinearLayout
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_marginTop="5dp"
                        android:layout_marginBottom="5dp"
                        android:gravity="center_vertical"
                        android:orientation="horizontal">
                        <TextView
                            android:id="@+id/detail_tv_description"
                            android:layout_width="0dp"
                            android:layout_height="wrap_content"
                            android:layout_weight="1"
                            android:paddingRight="10dp"
                            tools:text="大床房入住一晚,交通便利"
                            android:textSize="@dimen/textSize_13"/>
                        <TextView
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:text="@string/detail_bought"
                            android:textSize="@dimen/textSize_14"/>
                        <TextView
                            android:id="@+id/detail_tv_bought"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            tools:text="289"
                            android:textSize="@dimen/textSize_14"/>
                    </LinearLayout>
                    <View
                        style="@style/detail_view_style"
                        android:layout_marginTop="@dimen/detail_view_marginTop"/>
                    <LinearLayout
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:paddingTop="5dp"
                        android:paddingBottom="5dp"
                        android:orientation="horizontal"
                        android:background="@color/white">
                        <LinearLayout
                            android:id="@+id/detail_sure_layout_anytime"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_marginRight="@dimen/detail_sure_layout_marginRight"
                            android:gravity="center_vertical"
                            android:orientation="horizontal">
                            <ImageView
                                android:layout_width="@dimen/detail_sure_icon_width"
                                android:layout_height="@dimen/detail_sure_icon_height"
                                android:src="@mipmap/mini_icon_sure"/>
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:layout_marginLeft="@dimen/detail_sure_text_marginLeft"
                                android:text="@string/detail_sure_anytime"
                                android:textSize="@dimen/textSize_14"/>
                        </LinearLayout>
                        <LinearLayout
                            android:id="@+id/detail_sure_layout_overdue"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_marginRight="@dimen/detail_sure_layout_marginRight"
                            android:gravity="center_vertical"
                            android:orientation="horizontal">
                            <ImageView
                                android:layout_width="@dimen/detail_sure_icon_width"
                                android:layout_height="@dimen/detail_sure_icon_height"
                                android:src="@mipmap/mini_icon_sure"/>
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:layout_marginLeft="@dimen/detail_sure_text_marginLeft"
                                android:text="@string/detail_sure_overdue"
                                android:textSize="@dimen/textSize_14"/>
                        </LinearLayout>
                        <LinearLayout
                            android:id="@+id/detail_sure_layout_sevenday"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_marginRight="@dimen/detail_sure_layout_marginRight"
                            android:gravity="center_vertical"
                            android:orientation="horizontal">
                            <ImageView
                                android:layout_width="@dimen/detail_sure_icon_width"
                                android:layout_height="@dimen/detail_sure_icon_height"
                                android:src="@mipmap/mini_icon_sure"/>
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:layout_marginLeft="@dimen/detail_sure_text_marginLeft"
                   



 
分享到:QQ空间新浪微博腾讯微博微信百度贴吧QQ好友复制网址打印

您可能想查找下面的文章:

  • 仿拉手团购App9-- 产品详情界面,团购app9--

相关文章

  • 2017-05-26Android 面试题--Service,android--service
  • 2017-05-26Android中BroadcastReceiver组件详解
  • 2017-05-26Retrofit+RxJava(1)-在Android Studio中配置,retrofitrxjava
  • 2017-05-26【Android性能工具】腾讯开源工具APT,androidapt
  • 2017-05-26解析Service之你需要了解的一些东东,解析Service之东东
  • 2017-05-26Android中隐藏顶部状态栏的那些坑,android顶部状态栏
  • 2017-05-26Activity生命周期,activity生命周期图
  • 2017-05-26ActionBar设置自定义setCustomView()留有空白的问题,setcustomview空白
  • 2017-05-26Android 面试题--Activity,android--activity
  • 2017-05-26Android应用开发必备的20条技能

文章分类

  • JavaScript
  • ASP.NET
  • PHP
  • 正则表达式
  • AJAX
  • JSP
  • ASP
  • Flex
  • XML
  • 编程技巧
  • Android
  • swift
  • C#教程
  • vb
  • vb.net
  • C语言
  • Java
  • Delphi
  • 易语言
  • vc/mfc
  • 嵌入式开发
  • 游戏开发
  • ios
  • 编程问答
  • 汇编语言
  • 微信小程序
  • 数据结构
  • OpenGL
  • 架构设计
  • qt
  • 微信公众号

最近更新的内容

    • Service的启动与停止、绑定与解绑,service停止绑定
    • Android开源项目分类汇总(六)工具库
    • Android学习笔记(31):滚动视图ScrollView浅析
    • Kotlin的属性委托:无上下文情况下Android的赋值(KAD 15),kotlinandroid
    • 二维码Zxing&amp;Zbar,zxing
    • Android阻止AlertDialog关闭,androidalertdialog
    • 在不同Activity之间传递数据的四种常用方法,activity四种
    • 安卓四大组件之服务,安卓四大组件
    • Android中的消息通知(NotificationManager和Notification),android通知栏消息
    • Android开发免费类库和工具集合,android类库

关于我们 - 联系我们 - 免责声明 - 网站地图

©2020-2025 All Rights Reserved. linkedu.com 版权所有