Android Material Design Theme UI and Tool Library. Support: 4.0.3~O

Related tags

Tools Genius-Android
Overview

License License Android Arsenal Download

GitHub OSChina 中文 English

Genius-Android

branchs

Genius-Android: by Material Design style and some commonly used packages. Starting in 2015, The divided into two branches: STEADY and CAPRICE.

  • STEADY END

  • CAPRICE is new branch, containing Ui, Graphics, Kit libraries

    • Resource Lib: Include Material Design Color and Dimen
    • Ui Lib: Is Material Design style widget, support to api-15 (4.0.3)
    • Kit Lib: Include commandhandlerreflect
    • Graphics Lib: Include blur

Note: STEADY with CAPRICE libraries are not compatible, is completely independent branch!

GeniusUI

Sample APK

Video

Add Library To Your Project

Ui Resource Graphics Kit

dependencies {
  // ui module
  api 'net.qiujuer.genius:ui:2.2.0'
  api 'net.qiujuer.genius:res:2.2.0'
  
  // use to bitmap blur and more
  api 'net.qiujuer.genius:graphics:2.2.0'
  
  // ping/telnet/tracert/dns and run cmd
  api 'net.qiujuer.genius:kit-cmd:2.2.0'
  // shuttle between ui-thread and child-thread
  api 'net.qiujuer.genius:kit-handler:2.2.0'
  // calss reflect
  api 'net.qiujuer.genius:kit-reflect:2.2.0'
}
  • Note: Each module is independent and can be used independently to dependency.

More Documents And Develop

Feedback

If you submit question, please:

About me

  var info = {
    nickName  : "qiujuer",
    site : "http://www.qiujuer.net"
  }

License

Copyright 2014-2021 Qiujuer.

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.
Comments
  • Seekbar with variable Max

    Seekbar with variable Max

    In my app the seekbar's Max is variable. For example: The current max is 4, and after pressing a button it shall be 5. I tried invalidate() but that didnt work. How can I do that?

    enhancement help wanted 
    opened by XxGoliathusxX 13
  • Vertical seek bar

    Vertical seek bar

    Hello,

    I would like to know how I can align a vertical seek bar to the parent left of my screen? I have tried to rotate it but there is a huge padding left and right which makes it impossible for me to align it on the left for example

    help wanted 
    opened by Paul776 3
  • Whether it can be compatible with the low version

    Whether it can be compatible with the low version

    Error:Execution failed for task ':app:processBaiduDebugManifest'.

    Manifest merger failed : uses-sdk:minSdkVersion 14 cannot be smaller than version 15 declared in library [net.qiujuer.genius:ui:2.0.0-beta8] E:\chengye\app\build\intermediates\exploded-aar\net.qiujuer.genius\ui\2.0.0-beta8\AndroidManifest.xml Suggestion: use tools:overrideLibrary="net.qiujuer.genius.ui" to force usage

    opened by wei3 1
  • Use style background resource invalid

    Use style background resource invalid

    In style: <style name="AppTheme.Button.Background" parent="Genius.Widget.Button"> <item name="android:background">@drawable/m_button_background</item> </style> used: <net.qiujuer.genius.ui.widget.Button android:layout_width="0dp" android:layout_height="@dimen/size_52" android:layout_marginLeft="@dimen/lay_4" android:layout_marginRight="@dimen/lay_4" android:layout_weight="1" style="@style/AppTheme.Button.Background" android:text="Ease" android:textColor="@color/white_alpha_224" app:gTouchEffect="ease" /> but the "android:background" invalid.

    bug 
    opened by qiujuer 1
  • clone下来 import 工程之后报错Error:No service of type Factory available in ProjectScopeServices.

    clone下来 import 工程之后报错Error:No service of type Factory available in ProjectScopeServices.

    发现有人提了 issue https://code.google.com/p/android/issues/detail?id=219692 直接将project 下的 gradle 中的classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'更新到1.4.1就可以了

    opened by Kenmmm 1
  • Improve widget check attr method and EffectDrawable

    Improve widget check attr method and EffectDrawable

    In Effect logic, we add LongTouch slow draw support, and change the hock click method logic.

    In some others, we change check atts have value method.

    Have most improve in UI module.

    opened by qiujuer 1
  • Add new attr to control SeekBar mark always show

    Add new attr to control SeekBar mark always show

    Now, we need SeekBar Indicator marker is always show

    ok, we need attrs:

            <attr name="gIndicator">
                <enum name="always" value="-1" />
                <enum name="none" value="0" />
                <enum name="auto" value="1" />
            </attr>
    
    enhancement 
    opened by qiujuer 1
