<?xml version="1.0" encoding="utf-8"?>
<com.sunskyjun.fwproject.widgts.BounceScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/activity_user_center_bounceScrollView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/divider2"
android:fillViewport="true"
android:orientation="vertical"
android:scrollbars="none" > <LinearLayout
android:id="@+id/activity_user_center_lytUserCenter"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" > <LinearLayout
android:id="@+id/activity_user_center_lytUsername"
android:layout_width="match_parent"
android:layout_height="75dp"
android:layout_marginLeft="-1dp"
android:layout_marginRight="-1dp"

android:layout_marginTop="15dp"
android:background="@drawable/bg_item_border"
android:gravity="center"
android:orientation="horizontal"
android:padding="10dp" > <ImageView
android:id="@+id/activity_user_center_imgAvatar"
android:layout_width="55dp"
android:layout_height="55dp"
android:src="@drawable/user_center_avatar" /> <TextView
android:id="@+id/activity_user_center_txtUsername"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_vertical|left"
android:paddingLeft="10dp"
android:textColor="@color/bg_activity_category_search_cancel"
android:textSize="15sp" />
</LinearLayout> <LinearLayout
android:id="@+id/activity_user_center_lytFavorite"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginLeft="-1dp"
android:layout_marginRight="-1dp"
android:layout_marginTop="15dp"
android:background="@drawable/bg_item_border"
android:orientation="horizontal"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:gravity="center"> <ImageView
android:layout_width="22dp"
android:layout_height="22dp"
android:scaleType="centerCrop"
android:src="@drawable/user_center_favorite" /> <TextView
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="match_parent"
android:gravity="center_vertical|left"
android:paddingLeft="10dp"
android:text="@string/user_center_favorite"
android:textColor="@color/bg_activity_category_search_cancel"
android:textSize="13sp" /> <ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:scaleType="centerCrop"
android:src="@drawable/fragment_product_detail_entry_combo_collapse" />
</LinearLayout> <LinearLayout
android:id="@+id/activity_user_center_lytSetting"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginLeft="-1dp"
android:layout_marginRight="-1dp"
android:layout_marginTop="10dp"
android:background="@drawable/bg_item_border"
android:orientation="horizontal"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:gravity="center"> <ImageView
android:layout_width="22dp"
android:layout_height="22dp"
android:scaleType="centerCrop"
android:src="@drawable/user_center_setting" /> <TextView
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="match_parent"
android:gravity="center_vertical|left"
android:paddingLeft="10dp"
android:text="@string/user_center_setting"
android:textColor="@color/bg_activity_category_search_cancel"
android:textSize="13sp" /> <ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:scaleType="centerCrop"
android:src="@drawable/fragment_product_detail_entry_combo_collapse" />
</LinearLayout> <LinearLayout
android:id="@+id/activity_user_center_lytFeedback"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginLeft="-1dp"
android:layout_marginRight="-1dp"
android:layout_marginTop="10dp"
android:background="@drawable/bg_item_border"
android:orientation="horizontal"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:gravity="center"> <ImageView
android:layout_width="22dp"
android:layout_height="22dp"
android:scaleType="centerCrop"
android:src="@drawable/user_center_feedback" /> <TextView
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="match_parent"
android:gravity="center_vertical|left"
android:paddingLeft="10dp"
android:text="@string/user_center_feedback"
android:textColor="@color/bg_activity_category_search_cancel"
android:textSize="13sp" /> <ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:scaleType="centerCrop"
android:src="@drawable/fragment_product_detail_entry_combo_collapse" />
</LinearLayout> <LinearLayout
android:id="@+id/activity_user_center_lytEvaluate"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginLeft="-1dp"
android:layout_marginRight="-1dp"
android:layout_marginTop="-2dp"

android:background="@drawable/bg_item_border"
android:orientation="horizontal"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:gravity="center"> <ImageView
android:layout_width="22dp"
android:layout_height="22dp"
android:scaleType="centerCrop"
android:src="@drawable/user_center_evaluate" /> <TextView
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="match_parent"
android:gravity="center_vertical|left"
android:paddingLeft="10dp"
android:text="@string/user_center_evaluate"
android:textColor="@color/bg_activity_category_search_cancel"
android:textSize="13sp" /> <ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:scaleType="centerCrop"
android:src="@drawable/fragment_product_detail_entry_combo_collapse" />
</LinearLayout> <LinearLayout
android:id="@+id/activity_user_center_lytShare"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginLeft="-1dp"
android:layout_marginRight="-1dp"
android:layout_marginTop="-2dp"

android:background="@drawable/bg_item_border"
android:orientation="horizontal"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:gravity="center"> <ImageView
android:layout_width="22dp"
android:layout_height="22dp"
android:scaleType="centerCrop"
android:src="@drawable/user_center_share" /> <TextView
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="match_parent"
android:gravity="center_vertical|left"
android:paddingLeft="10dp"
android:text="@string/user_center_share"
android:textColor="@color/bg_activity_category_search_cancel"
android:textSize="13sp" /> <ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:scaleType="centerCrop"
android:src="@drawable/fragment_product_detail_entry_combo_collapse" />
</LinearLayout> <LinearLayout
android:id="@+id/activity_user_center_lytAbout"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginLeft="-1dp"
android:layout_marginRight="-1dp"
android:layout_marginTop="-2dp"
android:background="@drawable/bg_item_border"
android:orientation="horizontal"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:gravity="center"> <ImageView
android:layout_width="22dp"
android:layout_height="22dp"
android:scaleType="centerCrop"
android:src="@drawable/user_center_about" /> <TextView
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="match_parent"
android:gravity="center_vertical|left"
android:paddingLeft="10dp"
android:text="@string/user_center_about"
android:textColor="@color/bg_activity_category_search_cancel"
android:textSize="13sp" /> <ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:scaleType="centerCrop"
android:src="@drawable/fragment_product_detail_entry_combo_collapse" />
</LinearLayout> </LinearLayout> </com.sunskyjun.fwproject.widgts.BounceScrollView>

