You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5MI/TextView.txt

80 lines
3.1 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<?xml version="1.0" encoding="utf-8"?>
<!-- XML声明指定文档版本为1.0编码格式为UTF-8 -->
<!--
Copyright (c) 2010-2011, The MiCode Open Source Community (www.micode.net)
版权信息版权归2010-2011年MiCode开源社区所有网址www.micode.net
Licensed under the Apache License, Version 2.0 (the "License");
许可信息此文件受Apache License 2.0版(“许可证”)许可
you may not use this file except in compliance with the License.
使用限制:除非遵守许可证的规定,否则不得使用此文件
You may obtain a copy of the License at
许可证获取方式:您可以在以下网址获取许可证副本
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
免责声明:除非适用法律要求或书面同意,否则根据许可证分发的软件按“原样”分发,
不提供任何明示或暗示的保证或条件
See the License for the specific language governing permissions and
limitations under the License.
请参阅许可证以了解有关权限和许可证下限制的特定条款
-->
<LinearLayout
android:layout_width="fill_parent"
<!-- 布局宽度设为填充父容器 -->
android:layout_height="fill_parent"
<!-- 布局高度设为填充父容器 -->
android:orientation="vertical"
<!-- 布局方向为垂直 -->
xmlns:android="http://schemas.android.com/apk/res/android">
<!-- 定义Android命名空间 -->
<TextView
android:id="@+id/account_dialog_title"
<!-- 设置TextView的ID为account_dialog_title -->
style="?android:attr/textAppearanceMedium"
<!-- 应用中等外观的文本样式 -->
android:singleLine="true"
<!-- 文本设置为单行显示 -->
android:ellipsize="end"
<!-- 如果文本过长,则在末尾省略显示 -->
android:gravity="center"
<!-- 文本在TextView中居中显示 -->
android:layout_marginTop="-2.7dip"
<!-- 上边距设为-2.7密度无关像素 -->
android:layout_marginBottom="-2.7dip"
<!-- 下边距设为-2.7密度无关像素 -->
android:layout_width="fill_parent"
<!-- 宽度设为填充父容器 -->
android:layout_height="wrap_content"/>
<!-- 高度设为包裹内容 -->
<TextView
android:id="@+id/account_dialog_subtitle"
<!-- 设置TextView的ID为account_dialog_subtitle -->
android:layout_width="fill_parent"
<!-- 宽度设为填充父容器 -->
android:layout_height="wrap_content"
<!-- 高度设为包裹内容 -->
android:layout_marginTop="5dip"
<!-- 上边距设为5密度无关像素 -->
android:layout_marginBottom="1dip"
<!-- 下边距设为1密度无关像素 -->
android:gravity="center"/>
<!-- 文本在TextView中居中显示 -->
</LinearLayout>