Releases(CAPRICE-V2.1.1)
  • CAPRICE-V2.1.1(Aug 12, 2018)

  • CAPRICE-V2.1.0(Jul 14, 2018)

    • Open Loading widget setLoadingDrawable method

    Ui Graphics Resource Kit

    dependencies {
      // ui module
      compile 'net.qiujuer.genius:ui:2.1.0'
      compile 'net.qiujuer.genius:res:2.1.0'
      
      // use to bitmap blur and more
      compile 'net.qiujuer.genius:graphics:2.1.0'
      
      // ping/telnet/tracert/dns and run cmd
      compile 'net.qiujuer.genius:kit-cmd:2.1.0'
      // shuttle between ui-thread and child-thread
      compile 'net.qiujuer.genius:kit-handler:2.1.0'
      // calss reflect
      compile 'net.qiujuer.genius:kit-reflect:2.1.0'
    }
    
    Source code(tar.gz)
    Source code(zip)
  • CAPRICE-V2.0.1(Jul 12, 2017)

    • Fixed #101 AS3 use FloatActionButton error

    Ui Graphics Resource Kit

    dependencies {
      // ui module
      compile 'net.qiujuer.genius:ui:2.0.1'
      compile 'net.qiujuer.genius:res:2.0.1'
      
      // use to bitmap blur and more
      compile 'net.qiujuer.genius:graphics:2.0.1'
      
      // ping/telnet/tracert/dns and run cmd
      compile 'net.qiujuer.genius:kit-cmd:2.0.1'
      // shuttle between ui-thread and child-thread
      compile 'net.qiujuer.genius:kit-handler:2.0.1'
      // calss reflect
      compile 'net.qiujuer.genius:kit-reflect:2.0.1'
    }
    
    Source code(tar.gz)
    Source code(zip)
  • CAPRICE-V2.0.0(Jul 12, 2017)

    Ui Graphics Resource Kit

    dependencies {
      // ui module
      compile 'net.qiujuer.genius:ui:2.0.0'
      compile 'net.qiujuer.genius:res:2.0.0'
      
      // use to bitmap blur and more
      compile 'net.qiujuer.genius:graphics:2.0.0'
      
      // ping/telnet/tracert/dns and run cmd
      compile 'net.qiujuer.genius:kit-cmd:2.0.0'
      // shuttle between ui-thread and child-thread
      compile 'net.qiujuer.genius:kit-handler:2.0.0'
      // calss reflect
      compile 'net.qiujuer.genius:kit-reflect:2.0.0'
    }
    
    Source code(tar.gz)
    Source code(zip)
  • CAPRICE-V2.0.0-beta2(May 4, 2016)

    Ui Blur Resource Kit

    dependencies {
      // ui module
      compile 'net.qiujuer.genius:ui:2.0.0-beta2'
      compile 'net.qiujuer.genius:res:2.0.0-beta2'
    
      // blur module
      compile 'net.qiujuer.genius:blur:2.0.0-beta2'
    
      // kit module
      compile 'net.qiujuer.genius:kit:2.0.0-beta2'
      // or
      compile 'net.qiujuer.genius:kit-cmd:2.0.0-beta2'
      compile 'net.qiujuer.genius:kit-handler:2.0.0-beta2'
      compile 'net.qiujuer.genius:kit-reflect:2.0.0-beta2'
    }
    
    Source code(tar.gz)
    Source code(zip)
  • CAPRICE-UI-V1.6.0(Apr 8, 2016)

    Improve same widget. Fixed same bug:

    • #49 Seekbar with variable Max
    • #53 Some phone button ripple problem
    • #54 On Gravity is center, the EditText isn't work
    Source code(tar.gz)
    Source code(zip)
  • CAPRICE-UI-V1.5.1(Apr 5, 2016)

  • CAPRICE-UI-V1.2.0(Nov 26, 2015)

    • EditText widget add allow setBackground method
    • Button widget add default background
    • Button widget change setRadius logic
    • Button widget add setTouchDuration method.
    Source code(tar.gz)
    Source code(zip)
  • CAPRICE-UI-V1.0.1(Aug 26, 2015)

  • CAPRICE-UI-V1.0.0(Aug 15, 2015)

  • CAPRICE-UI-V0.3.0(Aug 12, 2015)

  • CAPRICE-UI-V0.2.0(Aug 6, 2015)

  • CAPRICE-UI-V0.1.0(Jul 28, 2015)

  • CAPRICE-KIT-V1.0.0(Apr 29, 2015)

  • CAPRICE-BLUR-V1.0.0(Apr 29, 2015)

  • STEADY-V2.4.1(Apr 21, 2015)

    2.4.1

    • To Changed NDK Load FIles.

    2.4.0

    • 统一化 Attribute 命名方式
    • 添加新的 Drawable: ColorState, Paint, SeekBar, AlmostRipple, BalloonMarker
    • 添加新控件 SeekBar
    • 添加气球标记控件 BalloonMarker
    • 对气球标记控件进行悬浮控制
    • 实现 SeekBar 拖动等功能
    • 实现 SeekBar 颜色控制以及自动对齐功能
    • 实现 SeekBar 主题颜色
    • 优化 SeekBar 各个属性实现,以及显示,包括属性格式化
    • 优化 SeekBar 无需 XML 通过纯 Java 实例化
    • 其他各项属性以及浮动标记优化
    • SeekBar 自适应高度计算

    2.3.1

    • 优化 TouchEffectAnimator 透明度计算方法
    • 优化所有涉及透明度复合的计算方法
    • 修复属性设置颜色中,数量错误设置为'8'的BUG,应是'6'
    • EditText 添加左右对齐设置

    2.3.0

    • 优化 TouchEffectAnimator 点击效果,减少 CPU 消耗,同时优化第一次点击时出现动画未显示的现象。
    • 优化 TextView ,减少不必要的内存消耗
    • 添加 EditText Line Style ,添加底部线条效果
    • 添加 EditText ,状态效果,普通、选中、无法操作
    • 优化 EditText ,不同的效果采用不同的渲染,减少内存消耗
    • 重新设计 Attribute 类,尽可能的分块封装
    • 重新设计 CheckBox、EditText 动画实现,使其更加流畅减少内存消耗
    • 优化并简化 EditText 实现,添加 Title 变色属性
    • Button 添加边框属性
    • 所有控件优化并把属性集中到 Attributes 中,添加后更改应使用 Attribute.notifyAttributeChange()
    • 修复 程序退出后 执行命令行出现 空指针异常 的BUG

    2.2.0

    • 修复动画类中:mAnimation 属性一直为空的BUG
    • 修复按钮动画当控件不可点击时还能触发触摸效果的BUG
    • 按钮增加 g_delayClick 属性,用于是否等待动画完成后触发点击事件
    • 更改 Button 控件中动画宽度高度的计算时机为点击时,减少加载控件时间
    • 修复 CheckBok 控件所计算的高宽大小为0的情况
    • 添加新控件 GeniusEditText
    • GeniusEditText 添加 Hint Title 动画
    • 修复 GeniusEditText 中 Hint 为空时异常BUG
    • 优化 GeniusButton 点击模式动画进入时间
    • 为控件添加可独立设置4个顶点的圆角大小属性
    • 为字体与字体样式添加枚举属性,简化设置操作

    2.1.0

    • 调整触摸动画颜色透明度
    • 按钮动画添加按压驻留特效
    • 按钮动画新增纯按压特效
    • 优化按钮特效Ripple中的半径运算法则
    • 按钮背景可自定义
    • 按钮字体颜色可自定义
    • 按钮触摸颜色可自定义属性:g_touchEffectColor
    • 优化触摸波纹特效,消除锯齿情况
    • 修复动画中传入颜色具有透明度情况下的BUG
    • 优化所有模块,修复可能的BUG情况
    • HashUtils类中更改MD5方法名统一为:getMD5String()

    2.0.0

    • 更名 MaterialUI 类为 GeniusUI
    • 添加 CheckBox 控件
    • CheckBox 控件添加动画效果
    • 更改 Colors 资源,删除原来的颜色资源
    • 优化 GeniusUI 类,重新添加静态颜色属性
    • 更名 MaterialButton 类为 GeniusButton
    • 移动并迁移文件夹 material 到 widget 文件夹
    • 优化 GeniusCheckBox 控件,添加对应属性
    • 更改所有属性名称,重写所有属性名称
    • 优化 GeniusButton 控件中的点击触发条件
    • GeniusCheckBox 控件添加属性 enable 和 check 属性,用于替代默认的属性
    • GeniusCheckBox 控件优化,在编辑器中可直接预览效果;及其他属性优化
    • Genius 颜色卡重新选取颜色,更加真实
    • Genius 中 GeniusCheckBox 修复几个由于 SDK 版本导致的异常错误
    • 更新演示代码中模糊图片(Blur)部分的实现方式
    • 修复 BlurKit 中当模糊半径为1时出现异常的情况
    • 添加新控件 GeniusTextView 到项目
    • 更名 ToolKit 为 UIKit 并重命名其子类
    • 重新设计 GeniusButton ,重新设计动画控制
    • 修复动画控制中的一个BUG
    • 撰写新的说明文档,重新组织文件

    1.0.0

    • 更改模糊图片方法名,以及重新编译JNI
    • Command 添加新参数,可设置单个任务执行超时值
    • 更改 Command 锁控制机制
    • 更改 Command 销毁机制,延迟5秒后销毁
    • 更改 Command 整体优化,进程控制更加严密
    • 更改 Command 添加重启方法,可重启服务绑定
    • 添加 ToolKit 新方法可设置等待主线程执行的时长
    • 添加英文版本说明,同时修正文档格式
    • 添加项目文档注释
    • 删除 SpeedRoad
    • 更新 EclipseImport 文档

    0.9.0

    • 微调 Log 中发送消息方法
    • 删除掉 UiTool
    • 新增 ToolKit 代替 UiTool ,完成同样工作的同时无需传入Activity,传入Runnable类即可
    • 编写 Jni FastBlur 实现模糊效果
    • 编写 BlurKit 类,添加 FastBlur 方法用于模糊图片
    • 修改 util/ToolUtils 类名为 Tools
    • 删除 util/Tools 类中不常用方法:getDeviceId() isAvailablePackage()
    • 更改资源 attrs_materialgenius_attrs
    • 更改资源 colorsgenius_colors
    • 更改 LogWriter 类中锁的释放,解决其在特定情况下出现死锁情况
    • 优化 Log 类回调部分,更改Handle为自定义线程类实现,优化效率
    • 删除 MaterialRectButton,以及删除多余属性文件
    • 完善相关文档,包括 Eclipse 导入方法

    0.7.9

    • Log方法添加直接拷贝日志到外部存储方法
    • 取消Log初始化开启日志存储时的位置指定参数
    • 修改README,更正Log传参错误示例

    0.7.6

    • 修复Material按钮竖直情况下动画BUG.

    0.7.5

    • 更改域名解析传入服务器地址参数为:InetAddress
    • 更改域名解析有服务器情况下超时时间为8秒
    • 删除命令行执行中产生的日志信息
    • MaterialButton 调整速度参数
    • MaterialButton 支持近似正方形情况
    • MaterialButton 添加新属性AutoMove,自动移动

    0.6.8

    • 简化Log设置文件存储的方法调用
    • Log与Command抛出异常语句统一化
    • 修改NetTool中toString方法的Bug
    • 添加FixedList固定队列
    • 添加App相关UiTool与UiModel
    • 修复TraceRoute,Dns解析中解析失败时结果为null时触发异常
    • 调整控件属性样式
    • 添加Material Button控件

    0.1.1

    • 修改GLog方法"addLogCallbackListener()"为:"addCallbackListener()"。
    • 解决GLog回调时出现:"java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()" Bug。
    • 修复因为日志消息传输问题导致的服务调用日志类出现的程序死掉问题。
    • GLog与Command类添加"destroy()"方法用于释放资源。 更改版本号

    0.4.0

    • 方便的日志功能
      • 使用方式与系统日志Log类一样
      • 可设置是否调用系统Log类对应方法
      • 可一键设置日志级别,解决发布的烦恼
      • 可实现将日志写入文件中保存以便查看分析
      • 可实现将日志一键拷贝到外部存储设备中
      • 可设置是否存储文件以及拷贝到外部存储设备
      • 可添加事件监听,方便界面显示日志信息
    • 常用的方法集合
      • 方便的MD5运算,可对字符串与文件进行
      • 线程休眠无需多加try catch模块
      • 获取设备ID标识
      • 获取设备SN标识信息
      • 获取DeviceId标识信息
      • 可判断是否安装指定软件(包名)
    • 常用的属性集合
      • 全局的AppContext属性设置与获取
    • 强大的命令行系统
      • 使用独立服务进程控制进程创建销毁
      • 智能的进程管理服务
      • 超高的并发效率,不用担心缓冲区是否满的问题
      • 简单化的操作,与ProcessBuilder类操作类似
      • 智能的监听与自杀方式,保证进程不阻塞
      • 子进程创建失败后自动重新调用执行,默认10次
      • 保证语句正常执行不疏漏
      • 一键化的启动命令行与取消操作
      • 可同步与异步方式执行,异步完成通知
    • 傻瓜化的'NetTool'包
      • 一键Ping操作,无需命令行,无需Root
      • 一键DNS域名解析,可指定解析服务器
      • 一键TelNet功能,对指定IP Port测试
      • 一键Tracert测试,能记录每一跳丢包与延时值
      • 一键的测速工具,对指定文件下载测试
      • 全部以类的方式调用,不用关心细节问题
      • 能对任务执行取消操作
      • 高并发的路由测试,能在40s左右测试完成

    0.1.0

    • 方便的日志功能
      • 使用方式与系统日志Log类一样
      • 可设置是否调用系统Log类对应方法
      • 可一键设置日志级别,如果不想显示设置一下就ok
      • 可实现将日志写入文件中保存以便查看分析
      • 可实现将日志一键拷贝到外部存储设备中
      • 可设置是否存储文件以及拷贝到外部存储设备
      • 可添加事件监听,在有日志到来时直接回调到界面中显示
    • 常用的方法集合
    • 常用的属性集合
    • 强大的命令行调用系统
      • 使用独立服务进程控制子进程创建销毁
      • 智能的进程管理服务
      • 超高的并发效率
      • 简单化的操作,已ProcessBuilder类操作类似
      • 智能的监听与自杀方式,保证进程不阻塞
      • 子进程创建失败后自动重新调用执行
      • 保证语句正常执行不疏漏
    Source code(tar.gz)
    Source code(zip)
