栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 面试经验 > 面试问答

什么是android.R.layout.simple_list_item_1?

面试问答 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

什么是android.R.layout.simple_list_item_1?

android.R.layout
包含Android操作系统用来显示各种项目的所有公共可用布局。
android.R.layout.simple_list_item_1
顾名思义,它只是一个显示文本片段的简单布局。它使您免于在使用适配器时不必编写简单的布局,并且使您在应用程序中的系统本机外观和主题花费了最少的精力。

我已经包括了来自android.git.kernel.org回购的GitHub镜像的源

<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2006 The Android Open Source Project     Licensed under the Apache License, Version 2.0 (the "License");     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.--><TextView xmlns:android="http://schemas.android.com/apk/res/android"    android:id="@android:id/text1"    android:layout_width="match_parent"    android:layout_height="wrap_content"    android:textAppearance="?android:attr/textAppearanceLarge"    android:gravity="center_vertical"    android:paddingLeft="6dip"    android:minHeight="?android:attr/listPreferredItemHeight"/>


转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/455600.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号