GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - wujingchao/SimpleTagImageView: ImageView with a tag on android

BranchesTags
Open more actions menu

Latest commit

 

History

39 Commits
39 Commits

Folders and files

NameName
Last commit message
Last commit date
demo
demo
 
 
gradle/wrapper
gradle/wrapper
 
 
simple-tag-imageview
simple-tag-imageview
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
demo.jpg
demo.jpg
 
 
demo2.gif
demo2.gif
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

SimpleTagImageView

ImageView with a tag in android. So it's a ImageView.

Demo

Screenshot

####Warning:When you set the round radius,the simpletagimageview scale type just support fitXY now!

Screenshot


##Usage

<net.wujingchao.android.view.SimpleTagImageView
        xmlns:simple="http://schemas.android.com/apk/res-auto"
        android:id="@+id/stiv"
        android:layout_margin="18dip"
        android:layout_width="256dip"
        android:layout_height="192dip"
        android:src="@drawable/qwer"
        simple:simple_tag_textSize="18sp"
        simple:simple_corner_distance="30dp"
        simple:simple_tag_text="AB"
        simple:simple_tag_background_color="#af27CDC0"
        simple:simple_tag_orientation="left_bottom"
        simple:simple_tag_width="20dip"
        simple:simple_tag_textColor="@android:color/white"
        simple:simple_tag_enable="true"
        simple:simple_tag_round_radius="20dp"/>

Quick Start

####Gradle

compile 'net.wujingchao.android.view:simple-tag-imageview:1.0.1'

####Maven

<!-- you should configure jcenter repository-->
<dependency>
	<groupId>net.wujingchao.android.view</groupId>
	<artifactId>simple-tag-imageview</artifactId>
	<version>1.0.1</version>
	<type>aar</type>
</dependency> 

##Developed By

  • wujingchao - [email protected]

License

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.

About

ImageView with a tag on android

Resources

Readme
Activity

Stars

923 stars

Watchers

38 watching

Forks

197 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.