Owner
Qiujuer
书山有路勤为径,学海无涯苦作舟!
Qiujuer
A tool to install components of the Android SDK into a Maven repository or repository manager to use with the Android Maven Plugin, Gradle and other tools.

Maven Android SDK Deployer Original author including numerous fixes and changes: Manfred Moser [email protected] at simpligility technologies i

simpligility 1.4k Dec 27, 2022
A tool to install components of the Android SDK into a Maven repository or repository manager to use with the Android Maven Plugin, Gradle and other tools.

Maven Android SDK Deployer Original author including numerous fixes and changes: Manfred Moser [email protected] at simpligility technologies i

simpligility 1.4k Dec 27, 2022
A simple utility to remove unused resources in your Android app to lower the size of the APK. It's based on the Android lint tool output.

android-resource-remover android-resource-remover is utility that removes unused resources reported by Android Lint from your project. The goal is to

Keepsafe 1.3k Dec 16, 2022
A super fast build tool for Android, an alternative to Instant Run

Freeline Freeline is a super fast build tool for Android and an alternative to Instant Run. Caching reusable class files and resource indices, it enab

Alibaba 5.5k Jan 2, 2023
Command-line tool to count per-package methods in Android .dex files

dex-method-counts Simple tool to output per-package method counts in an Android DEX executable grouped by package, to aid in getting under the 65,536

