# Hitarea
**Repository Path**: mirrors_ashqal/Hitarea
## Basic Information
- **Project Name**: Hitarea
- **Description**: Designates another view to serve as the hit area for a view in android layout file.
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-08-08
- **Last Updated**: 2026-01-17
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Hitarea
Designates another view to serve as the hit area for a view in android layout file.
[](https://jitpack.io/#ashqal/Hitarea)
## Demo Preview

## Download
```java
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
```
```java
dependencies {
compile 'com.github.ashqal:Hitarea:1.0.0'
}
```
## Usage
### Hitarea
set `app:hit_targetId` attribute in `com.asha.Hitarea` to serve as the hit area for a view.
```java
```
### HitareaWrapper
`com.asha.HitareaWrapper` is a subclass of `RelativeLayout`, and it will be regard as hit area for a child view which set tag=`@string/tag_hitarea`.
```java
```
### Debug Mode
set attribute `app:hit_debug=false` in `com.asha.Hitarea` or `com.asha.HitareaWrapper`, and the hit area will be transparent.
##LICENSE
```
Copyright 2015 Asha
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.
```