Andriod基础:RatingBar设置
来源:互联网 发布:phonewindow源码 编辑:程序博客网 时间:2024/05/10 16:54
<RatingBar android:layout_width="wrap_content" style="@android:style/Widget.RatingBar" android:layout_marginTop="2dp" android:id="@+id/rb_stars" android:isIndicator="true" android:layout_marginBottom="2dp" android:progressDrawable="@drawable/ratingbar_drawable" android:layout_height="14dp"/>
ratingbar_drawable.xml:
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2008 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.--><layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item android:id="@+android:id/background" android:drawable="@drawable/rating_small_empty" /> <item android:id="@+android:id/secondaryProgress" android:drawable="@drawable/rating_small_half" /> <item android:id="@+android:id/progress" android:drawable="@drawable/rating_small_full" /></layer-list>
0 0
- Andriod基础:RatingBar设置
- ratingbar基础
- 设置RatingBar的图片
- RatingBar自定义设置
- RatingBar设置不可点击
- ratingbar设置星星个数
- Andriod基础
- android基础--RatingBar控件
- RatingBar设置不可点击解决办法
- andriod设置默认APP
- andriod横竖屏设置
- Andriod基础2
- Andriod Studio基础界面设计
- RatingBar
- RatingBar
- RatingBar
- ratingbar
- RatingBar
- 如何使用命令行 Change SharePoint Farm Administrator?
- C++第三次上机作业
- nodejs小记之jqueryfileupload异步图片文件上传 带上传进度
- MD-Snackbar的使用
- IOS 开发-UI初级 (二)视图和视图控制器(View,Viewcontroller)
- Andriod基础:RatingBar设置
- 稀疏表示
- Eclipse如何快速调试系统App(具有系统权限的Android App)即Eclipse导入系统签名快速调试系统App
- 二叉树的生成与遍历
- webview
- hdoj 5212 Code 【数学+思维】
- c++第三次实验
- Cmaker 是什么
- eclipse使用git解决冲突