Mihai Parparita 2.6k Nov 25, 2022
Android Merge Tool

AMT The Android Merge Tool (AMT) does what the name suggests: it merges arbitrary Android apps into a single merged app. As input it takes a number of

FoelliX 23 Nov 8, 2022
A command line tool that helps bulk manage resources in an Android project

Resource Mover ResourceMover is a command line tool that helps bulk manage resources in an Android project. Installation Clone project Build CLI jar u

Shopify 4 Dec 24, 2021
Android Studio's Vector Drawable conversion tool in convenient packaging.

Vector Drawable Tool This repository is simply a repackaging of the vector drawable tool from the Android Studio source code. The included Gradle file

Ryan Harter 55 Sep 26, 2022
Localization tool for Android Studio Projects

Android Strings Resource Language Diff tool In the event any additional languages are intended to be supported by your app. You can use this strings-d

Braxton Nunnally 1 Mar 24, 2022
A surgical debugging tool to uncover the layers under your app.

Scalpel DEPRECATED! Android Studio 4.0's layout inspector now includes a live-updating 3D view. Use it! A surgical debugging tool to uncover the layer

Jake Wharton 2.8k Jan 3, 2023
Tool for create complex morphing animations using VectorDrawables (allows morphing between any pair of SVG images)

VectAlign VectAlign (a.k.a. VectorDrawableAlign) is a developer's tool which automagically aligns two VectorDrawable "pathData" strings (or SVG images

