• 大小: 1.44M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-23
  • 语言: Java
  • 标签: Android  设置  Activity  

资源简介


  • iOSStyle:是否使用类似iPhone中的设置界面效果,也就是分割线的样式

  • title:标题文字

  • subTitle:副标题文字

  • titleColor:标题文字颜色

  • subTitleColor:副标题文字颜色

  • titleSize:标题文字大小

  • subTitleSize:副标题文字大小

  • drawable:控件ItemView的Icon资源

  • arrow:箭头的资源文件

  • check:当控件类型是选择框时的标记图片资源

  • image:当控件的副标题是图片类型时的默认图片资源

  • clickable:控件初始时是否可以点击,大部分都是可以点击的,只是开关控件会不同

  • checked:控件初始时是否是选中状态,作用于开关选项和单选选项

  • background:控件整体的背景资源


资源截图

代码片段和文件信息

package com.dtr.settingview.examples;

import java.util.ArrayList;
import java.util.List;

import android.app.Activity;
import android.os.Bundle;
import android.widget.Toast;

import com.dtr.settingview.lib.SettingView;
import com.dtr.settingview.lib.SettingView.onSettingViewItemClickListener;
import com.dtr.settingview.lib.SettingView.onSettingViewItemSwitchListener;
import com.dtr.settingview.lib.entity.SettingData;
import com.dtr.settingview.lib.entity.SettingViewItemData;
import com.dtr.settingview.lib.item.BasicItemViewH;
import com.dtr.settingview.lib.item.SwitchItemView;

public class IosstyleActivity extends Activity {

private SettingView mSettingView1 = null;
private SettingView mSettingView2 = null;

private SettingData mItemData = null;
private SettingViewItemData mItemView

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2014-09-10 06:09  SettingView-master\
     文件         271  2014-09-10 06:09  SettingView-master\.gitignore
     文件       11324  2014-09-10 06:09  SettingView-master\LICENSE
     文件        5004  2014-09-10 06:09  SettingView-master\README.md
     目录           0  2014-09-10 06:09  SettingView-master\ScreenShots\
     文件       51141  2014-09-10 06:09  SettingView-master\ScreenShots\Screenshot_01.png
     文件       58429  2014-09-10 06:09  SettingView-master\ScreenShots\Screenshot_02.png
     文件       52768  2014-09-10 06:09  SettingView-master\ScreenShots\Screenshot_03.png
     文件       49957  2014-09-10 06:09  SettingView-master\ScreenShots\Screenshot_04.png
     目录           0  2014-09-10 06:09  SettingView-master\SettingViewExamples\
     文件         466  2014-09-10 06:09  SettingView-master\SettingViewExamples\.classpath
     文件         822  2014-09-10 06:09  SettingView-master\SettingViewExamples\.project
     目录           0  2014-09-10 06:09  SettingView-master\SettingViewExamples\.settings\
     文件         173  2014-09-10 06:09  SettingView-master\SettingViewExamples\.settings\org.eclipse.jdt.core.prefs
     文件         910  2014-09-10 06:09  SettingView-master\SettingViewExamples\AndroidManifest.xml
     文件       12773  2014-09-10 06:09  SettingView-master\SettingViewExamples\ic_launcher-web.png
     目录           0  2014-09-10 06:09  SettingView-master\SettingViewExamples\libs\
     文件      648327  2014-09-10 06:09  SettingView-master\SettingViewExamples\libs\android-support-v4.jar
     文件         781  2014-09-10 06:09  SettingView-master\SettingViewExamples\proguard-project.txt
     文件         613  2014-09-10 06:09  SettingView-master\SettingViewExamples\project.properties
     目录           0  2014-09-10 06:09  SettingView-master\SettingViewExamples\res\
     目录           0  2014-09-10 06:09  SettingView-master\SettingViewExamples\res\drawable-hdpi\
     文件        1092  2014-09-10 06:09  SettingView-master\SettingViewExamples\res\drawable-hdpi\ic_launcher.png
     目录           0  2014-09-10 06:09  SettingView-master\SettingViewExamples\res\drawable-mdpi\
     文件         724  2014-09-10 06:09  SettingView-master\SettingViewExamples\res\drawable-mdpi\ic_launcher.png
     目录           0  2014-09-10 06:09  SettingView-master\SettingViewExamples\res\drawable-xhdpi\
     文件        1429  2014-09-10 06:09  SettingView-master\SettingViewExamples\res\drawable-xhdpi\ic_launcher.png
     文件        1647  2014-09-10 06:09  SettingView-master\SettingViewExamples\res\drawable-xhdpi\icon01.png
     文件        1641  2014-09-10 06:09  SettingView-master\SettingViewExamples\res\drawable-xhdpi\icon02.png
     文件        1642  2014-09-10 06:09  SettingView-master\SettingViewExamples\res\drawable-xhdpi\icon03.png
     文件        1642  2014-09-10 06:09  SettingView-master\SettingViewExamples\res\drawable-xhdpi\icon04.png
............此处省略98个文件信息

评论

共有 条评论