Android设置上下边框或者左右边框的更多相关文章

  1. [webkit移动开发笔记]之如何去除android上a标签产生的边框(转)

    转载地址:http://www.cnblogs.com/PeunZhang/archive/2013/02/28/2907708.html 去年年底,做完最后一个项目就可以开开心心回家,可是在测试阶段 ...

  2. [webkit移动开发笔记]之如何去除android上a标签产生的边框

    去年年底,做完最后一个项目就可以开开心心回家,可是在测试阶段,发现了不少bug,为了不影响回家时间,加班加点也要解决这些问题,这里算是工作回忆,也算是工作的一点小总结. 在ios4+和android2 ...

  3. IOS8 设置TableView Separatorinset 分割线从边框顶端开始

    IOS8 设置TableView Separatorinset 分割线从边框顶端开始   在ios8上 [TableViewsetSeparatorInset:UIEdgeInsetsMake(0,0 ...

  4. 用NPOI创建Excel、合并单元格、设置单元格样式、边框的方法

    本篇文章小编为大家介绍,用NPOI创建Excel.合并单元格.设置单元格样式.边框的方法.需要的朋友参考下 今天在做项目中,遇到使用代码生成具有一定样式的Excel,找了很多资料,最后终于解决了,Ex ...

  5. 去除Android打开软件出现的红边框

    /********************************************************************** * 去除Android打开软件出现的红边框 * 说明: ...

  6. C#-WebForm-设置div边框为内边框:box-sizing:border-box;

    设置div边框为内边框:box-sizing:border-box;

  7. css边框样式、边框配色、边框阴影、边框圆角、图片边框

     边框样式 点线式边框 破折线式边框 直线式边框 双线式边框 槽线式边框 脊线式边框 内嵌效果的边框 突起效果的边框 <div style="width: 300px; height: ...

  8. Panel添加边框颜色和边框粗细调整

    Panel控件添加边框颜色 C# WinForm窗体控件Panel修改边框颜色以及边框宽度方法 - JiYF - 博客园 (cnblogs.com) 1.新建一个用户控件的项目,如下: 2.添加一个P ...

  9. Xamarin Android设置界面提示类型错误

    Xamarin Android设置界面提示类型错误 错误信息:Integer types not allow (at ‘padding’ with value ’10’)Android界面属性的长度和 ...

  10. Android 设置进度条背景

    Android 设置进度条背景 直接上代码 <ProgressBar android:id="@+id/progressBar" android:layout_width=& ...

随机推荐

  1. spring源码分析构建

    命令如下: ant ant install-maven ant jar package E:\download\spring-framework-3.1.3.RELEASE\build-spring- ...

  2. jquery中的this 到底是什么意思? $(this)

    如果你学过面向对象语言的话,例如JAVA,你应该明白这个this在JAVA里的意思,简单的说,谁在调用它,它就代表文谁. 那么,用到这个jquery里,也算是蛮简单的.举两个例子,一个是单个对象,一个 ...

  3. Nagios监控memcached

    下载地址: http://search.cpan.org/CPAN/authors/id/Z/ZI/ZIGOROU/Nagios-Plugins-Memcached-0.02.tar.gz http: ...

  4. zookeeper主要使用场景

    场景一:有一组服务器向客户端提供某种服务,我们希望客户端每次请求服务端都可以找到服务端集群中某一台服务器,这样服务端就可以向客户端提供客户端所需的服务.对于这种场景,我们的程序中一定有一份这组服务器的 ...

  5. iOS 8 自动布局sizeclass和autolayout的基本使用

    1.首先创建新的工程,设置rootviewcontroller(这里不再多说) 2.勾选下面(因为我们到下面是使用sizeClass,所以勾选两个): 3.这里我创建了一个lable,名称为View1 ...

  6. python的exec、eval详解

    exec exec语句用来执行储存在字符串或文件中的Python语句.例如,我们可以在运行时生成一个包含Python代码的字符串,然后使用exec语句执行这些语句.下面是一个简单的例子. exec ' ...

  7. ASP.NET 文本编辑器使用(CKEditor)与上传图片

    CKEditor是什么 CKEidtor是一个在线富文本编辑器,可以将让用户所见即所得的获得编辑在线文本,编辑器或自动将用户编辑的文字格式转换成html代码. 方法一.在ASP.NET工程中添加CKE ...

  8. JavaScript 客户端JavaScript之事件(DOM API 提供模块之一)

    具有交互性的JavaScript程序使用的是事件驱动的程序设计模型.   目前使用的有3种完全不同的不兼容的事件处理模型. 1.原始事件模型 (一种简单的事件处理模式) 一般把它看作0级DOM API ...

  9. preventDefault() 方法 取消掉与事件关联的默认动作

    前几天写的 响应键盘的图片切换 中, 键盘总是让浏览器滚动,为了取消掉默认的事件,使用了 preventDefault() 方法 定义和用法 preventDefault() 方法取消事件的默认动作. ...

  10. oracle过滤名字中含有_的行

    select * from emp where ename like '%\_%' escape '\'; escape 定义转义字符串,这样转义字符串后的字符就是普通字符.