Stefano Bonetta 2k Dec 29, 2022
GPS tracking tool for OpenStreetMap

OSMTracker for Android™ official source code repository is https://github.com/labexp/osmtracker-android. For more information about the project, docum

Laboratorio Experimental (ITCR @ SIUA) 455 Dec 25, 2022
GPS tracking tool for OpenStreetMap

OSMTracker for Android™ official source code repository is https://github.com/labexp/osmtracker-android. For more information about the project, docum

Laboratorio Experimental (ITCR @ SIUA) 455 Dec 25, 2022
Custom content tool for The Ponies.

PoneCrafter A sneak preview of the custom content tool for The Ponies. The Ponies is a work in progress life simulator game. The game itself has not b

The Ponies 8 Feb 13, 2022
Tool to assist in tuning simos ECUs.

Simos Tools Makes use of the Macchina-A0 BLEISOTP bridge firmware originally developed by bri3d to log Simo ECUs: https://github.com/Switchleg1/esp32-

null 17 Nov 23, 2022
Tool to archive Progressbar95

ProgressArchiver95 Tool to archive Progressbar95 How to use Simply select the APKs you want to archive and click the Archive button. A list of ABIs an

null 7 Jul 21, 2022
A tool to activate FinalShell

A tool to activate FinalShell

null 5 Dec 3, 2022